* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f6faef;
  color: #183b1f;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 250, 239, 0.96);
  border-bottom: 1px solid #d8e8c7;
}

.header__inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  color: #234b27;
}

.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 700;
}

.nav a:hover {
  color: #5d9f2f;
}

.btn {
  display: inline-block;
  background: #5d9f2f;
  color: #fff;
  padding: 13px 24px;
  border-radius: 8px;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  background: #477d23;
}

.btn--outline {
  background: transparent;
  color: #4c822b;
  border: 2px solid #5d9f2f;
}

.btn--outline:hover {
  background: #5d9f2f;
  color: #fff;
}

.burger {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  color: #234b27;
}

/* HERO */

.hero {
  padding: 60px 0;
}

.hero__card {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 650px;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(90deg,
      #f9fff2 0%,
      #f9fff2 45%,
      #e7f4d6 100%);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.hero__content {
  padding: 70px 60px;
  position: relative;
  z-index: 3;
}

.hero__content h1 {
  font-size: 48px;
  line-height: 1.1;
  margin-bottom: 25px;
  color: #1d431f;
}

.hero__content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #315735;
}

.hero__buttons {
  display: flex;
  gap: 15px;
  margin-bottom: 40px;
}

.hero__image {
  position: relative;
  min-height: 650px;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 100%;
  min-height: 650px;
  object-fit: cover;
}

.hero__image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      #f9fff2 0%,
      rgba(249, 255, 242, 0.9) 12%,
      rgba(249, 255, 242, 0.45) 30%,
      rgba(249, 255, 242, 0) 58%);
  z-index: 2;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(185, 217, 139, 0.12);
  z-index: 1;
}

/* ADVANTAGES */

.advantages {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.advantage {
  background: rgba(255, 255, 255, 0.75);
  padding: 18px;
  border-radius: 16px;
}

.advantage__icon {
  width: 44px;
  height: 44px;
  background: #eef7e4;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
}

.advantage__icon img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.advantage h4 {
  font-size: 15px;
  line-height: 1.25;
}

/* SECTIONS */

.section {
  padding: 70px 0;
}

.section__title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 45px;
  color: #1d431f;
}

/* SERVICES */

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card,
.employee-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(71, 100, 45, 0.12);
}

.service-card img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.service-card strong {
  display: block;
  margin-top: 14px;
  color: #5d9f2f;
}

/* ABOUT */

.about {
  background: #fff;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
}

.about img {
  border-radius: 22px;
}

.about h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.about p {
  margin-bottom: 15px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 30px;
}

.stats div {
  background: #eef7e4;
  border-radius: 16px;
  padding: 18px;
  text-align: center;
}

.stats strong {
  display: block;
  color: #5d9f2f;
  font-size: 28px;
}

.stats span {
  font-size: 14px;
}

/* PRICES + DOCUMENTS */

.price-list,
.documents__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.price-list div,
.documents__grid div {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  font-weight: 600;
  box-shadow: 0 8px 25px rgba(71, 100, 45, 0.1);
}

.price-list b {
  display: block;
  margin-top: 10px;
  color: #5d9f2f;
}

/* EMPLOYEES */

.employees {
  background: #fff;
}

.employees__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.employee-card {
  padding: 30px;
  text-align: center;
}

.employee-card h3 {
  margin-bottom: 10px;
}

/* DOCUMENTS */

.documents {
  background: #eef7e4;
  margin-bottom: 80px;
}

/* CONTACTS */

.contacts {
  background: #fff;
}

.contacts__box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  background: #e3f1d5;
  border-radius: 24px;
  padding: 40px;
}

.contacts h3 {
  font-size: 28px;
  margin-bottom: 20px;
}

.contacts p {
  margin-bottom: 12px;
}

.map {
  min-height: 260px;
  background: #cfe5bd;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52763f;
  font-weight: 700;
}

/* FOOTER */

.footer {
  background: #1f3f23;
  color: #fff;
  text-align: center;
  padding: 35px;
}

/* MOBILE */

@media (max-width: 900px) {
  .header__btn {
    display: none;
  }

  .burger {
    display: block;
  }

  .nav {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    background: #f6faef;
    flex-direction: column;
    padding: 25px;
    display: none;
  }

  .nav.active {
    display: flex;
  }

  .hero__card,
  .about__grid,
  .contacts__box {
    grid-template-columns: 1fr;
  }

  .services,
  .employees__grid,
  .price-list,
  .documents__grid,
  .stats,
  .advantages {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding: 40px 25px;
  }

  .hero__content h1 {
    font-size: 34px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__image,
  .hero__image img {
    min-height: 420px;
  }
}

.prices {
  background: #f6faef;
}

.price-group {
  margin-bottom: 60px;
}

.price-group__title {
  font-size: 30px;
  color: #1d431f;
  margin-bottom: 28px;
  text-align: center;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.price-card {
  background: #fff;
  padding: 28px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(71, 100, 45, 0.1);
}


  .price-card h4 {
    margin: 0;
    padding: 26px 32px 18px;
    color: #183b1f;
    background: transparent;
    font-size: 24px;
    line-height: 1.25;
} 

.price-card p {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #e4efd9;
  padding: 10px 0;
}

.price-card p:last-child {
  border-bottom: none;
}

.price-card b {
  color: #5d9f2f;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: 1fr;
  }

  .price-card p {
    flex-direction: column;
    gap: 4px;
  }
}

.license-card {
  max-width: 800px;
  margin: 0 auto;

  background: white;
  padding: 40px;

  border-radius: 20px;

  text-align: center;

  box-shadow: 0 8px 25px rgba(71, 100, 45, 0.1);
}

.license-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #1d431f;
}

.license-card p {
  margin-bottom: 25px;
  color: #4c5f4d;
}

.age-label {
  display: inline-block;
  background: #e7f4d6;
  color: #3d6d20;

  padding: 8px 16px;
  border-radius: 999px;

  font-weight: 700;
  font-size: 14px;

  margin: 15px 0;
}

.vk-link {
  color: #67a63d;
  font-weight: 700;
  transition: 0.3s;
}

.vk-link:hover {
  color: #4d8428;
  text-decoration: underline;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: 90%;
  max-width: 500px;
  background: white;
  border-radius: 22px;
  padding: 35px;
  position: relative;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  border: none;
  background: transparent;
  font-size: 34px;
  cursor: pointer;
}

.modal.active {
  display: flex;
}

.modal-content {
  width: 90%;
  max-width: 500px;

  background: white;

  border-radius: 22px;
  padding: 35px;

  position: relative;

  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;

  border: none;
  background: transparent;

  font-size: 34px;
  cursor: pointer;

  color: #1d431f;
}

.modal-subtitle {
  margin-top: 8px;
  margin-bottom: 22px;
  color: #4c5f4d;
  font-size: 15px;
}

.appointment-form label {
  display: flex;
  flex-direction: column;
  gap: 7px;

  font-weight: 700;
  color: #234b27;
}

.appointment-form input,
.appointment-form textarea,
.appointment-form select {
  font-family: inherit;

  width: 100%;

  padding: 14px 15px;

  border: 1px solid #d5e5c3;
  border-radius: 12px;

  font-size: 15px;

  background: #fff;
  color: #183b1f;

  outline: none;
  transition: 0.2s;
}

.appointment-form input:focus,
.appointment-form textarea:focus,
.appointment-form select:focus {
  border-color: #5d9f2f;
  box-shadow: 0 0 0 3px rgba(93, 159, 47, 0.12);
}

.appointment-form textarea {
  min-height: 95px;
  resize: vertical;
}

.form-btn {
  width: 100%;
  margin-top: 5px;
}

.form-note {
  font-size: 12px;
  color: #6b7a65;
  text-align: center;
  line-height: 1.4;
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .container {
    width: 94%;
  }

  .header__inner {
    min-height: 70px;
    height: auto;
  }

  .logo {
    font-size: 11px;
  }

  .nav,
  .header__btn {
    display: none;
  }

  .burger {
    display: block;
    font-size: 26px;
  }

  .hero {
    padding: 22px 0 35px;
  }

  .hero__card {
    display: flex;
    flex-direction: column;
    min-height: auto;
    border-radius: 20px;
  }

  .hero__content {
    padding: 28px 18px 22px;
  }

  .hero__content h1 {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 18px;
  }

  .hero__content p {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 22px;
  }

  .hero__buttons {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero__buttons .btn {
    width: 100%;
    text-align: center;
  }

  .advantages {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .advantage {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
  }

  .advantage__icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .hero__image {
    min-height: auto;
  }

  .hero__image img {
    min-height: 260px;
    height: 260px;
    object-fit: cover;
    object-position: center;
  }

  .hero__image::before {
    background: linear-gradient(180deg,
        #f9fff2 0%,
        rgba(249, 255, 242, 0.5) 25%,
        rgba(249, 255, 242, 0) 55%);
  }

  .section {
    padding: 45px 0;
  }

  .section__title {
    font-size: 28px;
    margin-bottom: 28px;
  }

  .about__grid,
  .services,
  .price-grid,
  .contacts__box,
  .license-images,
  .stats {
    grid-template-columns: 1fr;
  }

  .services {
    gap: 18px;
  }

  .service-card img {
    height: 210px;
  }

  .service-card div {
    padding: 20px;
  }

  .service-card h3 {
    font-size: 22px;
  }

  .price-group__title {
    font-size: 25px;
  }

  .price-card {
    padding: 22px;
  }

  .price-card p {
    flex-direction: column;
    gap: 4px;
  }

  .contacts__box {
    padding: 24px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons .btn {
    width: 100%;
  }

  .map,
  .map iframe {
    min-height: 300px;
  }

  .modal-content {
    width: 92%;
    padding: 28px 20px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 90%;
    max-width: 390px;
  }

  .contacts__box {
    display: flex;
    flex-direction: column;
    padding: 22px;
    gap: 22px;
  }

  .contacts__box>div {
    width: 100%;
  }

  .map {
    width: 100%;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
  }

  .map iframe {
    width: 100%;
    height: 280px;
    min-height: 280px;
    display: block;
  }

  .footer {
    padding: 28px 18px;
    font-size: 13px;
  }
}

.mobile-record-btn {
  display: none;
}

@media (max-width: 768px) {
  .mobile-record-btn {
    display: block;

    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;

    z-index: 9999;

    background: #5d9f2f;
    color: #fff;

    text-align: center;
    padding: 15px;

    border-radius: 14px;

    font-weight: 700;
    font-size: 16px;

    box-shadow: 0 8px 25px rgba(71, 100, 45, 0.35);
  }
}

.docs-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.license-card {
  max-width: 800px;
  margin: 0 auto 100px;

  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(71, 100, 45, 0.1);
}

.price-card h4 {
  position: relative;
  font-size: 30px;
  font-weight: 800;
  color: #1d431f;
  margin-bottom: 30px;
}

.price-card h4::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: #5d9f2f;
  border-radius: 10px;
  margin-top: 8px;
}

.service-link {
  display: block;
  color: inherit;
}

.service-card {
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(71, 100, 45, 0.18);
}

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-link {
  display: block;
  height: 100%;
}

.service-link .service-card {
  height: 100%;
}

#rehab,
#massage,
#lfk,
#physio {
  scroll-margin-top: 140px;
}

@media (max-width: 768px) {
  .services {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .service-link {
    width: 100%;
  }

  .service-card {
    width: 100%;
  }

  .service-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
  }
}

#about {
  margin-top: 80px;
}

.schedule-chat {
  background: #f6faef;
}

.schedule-chat__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
}

.info-card {
  background: #fff;
  padding: 36px;
  border-radius: 24px;
  box-shadow: 0 8px 25px rgba(71, 100, 45, 0.1);
}

.info-card h3 {
  font-size: 26px;
  margin-bottom: 24px;
  color: #1d431f;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid #e4efd9;
}

.schedule-row b {
  color: #5d9f2f;
  white-space: nowrap;
}

.info-card .btn {
  margin-top: 24px;
}

.info-card--green {
  background: #e3f1d5;
}

.info-card--green p {
  margin-bottom: 25px;
}

.btn--light {
  background: #fff;
  color: #3d6d20;
}

.btn--light:hover {
  background: #5d9f2f;
  color: #fff;
}

@media (max-width: 768px) {
  .schedule-chat__grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    padding: 26px 20px;
  }

  .schedule-row {
    flex-direction: column;
    gap: 4px;
  }

  .schedule-row b {
    white-space: normal;
  }
}

.schedule-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.schedule-buttons .btn {
  flex: 1;
  text-align: center;
}

@media (max-width: 768px) {
  .schedule-buttons {
    flex-direction: column;
  }
}

/* ===== COMPACT REDESIGN v2 ===== */
body {
  background: #f6faef;
  color: #183b1f;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  line-height: 1.05;
  color: #234b27;
  min-width: 210px
}

.brand__mark {
  width: 38px;
  height: 38px;
  border: 1.5px solid #5d9f2f;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #5d9f2f;
  font-size: 20px;
  flex: 0 0 auto
}

.brand__text {
  font-size: 11px;
  letter-spacing: .02em
}

.brand__text b {
  font-size: 13px
}

.eyebrow {
  display: inline-block;
  color: #5d9f2f;
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px
}

.hero--compact {
  padding: 34px 0 20px
}

.hero--compact .hero__card {
  min-height: 510px;
  grid-template-columns: 48% 52%;
  border-radius: 22px
}

.hero--compact .hero__content {
  padding: 58px 48px
}

.hero--compact .hero__content h1 {
  font-size: 44px
}

.hero--compact .hero__image,
.hero--compact .hero__image img {
  min-height: 510px
}

.trust-strip {
  padding: 0 0 26px
}

.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px
}

.trust-strip__grid>div {
  display: flex;
  align-items: center;
  gap: 11px;
  background: #fff;
  border-radius: 14px;
  padding: 14px 16px;
  box-shadow: 0 5px 18px rgba(71, 100, 45, .06);
  font-size: 13px
}

.trust-strip span {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef7e4;
  color: #5d9f2f
}

.compact-section {
  padding: 48px 0
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px
}

.section-heading h2 {
  font-size: 34px
}

.section-heading a,
.text-link {
  color: #4c822b;
  font-weight: 700
}

.services--compact {
  gap: 18px
}

.services--compact .service-card {
  height: 100%;
  box-shadow: 0 6px 18px rgba(71, 100, 45, .08)
}

.services--compact .service-card img {
  height: 150px
}

.services--compact .service-card div {
  padding: 17px;
  position: relative;
  min-height: 170px
}

.services--compact .service-card h3 {
  font-size: 19px;
  margin-bottom: 7px
}

.services--compact .service-card p {
  font-size: 13px;
  color: #4c5f4d;
  line-height: 1.45;
  padding-right: 26px
}

.services--compact .service-card strong {
  display: none
}

.round-arrow {
  position: absolute;
  left: 17px;
  bottom: 16px;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #5d9f2f;
  color: #fff
}

.child-feature {
  padding: 20px 0 30px
}

.child-feature__card {
  display: grid;
  grid-template-columns: 47% 53%;
  overflow: hidden;
  border-radius: 20px;
  background: linear-gradient(100deg, #f1f7e8, #e3efd5);
  box-shadow: 0 8px 25px rgba(71, 100, 45, .08)
}

.child-feature__image {
  min-height: 300px
}

.child-feature__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%
}

.child-feature__content {
  padding: 42px 46px;
  align-self: center
}

.child-feature__content h2 {
  font-size: 34px;
  margin-bottom: 12px
}

.child-feature__content p {
  color: #38553c;
  margin-bottom: 22px
}

.child-feature__content .hero__buttons {
  margin-bottom: 0
}

.about--compact {
  padding: 56px 0;
  background: #fff
}

.about--compact .about__grid {
  gap: 38px
}

.about--compact .about__grid>img {
  height: 380px;
  width: 100%;
  object-fit: cover
}

.about--compact h2 {
  font-size: 34px
}

.about--compact p {
  color: #4c5f4d;
  max-width: 590px
}

.stats--compact {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 24px
}

.stats--compact div {
  padding: 13px
}

.stats--compact strong {
  font-size: 23px
}

.quick-links {
  padding: 44px 0
}

.quick-links__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.quick-card {
  background: #fff;
  border: 1px solid #e1ead8;
  border-radius: 18px;
  padding: 24px;
  min-height: 215px;
  display: flex;
  flex-direction: column;
  transition: .2s;
  box-shadow: 0 5px 18px rgba(71, 100, 45, .06)
}

.quick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(71, 100, 45, .1)
}

.quick-card__icon {
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eef7e4;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: #4c822b
}

.quick-card h3 {
  font-size: 20px;
  line-height: 1.25;
  margin-bottom: 10px
}

.quick-card p {
  font-size: 14px;
  color: #5c6e5e;
  flex: 1
}

.quick-card b {
  color: #4c822b;
  margin-top: 16px;
  font-size: 14px
}

.cta-band {
  padding: 0 0 45px
}

.cta-band__inner {
  background: linear-gradient(100deg, #5d9f2f, #367127);
  border-radius: 20px;
  padding: 30px 36px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px
}

.cta-band h2 {
  font-size: 26px
}

.cta-band p {
  opacity: .9
}

.cta-band__actions {
  display: flex;
  align-items: center;
  gap: 22px
}

.cta-phone {
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap
}

.btn--light {
  background: #fff;
  color: #397629
}

.btn--light:hover {
  background: #eef7e4;
  color: #234b27
}

.contacts {
  padding: 52px 0;
  background: #fff
}

.contacts .section__title {
  text-align: left;
  margin-bottom: 25px;
  font-size: 34px
}

.contacts__box {
  padding: 28px;
  border-radius: 18px
}

.map iframe {
  max-width: 100%
}

.footer--rich {
  text-align: left;
  padding: 42px 0 18px
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 36px
}

.footer--rich h4 {
  margin-bottom: 12px
}

.footer--rich a {
  display: block;
  color: #dce9d8;
  font-size: 13px;
  margin: 7px 0
}

.footer__brand p {
  max-width: 330px;
  color: #dce9d8;
  font-size: 13px;
  margin-top: 16px
}

.brand--footer {
  color: #fff
}

.brand--footer .brand__mark {
  border-color: #cfe7c2;
  color: #cfe7c2
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .15);
  margin-top: 30px;
  padding-top: 16px;
  font-size: 12px;
  color: #c8d8c6
}

.page-hero {
  padding: 72px 0 42px;
  background: linear-gradient(100deg, #f9fff2, #e7f4d6)
}

.page-hero h1,
.subhero h1 {
  font-size: 46px;
  line-height: 1.08;
  margin-bottom: 14px
}

.page-hero p {
  font-size: 17px;
  color: #4c5f4d
}

.page-section {
  padding-top: 48px
}

.page-section .section__title {
  margin-bottom: 30px
}

.doc-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.doc-info-card,
.doc-nav-card,
.patient-card {
  background: #fff;
  border: 1px solid #e1ead8;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 6px 18px rgba(71, 100, 45, .06)
}

.doc-info-card h2 {
  font-size: 24px;
  margin-bottom: 16px
}

.doc-info-card p {
  margin: 8px 0
}

.doc-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap
}

.doc-nav-card h3,
.patient-card h3 {
  font-size: 20px;
  margin-bottom: 8px
}

.doc-nav-card p,
.patient-card p {
  color: #5c6e5e
}

.doc-nav-card b {
  display: block;
  color: #4c822b;
  margin-top: 15px
}

.patient-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px
}

.patient-card--disabled {
  opacity: .75
}

.schedule-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

.schedule-page .info-card {
  background: #fff
}

.schedule-page__chat {
  grid-column: 1/-1
}

.subhero {
  padding: 50px 0
}

.subhero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 30px;
  background: #fff;
  border-radius: 22px;
  overflow: hidden
}

.subhero__grid>div {
  padding: 52px
}

.subhero__grid img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover
}

.subhero p {
  margin-bottom: 24px;
  color: #4c5f4d
}

.two-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px
}

@media(max-width:900px) {
  .brand {
    min-width: 0
  }

  .brand__text {
    display: none
  }

  .trust-strip__grid,
  .quick-links__grid,
  .footer__grid,
  .patient-cards {
    grid-template-columns: 1fr 1fr
  }

  .services--compact {
    grid-template-columns: 1fr 1fr
  }

  .child-feature__card,
  .doc-page-grid,
  .schedule-page,
  .subhero__grid,
  .two-cards {
    grid-template-columns: 1fr
  }

  .schedule-page__chat {
    grid-column: auto
  }

  .child-feature__image {
    min-height: 280px
  }

  .footer__brand {
    grid-column: 1/-1
  }
}

@media(max-width:768px) {
  .hero--compact .hero__card {
    display: flex;
    min-height: 0
  }

  .hero--compact .hero__content {
    padding: 30px 20px
  }

  .hero--compact .hero__content h1 {
    font-size: 31px
  }

  .hero--compact .hero__image,
  .hero--compact .hero__image img {
    min-height: 250px;
    height: 250px
  }

  .trust-strip__grid,
  .services--compact,
  .quick-links__grid,
  .footer__grid,
  .patient-cards {
    grid-template-columns: 1fr
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column
  }

  .section-heading h2 {
    font-size: 28px
  }

  .child-feature__content {
    padding: 28px 20px
  }

  .child-feature__content h2 {
    font-size: 29px
  }

  .about--compact .about__grid>img {
    height: 300px
  }

  .stats--compact {
    grid-template-columns: repeat(3, 1fr)
  }

  .stats--compact span {
    font-size: 11px
  }

  .cta-band__inner,
  .cta-band__actions {
    flex-direction: column;
    align-items: flex-start
  }

  .contacts .section__title {
    font-size: 28px
  }

  .page-hero {
    padding: 45px 0 30px
  }

  .page-hero h1,
  .subhero h1 {
    font-size: 34px
  }

  .subhero__grid>div {
    padding: 30px 20px
  }

  .subhero__grid img {
    min-height: 300px
  }

  .footer__brand {
    grid-column: auto
  }
}

/* Final structure update */
.brand__logo {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 46px
}

.brand {
  gap: 11px
}

.header__inner {
  gap: 22px
}

.nav {
  gap: 26px
}

.nav a {
  white-space: nowrap
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px
}

.hero-facts>div {
  border-top: 1px solid rgba(93, 159, 47, .28);
  padding-top: 15px
}

.hero-facts b,
.hero-facts span {
  display: block
}

.hero-facts b {
  font-size: 16px;
  color: #183b1f
}

.hero-facts span {
  font-size: 13px;
  margin-top: 5px;
  color: #55705a
}

.services--five {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px
}

.services--five .service-link {
  grid-column: span 2
}

.services--five .service-link:nth-child(4) {
  grid-column: 2/span 2
}

.services--five .service-link:nth-child(5) {
  grid-column: 4/span 2
}

.services--five .service-card {
  height: 100%;
  min-height: 410px
}

.services--five .service-card h3 {
  font-size: 24px
}

.services--five .service-card p {
  font-size: 16px;
  line-height: 1.55
}

.pill-arrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #5d9f2f;
  color: #fff;
  padding: 9px 18px;
  font-weight: 700;
  margin-top: auto
}

.about-teaser {
  padding: 20px 0 58px
}

.about-teaser__inner {
  background: #eaf4df;
  border-radius: 24px;
  padding: 34px 42px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px
}

.about-teaser h2 {
  font-size: 34px;
  margin: 8px 0 10px
}

.about-teaser p {
  max-width: 760px;
  line-height: 1.65;
  margin: 0
}

.about-teaser .text-link {
  white-space: nowrap
}

.about-page-intro {
  display: grid;
  grid-template-columns: minmax(300px, 520px) 1fr;
  gap: 54px;
  align-items: center
}

.about-page-intro img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 26px
}

.about-page-intro h2 {
  font-size: 38px
}

.about-page-intro p {
  font-size: 18px;
  line-height: 1.7
}

.gallery-section {
  background: #f6faef
}

.section-lead {
  margin-top: -12px;
  margin-bottom: 28px
}

.center-gallery {
  display: grid;
  grid-template-columns: 1.3fr .7fr .7fr;
  grid-template-rows: 240px 240px;
  gap: 16px
}

.center-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px
}

.center-gallery img:first-child {
  grid-row: 1/3
}

.center-gallery img:nth-child(4) {
  grid-column: 2/4
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px
}

.reviews-grid article {
  background: #fff;
  border: 1px solid #dcebd1;
  border-radius: 22px;
  padding: 28px;
  min-height: 180px
}

.reviews-grid p {
  line-height: 1.6
}

.service-detail-list {
  display: grid;
  gap: 24px
}

.service-detail-list article {
  display: grid;
  grid-template-columns: 340px 1fr;
  background: #fff;
  border: 1px solid #dcebd1;
  border-radius: 24px;
  overflow: hidden
}

.service-detail-list img {
  width: 100%;
  height: 250px;
  object-fit: cover
}

.service-detail-list article>div {
  padding: 34px
}

.service-detail-list h2 {
  margin-top: 0
}

.patient-cards--three {
  grid-template-columns: repeat(3, 1fr)
}

/* lighter price cards */
.price-grid {
  gap: 18px
}

.price-card {
  box-shadow: none !important;
  border: 1px solid #dcebd1 !important;
  border-radius: 18px !important;
  padding: 26px 28px !important;
  background: rgba(255, 255, 255, .9) !important
}

.price-card h4 {
  font-size: 25px !important;
  margin-bottom: 20px !important
}

.price-card p {
  padding: 12px 0;
  margin: 0 !important;
  border-top: 1px solid #edf3e8;
  line-height: 1.55
}

.price-card p:first-of-type {
  border-top: 0
}

.price-card p b {
  float: right;
  color: #4f9828;
  margin-left: 18px;
  white-space: nowrap
}

.price-group__title {
  text-align: left !important;
  margin-bottom: 22px !important
}

@media(max-width:980px) {
  .nav {
    gap: 15px
  }

  .brand__logo {
    width: 40px;
    height: 40px
  }

  .services--five {
    grid-template-columns: repeat(2, 1fr)
  }

  .services--five .service-link,
  .services--five .service-link:nth-child(4),
  .services--five .service-link:nth-child(5) {
    grid-column: auto
  }

  .services--five .service-link:last-child {
    grid-column: 1/-1;
    max-width: 50%;
    justify-self: center
  }

  .hero-facts {
    grid-template-columns: 1fr
  }

  .about-page-intro {
    grid-template-columns: 1fr
  }

  .reviews-grid {
    grid-template-columns: 1fr
  }

  .patient-cards--three {
    grid-template-columns: 1fr
  }

  .service-detail-list article {
    grid-template-columns: 1fr
  }

  .center-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto
  }

  .center-gallery img:first-child,
  .center-gallery img:nth-child(4) {
    grid-row: auto;
    grid-column: auto
  }

  .center-gallery img {
    height: 220px
  }
}

@media(max-width:680px) {
  .services--five {
    grid-template-columns: 1fr
  }

  .services--five .service-link:last-child {
    grid-column: auto;
    max-width: none
  }

  .about-teaser__inner {
    padding: 28px;
    display: block
  }

  .about-teaser .text-link {
    display: inline-block;
    margin-top: 20px
  }

  .hero-facts {
    margin-top: 24px
  }

  .center-gallery {
    grid-template-columns: 1fr
  }

  .service-detail-list img {
    height: 210px
  }

  .price-card p b {
    float: none;
    display: block;
    margin: 5px 0 0
  }

  .brand__logo {
    width: 36px;
    height: 36px;
    flex-basis: 36px
  }
}

/* FINAL STRUCTURE — September 2026 */
.services-teaser {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  background: #fff;
  border: 1px solid #dcebd1;
  border-radius: 26px;
  padding: 38px 42px;
  box-shadow: 0 8px 24px rgba(71, 100, 45, .06)
}

.services-teaser h2 {
  font-size: 38px;
  line-height: 1.1;
  margin: 5px 0 12px
}

.services-teaser p {
  max-width: 720px;
  font-size: 17px;
  color: #4c5f4d
}

.services-mini-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px
}

.services-mini-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: #edf6e3;
  border-radius: 16px;
  padding: 18px 20px;
  font-weight: 800
}

.services-mini-grid span {
  color: #5d9f2f;
  font-size: 20px
}

/* About-page statistics in the same soft-card style as the former About block */
.about-page-intro>div:after {
  content: "25+ лет работы   •   4 направления   •   10+ методик";
  display: block;
  margin-top: 26px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #edf6e3;
  color: #397724;
  font-weight: 800;
  word-spacing: 5px
}

/* More expressive, easier-to-scan price cards */
.price-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 22px !important
}

.price-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px !important;
  padding: 0 30px 24px !important;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(71, 100, 45, .08) !important
}

.price-card:before {
  content: "";
  display: block;
  height: 8px;
  margin: 0 -30px 24px;
  background: linear-gradient(90deg, #5d9f2f, #b8dc78)
}

.price-card h4 {
  font-size: 28px !important;
  line-height: 1.15;
  margin: 0 0 18px !important;
  color: #183b1f
}

.price-card h4::after {
  display: none !important
}

.price-card p {
  font-size: 17px !important;
  line-height: 1.55 !important;
  padding: 15px 0 !important;
  border-top: 1px solid #e6efdf !important;
  color: #315735
}

.price-card p:first-of-type {
  border-top: 0 !important
}

.price-card p b {
  font-size: 19px;
  color: #4d9428;
  font-weight: 800
}

.price-group__title {
  font-size: 32px !important;
  margin-top: 10px !important;
  margin-bottom: 24px !important
}

.age-label {
  display: inline-block;
  background: #edf6e3;
  color: #397724;
  border-radius: 999px;
  padding: 7px 12px;
  margin: 12px 0 3px;
  font-weight: 800
}

.kindergarten-info {
  max-width: 850px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid #dcebd1;
  border-radius: 24px;
  padding: 36px 40px
}

.kindergarten-info h2 {
  font-size: 32px;
  margin: 5px 0 12px
}

.kindergarten-info p {
  font-size: 18px;
  color: #4c5f4d
}

@media(max-width:980px) {
  .services-mini-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .price-grid {
    grid-template-columns: 1fr
  }
}

@media(max-width:680px) {
  .services-teaser {
    display: block;
    padding: 28px 22px
  }

  .services-teaser .text-link {
    display: inline-block;
    margin-top: 18px
  }

  .services-mini-grid {
    grid-template-columns: 1fr
  }

  .services-teaser h2 {
    font-size: 31px
  }

  .price-card {
    padding: 0 20px 20px !important
  }

  .price-card:before {
    margin-left: -20px;
    margin-right: -20px
  }

  .price-card h4 {
    font-size: 24px !important
  }

  .price-card p {
    font-size: 16px !important
  }

  .kindergarten-info {
    padding: 28px 22px
  }
}

/* ===== FINAL USER-APPROVED UPDATES ===== */
.hero-facts>div {
  border: 0 !important;
  background: #edf6e3;
  border-radius: 18px;
  padding: 20px 18px !important;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center
}

.services-teaser--single {
  display: block
}

.services-more-btn {
  display: inline-flex;
  margin-top: 22px;
  padding: 12px 28px;
  border-radius: 999px
}

.services-teaser--single>div {
  max-width: 820px
}

.about-page-intro>div:after {
  display: none !important;
  content: none !important
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px
}

.about-stats>div {
  background: #edf6e3;
  border-radius: 18px;
  padding: 20px;
  text-align: center
}

.about-stats strong {
  display: block;
  color: #4d9428;
  font-size: 30px;
  line-height: 1
}

.about-stats span {
  display: block;
  margin-top: 7px;
  font-size: 14px;
  font-weight: 700;
  color: #315735
}

.gallery-heading,
.reviews-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px
}

.gallery-controls {
  display: flex;
  gap: 10px;
  margin-bottom: 24px
}

.gallery-controls button,
.lightbox-prev,
.lightbox-next,
.lightbox-close {
  border: 0;
  cursor: pointer;
  background: #fff;
  color: #397724;
  box-shadow: 0 5px 18px rgba(31, 66, 35, .15)
}

.gallery-controls button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 22px
}

.center-carousel {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 18px;
  scrollbar-width: none
}

.center-carousel::-webkit-scrollbar {
  display: none
}

.center-carousel img {
  flex: 0 0 calc((100% - 36px)/3);
  height: 340px;
  object-fit: cover;
  border-radius: 22px;
  scroll-snap-align: start;
  cursor: zoom-in;
  transition: transform .25s ease, box-shadow .25s ease
}

.center-carousel img:hover {
  transform: scale(1.025);
  box-shadow: 0 12px 28px rgba(31, 66, 35, .16)
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 13, .9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 70px 90px
}

.lightbox.active {
  display: flex
}

.lightbox img {
  max-width: min(1100px, 88vw);
  max-height: 84vh;
  border-radius: 18px;
  object-fit: contain
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 30px
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 25px
}

.lightbox-prev {
  left: 25px
}

.lightbox-next {
  right: 25px
}

.review-stars {
  color: #5d9f2f;
  letter-spacing: 2px;
  margin-bottom: 12px
}

.reviews-grid article {
  display: flex;
  flex-direction: column
}

.reviews-grid article p {
  flex: 1
}

.reviews-grid article a {
  color: #4d9428;
  font-weight: 700;
  font-size: 13px;
  margin-top: 10px
}

.btn--outline {
  background: transparent;
  color: #4d9428;
  border: 1px solid #82b760
}

.btn--outline:hover {
  background: #edf6e3;
  color: #315735
}

.consent-check {
  display: flex !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px !important;
  line-height: 1.45;
  font-weight: 400 !important;
  margin: 4px 0 18px
}

.consent-check input {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  margin-top: 2px;
  accent-color: #5d9f2f
}

.consent-check a {
  color: #4d9428;
  text-decoration: underline
}

.form-status {
  font-size: 13px;
  margin-top: 12px;
  min-height: 18px
}

.form-status.success {
  color: #397724
}

.form-status.error {
  color: #a43b32
}

.tax-section {
  padding-top: 0
}

.tax-card {
  background: #fff;
  border: 1px solid #dcebd1;
  border-radius: 26px;
  padding: 42px;
  box-shadow: 0 8px 24px rgba(71, 100, 45, .06);
  max-width: 1050px;
  margin: 0 auto
}

.tax-card h2 {
  font-size: 34px;
  margin-bottom: 12px
}

.tax-card h3 {
  font-size: 21px;
  line-height: 1.45;
  margin-bottom: 28px
}

.tax-card h4 {
  font-size: 22px;
  margin: 28px 0 10px
}

.tax-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #38553c
}

.tax-highlight {
  background: #edf6e3;
  border-left: 4px solid #5d9f2f;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 17px
}

.tax-download {
  margin-top: 20px
}

@media(max-width:900px) {
  .center-carousel img {
    flex-basis: calc((100% - 18px)/2)
  }

  .gallery-heading,
  .reviews-heading {
    align-items: flex-start;
    flex-direction: column
  }

  .reviews-heading .btn {
    margin-bottom: 22px
  }
}

@media(max-width:680px) {
  .hero-facts {
    grid-template-columns: 1fr !important
  }

  .about-stats {
    grid-template-columns: 1fr
  }

  .center-carousel img {
    flex-basis: 88%;
    height: 300px
  }

  .lightbox {
    padding: 70px 18px
  }

  .lightbox-prev {
    left: 8px
  }

  .lightbox-next {
    right: 8px
  }

  .lightbox-prev,
  .lightbox-next {
    width: 42px;
    height: 42px
  }

  .tax-card {
    padding: 28px 20px
  }

  .tax-card h2 {
    font-size: 28px
  }

  .gallery-controls {
    margin-bottom: 10px
  }
}

/* Карточки преимуществ на главном экране */
.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 38px;
}

.hero-facts>div {
  background: rgba(205, 231, 166, 0.72);
  border: 1px solid rgba(93, 159, 47, 0.25);
  border-radius: 20px;
  padding: 24px 20px;
  min-height: 145px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  box-shadow: 0 8px 22px rgba(63, 105, 39, 0.10);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.hero-facts>div:hover {
  transform: translateY(-4px);
  background: rgba(196, 225, 149, 0.9);
  box-shadow: 0 12px 28px rgba(63, 105, 39, 0.16);
}

.hero-facts b {
  display: block;
  color: #183b1f;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 9px;
}

.hero-facts span {
  display: block;
  color: #557052;
  font-size: 14px;
  line-height: 1.45;
}

/* Яркая кнопка "Вступить в чат" */
.schedule-page__chat .btn--light {
  background: #5d9f2f;
  color: #ffffff;
  border: none;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 7px 18px rgba(63, 105, 39, 0.16);
}

.schedule-page__chat .btn--light:hover {
  background: #4f8d27;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(63, 105, 39, 0.22);
}

/* Телефоны в блоке "Остались вопросы?" */
.cta-phones {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.cta-phones .cta-phone {
  display: block;
  margin: 0;
}

.about-page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;
}

.about-page-intro>img {
  width: 100%;
  height: 100%;
  min-height: 720px;
  object-fit: cover;
  object-position: 45% center;
  border-radius: 24px;
  display: block;
}

/* Заголовок фотогалереи */
.gallery-heading h2 {
  font-size: 36px;
  line-height: 1.15;
  font-weight: 700;
  color: #183b1f;
  margin: 8px 0 10px;
}

.gallery-heading .section-lead {
  font-size: 17px;
  line-height: 1.5;
  color: #557052;
  margin: 0;
}

/* Крупные стрелки фотогалереи по бокам */
.gallery-section .container {
  position: relative;
}

.gallery-controls {
  position: absolute;
  top: 58%;
  left: -30px;
  right: -30px;

  display: flex;
  justify-content: space-between;

  pointer-events: none;
  z-index: 5;
}

.gallery-prev,
.gallery-next {
  width: 58px;
  height: 58px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 50%;

  background: #ffffff;
  color: #4f9429;

  font-size: 30px;
  font-weight: 600;
  line-height: 1;

  box-shadow: 0 8px 24px rgba(45, 80, 35, 0.18);

  cursor: pointer;
  pointer-events: auto;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: #5d9f2f;
  color: #ffffff;
  transform: scale(1.08);
}

/* Отступ между заголовком отзывов и карточками */
.reviews-heading {
  margin-bottom: 32px;
}

/* Оформление заголовка отзывов */
.reviews-heading .eyebrow {
  display: block;
  margin-bottom: 22px;
}

.reviews-heading h2 {
  margin: 0 0 14px;
  font-size: 36px;
  line-height: 1.15;
}

.reviews-heading .section-lead {
  margin: 0;
}

.about-page-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: stretch;

  background: #ffffff;
  border-radius: 32px;
  padding: 42px;
  box-shadow: 0 12px 35px rgba(45, 80, 35, 0.08);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.about-stats>div {
  background: #eef6e4;
  border-radius: 20px;
  padding: 22px 16px;
  text-align: center;
  border: 1px solid rgba(93, 159, 47, 0.12);
}

.about-stats strong {
  display: block;
  font-size: 32px;
  line-height: 1;
  color: #4f9829;
  margin-bottom: 10px;
}

.about-stats span {
  font-size: 15px;
  font-weight: 600;
  color: #183b1f;
}

/* Кнопки "Подробнее" на странице услуг */
.service-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 20px;
  padding: 13px 30px;

  border-radius: 999px;

  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  text-decoration: none;
}

/* Одинаковый размер всех карточек услуг */
.service-detail-list article {
  display: grid;
  grid-template-columns: 365px 1fr;
  height: 300px;
  align-items: stretch;
  overflow: hidden;
}

/* Фото занимает всю левую часть карточки */
.service-detail-list article>img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Текстовая часть */
.service-detail-list article>div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 32px 36px;
}

@media (max-width: 768px) {
  .service-detail-list article {
    grid-template-columns: 1fr;
    height: auto;
  }

  .service-detail-list article>img {
    width: 100%;
    height: 240px;
  }

  .service-detail-list article>div {
    padding: 24px;
  }
}

.service-detail-list article .btn {
  align-self: flex-start;
  width: auto;
  min-width: 160px;
  padding: 13px 28px;
  display: inline-flex;
  justify-content: center;
}

/* Кнопки "Подробнее" в разделе Пациентам */
.patient-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: fit-content;
  margin-top: 18px;
  padding: 12px 28px;

  background: #5d9f2f;
  color: #fff;

  border-radius: 999px;

  font-size: 16px;
  font-weight: 700;
  line-height: 1;

  transition: transform .2s ease, background-color .2s ease;
}

.patient-card:hover .patient-card-btn {
  background: #4f8c27;
  transform: translateY(-2px);
}

/* ===== Официальные разделы / требования к медицинскому сайту ===== */
.compliance-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px
}

.legal-page {
  max-width: 1180px
}

.legal-card {
  background: #fff;
  border: 1px solid #dcebd1;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 24px rgba(71, 100, 45, .06);
  margin-bottom: 22px
}

.legal-card h2 {
  margin: 0 0 16px;
  font-size: 28px
}

.legal-card h3 {
  margin: 26px 0 10px
}

.legal-card p,
.legal-card li {
  line-height: 1.7;
  color: #38553c
}

.legal-card a {
  color: #39751d;
  font-weight: 700
}

.legal-note {
  background: #edf6e3;
  border-left: 4px solid #5d9f2f;
  border-radius: 12px;
  padding: 16px 18px
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px
}

.staff-card {
  background: #fff;
  border: 1px solid #dcebd1;
  border-radius: 24px;
  padding: 26px
}

.staff-photo-placeholder {
  height: 190px;
  border-radius: 18px;
  background: #edf6e3;
  display: grid;
  place-items: center;
  color: #66825f;
  font-weight: 700;
  margin-bottom: 18px
}

.staff-card dl {
  margin: 0
}

.staff-card dt {
  font-weight: 800;
  margin-top: 13px;
  color: #183b1f
}

.staff-card dd {
  margin: 4px 0;
  color: #6f806f
}

.sitemap-links {
  display: grid;
  gap: 10px
}

.sitemap-links h2 {
  margin-bottom: 8px
}

.site-tools {
  position: fixed;
  right: 18px;
  bottom: 86px;
  z-index: 999;
  display: flex;
  gap: 8px;
  flex-direction: column
}

.site-tool-btn {
  border: 0;
  border-radius: 999px;
  background: #183b1f;
  color: #fff;
  padding: 11px 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .16)
}

.site-search {
  position: fixed;
  inset: 0;
  background: rgba(16, 37, 18, .55);
  z-index: 1200;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 12vh 18px
}

.site-search.active {
  display: flex
}

.site-search__box {
  width: min(680px, 100%);
  background: #fff;
  border-radius: 22px;
  padding: 22px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25)
}

.site-search input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cbdcc1;
  border-radius: 12px;
  font: inherit
}

.site-search__results {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  max-height: 48vh;
  overflow: auto
}

.site-search__results a {
  padding: 12px 14px;
  background: #f4f8ef;
  border-radius: 12px;
  color: #183b1f;
  text-decoration: none;
  font-weight: 700
}

.site-search__close {
  float: right;
  border: 0;
  background: none;
  font-size: 28px;
  cursor: pointer
}

.a11y-mode {
  font-size: 120%
}

.a11y-mode * {
  line-height: 1.6 !important
}

.a11y-mode body,
.a11y-mode .page-hero,
.a11y-mode .section {
  background: #fff !important;
  color: #000 !important
}

.a11y-mode .patient-card,
.a11y-mode .legal-card,
.a11y-mode .staff-card {
  box-shadow: none !important;
  border: 2px solid #000 !important
}

.a11y-mode a {
  color: #000 !important;
  text-decoration: underline !important
}

.a11y-mode img {
  filter: grayscale(1)
}

@media(max-width:900px) {

  .compliance-cards,
  .legal-grid,
  .staff-grid {
    grid-template-columns: 1fr
  }

  .site-tools {
    right: 10px;
    bottom: 78px
  }

  .site-tool-btn {
    padding: 9px 12px;
    font-size: 13px
  }
}

/* Выравниваем кнопки "Подробнее" в карточках раздела Пациентам */
.patient-card {
    display: flex;
    flex-direction: column;
}

.patient-card .patient-card-btn {
    margin-top: auto;
    align-self: flex-start;
    transform: translateY(0);
}

.patient-card p {
    margin-bottom: 24px;
}

/* Аккуратное выравнивание маркированных списков на юридических страницах */
.legal-card ul {
    margin: 8px 0 0;
    padding-left: 0;
    list-style: none;
}

.legal-card li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    line-height: 1.6;
}

/* Поиск и версия для слабовидящих — отделяем от тёмного фона */
.site-tools button,
.site-tools a,
.search-toggle,
.accessibility-toggle {
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 6px 20px rgba(20, 55, 28, 0.22),
        0 0 0 1px rgba(24, 59, 31, 0.08);
}

/* ===== ОЦЕНКА КАЧЕСТВА ===== */

.quality-card h2 {
    margin-bottom: 24px;
}

.quality-card h3 {
    margin-top: 32px;
    margin-bottom: 14px;
    color: #183b1f;
}

.quality-card p {
    margin-bottom: 14px;
    line-height: 1.7;
}

.quality-email-link {
    color: #4f922d;
    font-weight: 700;
    text-decoration: none;
}

.quality-email-link:hover {
    text-decoration: underline;
}

.quality-note {
    margin-top: 28px;
    margin-bottom: 24px;
}

.quality-note b {
    display: block;
    margin-bottom: 5px;
}

.quality-warning {
    padding: 18px 22px;
    margin-top: 0;
    background: #f6faef;
    border-radius: 12px;
    line-height: 1.65;
}

/* Кнопка внизу страницы */

.quality-download {
    margin-top: 30px;
}

.quality-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 14px 28px;

    color: #ffffff !important;
    background: #5d9f2f;

    font-weight: 700;
    text-decoration: none;

    border-radius: 9px;
}

.quality-download-btn:visited {
    color: #ffffff !important;
}

.quality-download-btn:hover {
    color: #ffffff !important;
    background: #4f8b28;
    text-decoration: none;
}

/* ===== ВАКАНСИИ ===== */

.vacancy-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 20px;
}

.vacancy-status {
    display: inline-block;
    margin-bottom: 12px;
    padding: 6px 12px;

    background: #edf6e4;
    color: #4f922d;

    font-size: 14px;
    font-weight: 700;

    border-radius: 20px;
}

.vacancy-heading h2 {
    margin: 0;
}

.vacancy-intro {
    max-width: 900px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.vacancy-section {
    margin-top: 30px;
}

.vacancy-section h3,
.vacancy-contact h3 {
    margin-bottom: 14px;
    color: #183b1f;
}

.vacancy-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vacancy-section li {
    position: relative;

    margin-bottom: 10px;
    padding-left: 22px;

    line-height: 1.65;
}

.vacancy-section li::before {
    content: "•";

    position: absolute;
    top: 0;
    left: 0;

    color: #5d9f2f;
    font-weight: 700;
}

.vacancy-contact {
    margin-top: 34px;
    padding: 24px 26px;

    background: #f1f7e9;

    border-left: 4px solid #5d9f2f;
    border-radius: 12px;
}

.vacancy-contact p {
    margin-bottom: 10px;
}

.vacancy-phone {
    display: inline-block;

    margin: 4px 0 14px;

    color: #4f922d;

    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
}

.vacancy-phone:hover {
    text-decoration: underline;
}

@media (max-width: 700px) {

    .vacancy-contact {
        padding: 20px;
    }

    .vacancy-phone {
        font-size: 18px;
    }
}

/* Кнопки внутри быстрых карточек */

.quick-card {
    display: flex;
    flex-direction: column;
}

.quick-card .card-more-btn {
    margin-top: auto;
    align-self: flex-start;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 18px;

    background: #5d9f2f;
    color: #ffffff !important;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;

    text-decoration: none !important;
    border-radius: 9px;

    transition: background 0.2s ease, transform 0.2s ease;
}

.quick-card .card-more-btn:visited {
    color: #ffffff !important;
}

.quick-card .card-more-btn:hover {
    background: #4f8b28;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.legal-card .btn:not(.btn--outline) {
    color: #ffffff !important;
}

.legal-card .btn:not(.btn--outline):visited,
.legal-card .btn:not(.btn--outline):hover,
.legal-card .btn:not(.btn--outline):active {
    color: #ffffff !important;
}

.legal-card .btn--outline {
    color: #356f1d !important;
}

/* Временно неактивная карточка медицинских работников */

.patient-card--disabled {
    cursor: default;
}

.patient-card-btn--disabled {
    background: #e8eee3 !important;
    color: #71806b !important;
    cursor: default;
    pointer-events: none;
}

/* ==================================================
   КОМПЛЕКСНОЕ ЛЕЧЕНИЕ
   ================================================== */

#complex-treatment .container {
    max-width: 1280px;
}

/* Карточки шире */
#complex-treatment .price-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
}

/* Основная карточка */
#complex-treatment .price-group {
    position: relative;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid #dce8d2;
    border-radius: 22px;

    padding: 0 34px 32px;

    box-shadow: 0 10px 30px rgba(35, 75, 39, 0.06);
}

/* Зелёная шапочка */
#complex-treatment .price-group h3 {
    margin: 0 -34px 28px;
    padding: 20px 34px;

    background: linear-gradient(
        90deg,
        #4f9e28 0%,
        #6fb63d 55%,
        #a9d96b 100%
    );

    color: #ffffff;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
}

/* Описание */
#complex-treatment .price-description {
    margin: 0 0 18px;
    color: #365b3c;
    line-height: 1.65;
}

/* Шапочки "для детей / для взрослых" */
#complex-treatment .price-group h4 {
    display: inline-block;

    margin: 22px 0 8px;
    padding: 7px 14px;

    background: #edf6e3;
    border-radius: 30px;

    color: #347c20;
    font-size: 15px;
    font-weight: 700;
}

/* Строка услуги */
#complex-treatment .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 25px;
    padding: 15px 0;

    border-bottom: 1px solid #dce8d2;
}

#complex-treatment .price-row:last-child {
    border-bottom: none;
}

#complex-treatment .price-row span {
    color: #244b2a;
    line-height: 1.45;
}

/* Цена */
#complex-treatment .price-row strong {
    flex-shrink: 0;

    color: #4b9e24;
    font-size: 19px;
    font-weight: 700;

    white-space: nowrap;
}

/* Сноска со звёздочкой */
#complex-treatment .price-note {
    margin: 22px 0 0;
    padding: 13px 16px;

    background: #f2f7e9;
    border-left: 4px solid #76ad3c;
    border-radius: 8px;

    color: #55705a;
    font-size: 14px;
    line-height: 1.5;
}

/* Немного воздуха между заголовком раздела и карточками */
#complex-treatment .section-head {
    margin-bottom: 28px;
}


/* ===== ПЛАНШЕТ / ТЕЛЕФОН ===== */

@media (max-width: 900px) {

    #complex-treatment .price-block {
        grid-template-columns: 1fr;
    }

}


/* ===== ТЕЛЕФОН ===== */

@media (max-width: 600px) {

    #complex-treatment .price-group {
        padding: 0 20px 24px;
        border-radius: 18px;
    }

    #complex-treatment .price-group h3 {
        margin: 0 -20px 22px;
        padding: 17px 20px;

        font-size: 21px;
    }

    #complex-treatment .price-row {
        gap: 15px;
    }

    #complex-treatment .price-row strong {
        font-size: 17px;
    }

}

/* =====================================================
   НОВЫЙ ПРАЙС
===================================================== */

.prices-new {
    padding-top: 30px;
    padding-bottom: 90px;
}

.prices-section {
    margin-bottom: 90px;
}

.prices-section__head {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin-bottom: 32px;
}

.prices-section__label {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eaf4dc;
    color: #4f9624;
    font-weight: 800;
    font-size: 14px;
}

.prices-section__head h2 {
    margin: 0 0 7px;
    color: #183b1f;
    font-size: 32px;
    line-height: 1.15;
}

.prices-section__head p {
    margin: 0;
    max-width: 720px;
    color: #63715f;
    line-height: 1.6;
}


/* СЕТКА */

.prices-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}


/* ОСНОВНАЯ КАРТОЧКА */

.service-price-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce8d3;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(38, 75, 39, 0.07);
}

.service-price-card--wide {
    grid-column: 1 / -1;
}

.service-price-card__head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 26px;
    background: linear-gradient(90deg, #edf6e4 0%, #f8fbf4 100%);
    border-bottom: 1px solid #dfead6;
}

.service-price-card__head h3 {
    margin: 0;
    color: #183b1f;
    font-size: 22px;
    line-height: 1.25;
}

.service-price-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: #ffffff;
    color: #4f9624;
    font-size: 18px;
    font-weight: 800;
}


/* СТРОКА УСЛУГИ */

.service-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 28px;
    padding: 20px 26px;
    border-bottom: 1px solid #e3ebdc;
}

.service-price-row:last-child {
    border-bottom: none;
}

.service-price-info {
    min-width: 0;
    flex: 1;
}

.service-price-info strong {
    display: block;
    margin-bottom: 5px;
    color: #183b1f;
    font-size: 16px;
    line-height: 1.45;
}

.service-price-info span {
    display: block;
    color: #71806d;
    font-size: 14px;
    line-height: 1.5;
}

.service-price-info p {
    margin: 7px 0;
    max-width: 650px;
    color: #596b56;
    font-size: 14px;
    line-height: 1.55;
}

.service-price-value {
    flex: 0 0 auto;
    color: #4b9824;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    text-align: right;
    white-space: nowrap;
}

.service-price-value small {
    display: block;
    color: #71806d;
    font-size: 12px;
    font-weight: 500;
}


/* =====================================================
   КОМПЛЕКСНЫЕ ПРОГРАММЫ
===================================================== */

.prices-section--programs {
    padding-top: 10px;
}

.prices-section--programs .eyebrow {
    display: block;
    margin-bottom: 8px;
}


/* БОНУСЫ */

.program-benefits {
    display: grid;
    grid-template-columns: 0.8fr 2fr;
    gap: 35px;
    padding: 30px 34px;
    margin-bottom: 28px;
    border-radius: 24px;
    background: #183b1f;
    color: #ffffff;
}

.program-benefits__title span {
    display: block;
    margin-bottom: 8px;
    color: #b9db92;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.program-benefits__title h3 {
    margin: 0;
    color: #ffffff;
    font-size: 25px;
    line-height: 1.25;
}

.program-benefits__items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.program-benefits__items div {
    padding-left: 18px;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.program-benefits__items strong {
    display: block;
    margin-bottom: 8px;
    color: #b9db92;
    font-size: 13px;
}

.program-benefits__items span {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
}


/* КАРТОЧКИ ПРОГРАММ */

.program-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.program-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dce8d3;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(38, 75, 39, 0.07);
}

.program-card--wide {
    grid-column: 1 / -1;
}

.program-card__head {
    padding: 25px 28px;
    background: linear-gradient(120deg, #4c9d25 0%, #83c747 100%);
}

.program-card__head span {
    display: block;
    margin-bottom: 7px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.program-card__head h3 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.25;
}

.program-card__body {
    padding: 7px 0 3px;
}

.program-card__body--columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
}

.program-card__body--columns > div:first-child {
    border-right: 1px solid #e1eadb;
}

.program-description {
    margin: 0;
    padding: 22px 26px 17px;
    color: #586b55;
    line-height: 1.6;
}

.program-age {
    display: inline-block;
    margin: 15px 26px 5px;
    padding: 7px 13px;
    border-radius: 999px;
    background: #edf6e4;
    color: #3f7f20;
    font-size: 13px;
    font-weight: 800;
}


/* ПРИМЕЧАНИЕ СО ЗВЕЗДОЧКОЙ */

.program-note {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 22px;
    padding: 17px 20px;
    border: 1px solid #dce8d3;
    border-radius: 16px;
    background: #f7faF3;
}

.program-note > span {
    color: #4f9624;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
}

.program-note p {
    margin: 0;
    color: #596b56;
    font-size: 13px;
    line-height: 1.55;
}


/* =====================================================
   МОБИЛЬНАЯ ВЕРСИЯ
===================================================== */

@media (max-width: 850px) {

    .prices-new {
        padding-top: 15px;
        padding-bottom: 60px;
    }

    .prices-section {
        margin-bottom: 65px;
    }

    .prices-section__head h2 {
        font-size: 27px;
    }

    .prices-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .service-price-card--wide,
    .program-card--wide {
        grid-column: auto;
    }

    .program-benefits {
        grid-template-columns: 1fr;
    }

    .program-benefits__items {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .program-card__body--columns {
        grid-template-columns: 1fr;
    }

    .program-card__body--columns > div:first-child {
        border-right: none;
        border-bottom: 1px solid #e1eadb;
    }
}


@media (max-width: 560px) {

    .prices-section__head {
        gap: 13px;
    }

    .prices-section__label {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        border-radius: 11px;
    }

    .prices-section__head h2 {
        font-size: 24px;
    }

    .service-price-card,
    .program-card {
        border-radius: 19px;
    }

    .service-price-card__head {
        padding: 19px 18px;
    }

    .service-price-card__head h3 {
        font-size: 19px;
    }

    .service-price-row {
        display: block;
        padding: 18px;
    }

    .service-price-value {
        margin-top: 12px;
        text-align: left;
        white-space: normal;
    }

    .program-card__head {
        padding: 21px 20px;
    }

    .program-card__head h3 {
        font-size: 21px;
    }

    .program-age {
        margin-left: 18px;
        margin-right: 18px;
    }

    .program-description {
        padding-left: 18px;
        padding-right: 18px;
    }

    .program-benefits {
        padding: 24px 20px;
        border-radius: 19px;
    }
}

/* =========================================
   PRICE CARDS — FINAL STYLE
   единый стиль карточек прайса
   ========================================= */

.price-card {
    position: relative;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #dcebd1 !important;
    border-radius: 24px !important;
    padding: 0 32px 28px !important;
    box-shadow: 0 10px 30px rgba(71, 100, 45, 0.07) !important;
}

/* тонкая зелёная линия сверху вместо зелёной шапки */
.price-card::before {
    content: "";
    display: block;
    height: 8px;
    background: linear-gradient(90deg, #4f9d2f, #9bd65d);
    margin: 0 -32px 24px;
}

/* заголовок карточки */
.price-card h4 {
    margin: 0 0 20px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #183b1f !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;
}

/* убираем старую маленькую полоску под заголовком */
.price-card h4::after {
    display: none !important;
}

/* строки услуг */
.price-card p {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 25px;
    margin: 0 !important;
    padding: 16px 0 !important;
    border-top: 1px solid #e4efd9 !important;
    border-bottom: none !important;
    line-height: 1.55;
}

/* у первой строки нет разделителя сверху */
.price-card p:first-of-type {
    border-top: none !important;
}

/* цены */
.price-card p b {
    color: #4f9828 !important;
    font-weight: 800;
    white-space: nowrap;
    margin-left: auto !important;
    float: none !important;
}


/* МОБИЛЬНАЯ ВЕРСИЯ */
@media (max-width: 680px) {

    .price-card {
        padding: 0 22px 22px !important;
        border-radius: 20px !important;
    }

    .price-card::before {
        height: 6px;
        margin: 0 -22px 20px;
    }

    .price-card h4 {
        font-size: 22px !important;
        margin-bottom: 14px !important;
    }

    .price-card p {
        flex-direction: column;
        gap: 5px;
        padding: 14px 0 !important;
    }

    .price-card p b {
        display: block;
        margin: 3px 0 0 !important;
        white-space: normal;
    }
}

/* =========================================
   КОМПЛЕКСНОЕ ЛЕЧЕНИЕ — В ЕДИНОМ СТИЛЕ
   С ОСТАЛЬНЫМ ПРАЙСОМ
   ========================================= */

/* убираем большие зелёные шапки */
.complex-card__head,
.complex-card-header,
.complex-card .card-header,
.complex-treatment-card__head {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 0 20px !important;
    border-radius: 0 !important;
}

/* заголовки */
.complex-card__head h3,
.complex-card__head h4,
.complex-card-header h3,
.complex-card-header h4,
.complex-card .card-header h3,
.complex-card .card-header h4,
.complex-treatment-card__head h3,
.complex-treatment-card__head h4 {
    color: #183b1f !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    margin: 0 !important;
}

/* если зелёный фон задан прямо самому заголовку */
.complex-card h3,
.complex-card h4,
.complex-treatment-card h3,
.complex-treatment-card h4 {
    background: transparent !important;
    color: #183b1f !important;
}

/* карточки комплексного лечения */
.complex-card,
.complex-treatment-card {
    position: relative;
    overflow: hidden;
    background: #fff !important;
    border: 1px solid #dcebd1 !important;
    border-radius: 24px !important;
    box-shadow: 0 10px 30px rgba(71, 100, 45, 0.07) !important;
}

/* тонкая зелёная полоска сверху */
.complex-card::before,
.complex-treatment-card::before {
    content: "";
    display: block;
    height: 8px;
    background: linear-gradient(90deg, #4f9d2f, #9bd65d);
}


/* МОБИЛЬНАЯ ВЕРСИЯ */

@media (max-width: 680px) {

    .complex-card,
    .complex-treatment-card {
        border-radius: 20px !important;
    }

    .complex-card::before,
    .complex-treatment-card::before {
        height: 6px;
    }

    .complex-card h3,
    .complex-card h4,
    .complex-treatment-card h3,
    .complex-treatment-card h4 {
        font-size: 22px !important;
    }
}

/* ==================================================
   КОМПЛЕКСНОЕ ЛЕЧЕНИЕ
   Единый стиль с остальными карточками прайса
   ================================================== */

#complex-treatment {
    padding: 70px 0;
}

#complex-treatment .section-head {
    margin-bottom: 32px;
}

#complex-treatment .section-head h2 {
    margin: 8px 0 8px;
    color: #183b1f;
}

#complex-treatment .section-head p {
    margin: 0;
}


/* СЕТКА */

#complex-treatment .price-block {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    align-items: start;
}


/* КАРТОЧКА */

#complex-treatment .price-group {
    position: relative;
    overflow: hidden;

    background: #ffffff;
    border: 1px solid #dce8d2;
    border-radius: 24px;

    padding: 34px;

    box-shadow: 0 10px 30px rgba(50, 80, 35, 0.07);

    min-width: 0;
}


/* ТОНКАЯ ЗЕЛЁНАЯ ПОЛОСКА СВЕРХУ */

#complex-treatment .price-group::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 8px;

    background: linear-gradient(
        90deg,
        #4f9f2f,
        #a3db63
    );
}


/* ЗАГОЛОВОК КАРТОЧКИ */

#complex-treatment .price-group > h3 {
    margin: 0 0 28px;

    padding: 0;

    background: transparent !important;

    color: #183b1f !important;

    font-size: 28px;
    line-height: 1.2;
    font-weight: 800;
}


/* ОПИСАНИЕ */

#complex-treatment .price-description {
    margin: -8px 0 26px;

    color: #315536;

    font-size: 17px;
    line-height: 1.65;
}


/* ПОДЗАГОЛОВКИ
   "Для детей до 16 лет"
   "Для взрослых"
*/

#complex-treatment .price-group > h4 {
    display: inline-block;

    margin: 18px 0 8px;
    padding: 7px 14px;

    background: #eef7e6;

    color: #367b1e;

    border-radius: 999px;

    font-size: 15px;
    line-height: 1.2;
    font-weight: 700;
}


/* СТРОКИ */

#complex-treatment .price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;

    padding: 17px 0;

    border-bottom: 1px solid #dce8d2;
}

#complex-treatment .price-row:last-child {
    border-bottom: 0;
}


/* НАЗВАНИЕ */

#complex-treatment .price-row span {
    flex: 1;

    color: #183b1f;

    font-size: 16px;
    line-height: 1.5;
}


/* ЦЕНА */

#complex-treatment .price-row strong {
    flex-shrink: 0;

    color: #3d941f;

    font-size: 20px;
    line-height: 1.4;
    font-weight: 800;

    white-space: nowrap;
}


/* ТЕКСТ В КАРТОЧКЕ БОНУСОВ */

#complex-treatment .price-group > p:not(.price-description):not(.price-note) {
    color: #183b1f;

    font-size: 16px;
    line-height: 1.6;
}


/* ПРИМЕЧАНИЕ СО ЗВЁЗДОЧКОЙ */

#complex-treatment .price-note {
    margin: 14px 0 0;

    padding: 14px 16px;

    background: #f3f8ed;

    border-left: 3px solid #68ad36;
    border-radius: 12px;

    color: #52644f;

    font-size: 14px;
    line-height: 1.5;
}


/* ==================================================
   ПЛАНШЕТ
   ================================================== */

@media (max-width: 900px) {

    #complex-treatment .price-block {
        grid-template-columns: 1fr;
    }

}


/* ==================================================
   ТЕЛЕФОН
   ================================================== */

@media (max-width: 600px) {

    #complex-treatment {
        padding: 45px 0;
    }

    #complex-treatment .price-block {
        gap: 18px;
    }

    #complex-treatment .price-group {
        padding: 28px 20px 22px;
        border-radius: 20px;
    }

    #complex-treatment .price-group::before {
        height: 6px;
    }

    #complex-treatment .price-group > h3 {
        font-size: 23px;
        margin-bottom: 22px;
    }

    #complex-treatment .price-row {
        gap: 15px;
    }

    #complex-treatment .price-row strong {
        font-size: 18px;
    }

}

/* ===== FIX LOGO ===== */

.header .brand .brand__logo {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    max-width: 46px !important;
    min-height: 46px !important;
    max-height: 46px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    flex: 0 0 46px !important;
}

@media (max-width: 680px) {
    .header .brand .brand__logo {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
        flex: 0 0 36px !important;
    }
}

/* ===== FIX: ABOUT PAGE MOBILE ===== */

@media (max-width: 980px) {
    .about-page-intro {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
        padding: 28px;
        width: 100%;
        min-width: 0;
    }

    .about-page-intro > * {
        min-width: 0;
    }

    .about-page-intro > img {
        width: 100%;
        height: auto;
        min-height: 0;
        max-height: 520px;
        object-fit: cover;
        border-radius: 24px;
    }

    .about-page-intro h2 {
        font-size: 32px;
        line-height: 1.15;
        overflow-wrap: anywhere;
    }

    .about-page-intro p {
        font-size: 17px;
        line-height: 1.65;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 600px) {
    .about-page-intro {
        padding: 20px;
        gap: 24px;
        border-radius: 24px;
    }

    .about-page-intro h2 {
        font-size: 28px;
    }

    .about-page-intro p {
        font-size: 16px;
        line-height: 1.6;
    }
}