/* Общий стиль для контейнера отзывов */
.reviews-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 10px;
    margin-left: 15%;
    margin-right: 15%;
    margin-top: 70px;
    margin-bottom: 100px;
    max-width: 1200px;

}

/* Стиль для каждого отзыва */
.review-card {
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    text-decoration: none;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 20px;
}

/* Эффект при наведении */
.review-card:hover {
    transform: scale(1.05);
}

.review-card1 {
   height:200px;
   width: 300px;
}

.review-card-zoon {
   height:230px;
   width: 300px;
}

.review-card2 {
   height:230px;
   width: 300px;
}

/* Круглый рейтинг в левом верхнем углу */
.rating-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #359954; /* Цвет акцента */
    color: white;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    top: -20px;
    left: -20px;
}

/* Стиль для текста отзыва */
.review-content {
    flex-grow: 1;
    margin-left: 50px;
}

.review-zoon {
  width: 220px;
 padding-right: 25px;

}

.review-img1 {
width: 220px; 
padding-right: 25px;
}
.review-img2 {

width: 230px; 
padding-right: 25px;
}
.review-img3 {
width: 180px; 
padding-left: 15px;
}


/* Адаптивность */
@media (max-width: 1300px) {
    .reviews-container {
    margin-left: 5%;
    margin-right: 5%;
    }
}

@media (max-width: 1200px) {
    .reviews-container {
        grid-template-columns: repeat(2, 1fr);
    margin-left: 15%;
    margin-right: 15%;
    }
    .review-zoon {
     width: 220px;
     padding-right: 5px;
     }
     .review-card-zoon {
      height:200px;
      }
}

@media (max-width: 1000px) {
    .reviews-container {
    margin-left: 5%;
    margin-right: 5%;
    }
}



@media (max-width: 750px) {
    .reviews-container {
        grid-template-columns: 1fr;
         margin-left: 20%;
         margin-right: 20%;
    }
}

@media (max-width: 500px) {
    .reviews-container {
         margin-left: 5%;
         margin-right: 5%;
    }
}

@media (max-width: 380px) {
    .reviews-container {
         margin-left: 15%;
         margin-right: 15%;
    }
    .review-img {
       width: 100px; padding-right: 25px;
	}
.review-card1 {
   height:150px;
   width: 200px;
}

.review-card-zoon {
   height:160px;
   width: 200px;
}

.review-card2 {
   height:160px;
   width: 200px;
}

.review-img1 {
width: 120px; 
padding-right: 15px;
}
.review-img2 {
width: 130px; 
padding-right: 15px;
}
.review-img3 {
width: 100px; 
padding-left: 5px;
}
.review-zoon {
  width: 120px;
 padding-right: 15px;

}
}
.title-rewievs {
text-align: center;
margin-top: 50px;
margin-bottom: 50px;
font-size: 40px;
}




.reviews-list {
    margin:0 15% 100px 15%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    justify-items: center; /* Центрирует все элементы по горизонтали */
}

/* Стиль для каждого отзыва */
.review-item {
    background-color: #359954; /* Легкий фиолетовый фон */
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 700px;
    text-align: center;
    position: relative;
    margin-bottom: 50px;
}

/* Заголовок отзыва (имя + рейтинг) */
.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.review-name {
    font-weight: bold;
    font-size: 18px;
    margin-right: 10px;
    text-align: left;
}

.review-rating img {
    width: 100px; /* Размер картинки с рейтингом */
}

/* Метаданные отзыва (дата и источник) */
.review-meta {
    margin-bottom: 15px;
    font-size: 14px;
    color: white;
}

/* Стиль для текста отзыва */
.review-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
    overflow: hidden;
    position: relative;
    text-align: left;
}

.review-text .hidden-text {
    display: none; /* Скрываем дополнительный текст по умолчанию */
    font-size: 16px;
}

.review-text .show-more {
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-decoration: underline;
}

.review-date {
    text-align: left;
}

.review-source {
    text-align: left;
}

.review-photo img {
    max-width: 90%;
    height: auto;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-list {
        grid-template-columns: 1fr;
    }
    .title-rewievs {
    font-size: 25px;        
    }
    .review-item {
     max-width: 500px;
    }
}
@media (max-width: 470px) {
.review-text {
    font-size: 14px;
}
.reviews-list {
    margin:0 0 0 0;
    gap: 10px;
    padding: 10px;
}
.review-text .hidden-text {
    font-size: 14px;
}
.review-name {
    font-size: 15px;
}
    .title-rewievs {
    font-size: 20px;        
    }
        .review-item {
     max-width: 200px;
    }
}


.teg_rewievs {
    text-align: center;
    font-size: 22px;
    margin-bottom: 50px;
}
.teg_rewievs a{
    font-size: 22px;
}

.teg_rewievs a:hover {
   color: white;
    color: #359954; /* Цвет текста при наведении */
}


/* Основной контейнер слайдера */
.reviews-slider-s {
    position: relative;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
   margin-bottom: 50px;
    overflow: hidden; /* Скрываем все, что выходит за границы видимого блока */
}

/* Контейнер с отзывами */
.slider-container-s {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 600px; /* Ширина контейнера равна сумме ширины всех слайдов */
}

/* Каждый слайд */
.review-item-s {
    width: 600px; /* Каждый слайд занимает всю ширину контейнера */
    flex-shrink: 0;
    background-color: rgba(202, 174, 226, 0.9);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 50px;
}

/* Управление позиционированием слайдов */
#slide11:checked ~ .slider-container-s {
    transform: translateX(0%);
}

#slide22:checked ~ .slider-container-s {
    transform: translateX(-100%);
}

#slide33:checked ~ .slider-container-s {
    transform: translateX(-200%);
}

/* Контролы (точки) */
.slider-controls-s {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}

.slider-controls-s .dot-s {
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="radio"]:checked + .dot-s {
    background-color: #5e076a;
}

/* Адаптивность */
@media (max-width: 650px) {
.reviews-slider-s {
    max-width: 300px;
}
.slider-container-s {
    width: 300px; /* Ширина контейнера равна сумме ширины всех слайдов */
}
/* Каждый слайд */
.review-item-s {
    width: 300px; /* Каждый слайд занимает всю ширину контейнера */
    padding: 20px;
}
}
.services-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    padding: 20px;
}
.service-item {
    text-align: center;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f9f9f9;
}
.service-item img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}
.service-item h3 {
    margin: 10px 0;
    font-size: 18px;
}
.service-item p {
    font-size: 14px;
    color: #666;
}


.text-block-serv-block1 p{
   max-width: 90%;
   margin-top: 50px;
}

.section-serv img {
    max-width: 30%;
    border-radius: 10px;
}

 .section-serv {
    margin-bottom: 100px;
    display: flex;
    max-width: 1000px;
}       

.text-block-serv  {
    flex: 1;
}
.text-block-serv  h1, .text-block h2 {
    margin-bottom: 10px;
}
.text-block-serv  p {
    font-size: 16px;
}

.center-text-serv  {
    text-align: center;
}
@media (max-width: 768px) {
.section-serv {
flex-direction: column; /* Меняем направление на вертикальное */
align-items: center; /* Центрируем содержимое */
text-align: center;
}

.section-serv img {
max-width: 90%; /* Делаем изображение шире для адаптации */
margin-top: 20px; /* Добавляем отступ сверху */
}
}     



/* 🌟 Общие стили для контента на страницах услуг */
.services-container {
font-family: "Arial", sans-serif;
color: #333;
line-height: 1.6;
background-color: #fdfdfd;
padding: 20px;
}



.section-servis {
max-width: 1000px;
margin-top: 50px;
margin-left: 10%;
}


.h3-services {
font-size: 24px;
font-weight: bold;
color: #8f6c1b; /* Еще темнее */
margin-bottom: 50px;
text-align: center;
margin-top:50px;
}

/* ✅ Маркированный список */
.ul-services {
padding-left: 20px;
}

.ul-services li {
position: relative;
padding-left: 30px;
margin-bottom: 10px;
}

/* 🔢 Нумерованный список */
.ol-services {
padding-left: 25px;
}

.ol-services li {
font-size: 18px;
margin-bottom: 10px;
}

/* 📌 Обычный текст */
.p-services {
font-size: 18px;
margin-bottom: 15px;
}

/* ✨ Выделяющийся текст */
.p-highlight-services {
font-size: 18px;
color: #d09a2d;
background: rgba(208, 154, 45, 0.2); /* Светлый оттенок */
padding: 10px 15px;
border-left: 5px solid #d09a2d;
border-radius: 5px;
}

/* ❗ Важный текст */
.p-important-services {
font-size: 18px;
color: #fff;
background: #d09a2d;
padding: 12px 18px;
font-weight: bold;
text-align: center;
border-radius: 5px;
}

/* ✨ Адаптивность */
@media (max-width: 768px) {
.h1-services {
font-size: 30px;
}

.h2-services {
font-size: 26px;
}

.h3-services {
font-size: 22px;
}

.p-services, .ul-services li, .ol-services li {
font-size: 16px;
}
}
.services-section {
  padding: 40px 20px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 32px;
  font-weight: bold;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.service-card img {
  width: 90px;
  height: auto;
  display: block;
  margin: 12px auto 12px;
  border-radius: 8px;
}

.service-card h3 {
  text-align: center;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
  }
  .service-card h3 {
    font-size: 1rem;
    padding: 12px;
  }
}

/* CSS */
.hero-section {
  position: relative;
  background: url('/wp-content/themes/stomatolog/img/bg.png') center/cover no-repeat; /* замени background.jpg на своё изображение */
  padding: 80px 20px;
  text-align: center;
  color: #fff;
}

.hero-overlay {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-section h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 80px;
  text-align: center;
}

.hero-text-box {
  background: #fff;
  color: #333;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  padding: 30px;
  font-size: 1.5rem;
  line-height: 1.6;
  text-align: left;
}

.hero-text-box p {
  margin: 20px;
font-size: 1.2rem;
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .hero-text-box {
    padding: 20px;
    font-size: 0.95rem;
  }
}

.banner__header {
  max-width: 425px;
  margin-right: 60px;
  display: inline-block;
  font-family: MuseoSans,sans-serif;
  color: #000;
  font-size: 36px;
  line-height: 1.2;
  text-align: left;
  font-weight: 700;
  padding-bottom: 30px;
}

@media (max-width: 1024px) {
  .banner__header {
    margin-right: 0;
    margin-bottom: 60px;
    font-size: 24px;
  }
  }
}
/* CSS */
.contacts-section {
  padding: 50px 20px;
  background: #f9f9f9;
}

.contacts-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
}

.contacts-info {
  background: #53af9c;
  color: #fff;
  flex: 1 1 350px;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.contacts-info h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
color: #fff;
}

.contacts-info .branch {
  margin-bottom: 25px;
}

.contacts-info .address {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 5px;
color: #fff;
}

.contacts-info .call {
  font-size: 1rem;
  margin: 10px 0 5px;
  color: #fff;
}

.contacts-info a {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
color: #fff;
}

.contacts-info a:hover {
  text-decoration: underline;
}

.contacts-info .hours {
  font-size: 0.95rem;
  margin-top: 8px;
  line-height: 1.5;
color: #fff;
}

.contacts-map {
  flex: 2 1 600px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  min-height: 400px;
}

.ccs-hero{
  background: rgba(228, 241, 238, 1);
  padding: 24px 0;
}

.ccs-hero__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-hero__slider{
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.ccs-hero__track{
  display: flex;
  transition: transform 450ms ease;
  will-change: transform;
  touch-action: pan-y;
}

.ccs-hero__slide{
  flex: 0 0 100%;
  min-width: 100%;
}

.ccs-hero__card{
  background: rgba(196, 222, 217, .8);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px; /* больше воздуха между текстом и картинкой */
  align-items: stretch;
  padding: 32px;
  min-height: 360px;
}

/* ===== LEFT CONTENT ===== */
.ccs-hero__content{
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.ccs-hero__title{
  margin: 0 0 12px;
  color: #116962;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.ccs-hero__price{
  margin: 0 0 12px;
  color: #116962;
  font-weight: 700;
  font-size: clamp(22px, 2.2vw, 40px);
  line-height: 1.05;
}

.ccs-hero__text{
  margin: 0;
  color: #1D252D99;
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.4;
  max-width: 520px;
}

/* ⬇⬇ ВАЖНО: увеличенный отступ перед кнопкой */
.ccs-hero__btn{
  margin-top: 28px; /* БОЛЬШЕ ОТСТУП НА ДЕСКТОПЕ */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(83, 175, 156, 1);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 140ms ease, filter 140ms ease;
}

.ccs-hero__btn:hover{ filter: brightness(0.96); }
.ccs-hero__btn:active{ transform: translateY(1px); }

.ccs-hero__btn:focus-visible{
  outline: 3px solid rgba(17, 105, 98, .35);
  outline-offset: 3px;
}

/* ===== RIGHT IMAGE ===== */
.ccs-hero__media{
  position: relative;
  display: flex;
  align-items: flex-end; /* картинка всегда прижата вниз */
  justify-content: center;
  height: 100%;
}

.ccs-hero__img{
  width: 100%;
  height: 100%;
  object-fit: contain; /* ❗ НЕ РЕЖЕМ ГОЛОВУ */
  object-position: center bottom; /* лицо всегда сверху */
  display: block;
}

/* ===== DOTS ===== */
.ccs-hero__dots{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}

.ccs-hero__dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(17,105,98,.35);
  cursor: pointer;
  padding: 0;
}

.ccs-hero__dot.is-active{
  background: rgba(17,105,98,.9);
}

/* ===== MOBILE ===== */
@media (max-width: 900px){
  .ccs-hero__card{
    grid-template-columns: 1fr;
    padding: 20px 20px 0;
    gap: 20px;
    min-height: auto;
  }

  .ccs-hero__btn{
    margin-top: 20px; /* чуть меньше на мобиле */
  }

  .ccs-hero__media{
    height: 220px;
  }

  .ccs-hero__img{
    height: 100%;
    object-fit: contain;
  }
}


.ccs-about2{
  padding: 44px 0;
  margin-top: 100px;
  margin-bottom: 100px;
}

.ccs-about2__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-about2__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

/* LEFT */
.ccs-about2__h2{
  margin: 0 0 10px;
  color: #116962;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.ccs-about2__label{
  color: #1D252D99;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.ccs-about2__stats{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}

.ccs-about2__stat{
  border-radius: 20px;
  padding: 18px 18px 16px;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  box-shadow: 0 10px 22px rgba(17, 105, 98, 0.08);
}

.ccs-about2__stat--soft{
  background: rgba(196, 222, 217, .8);
  color: #116962;
}

.ccs-about2__stat--strong{
  background: #53af9c;
  color: #fff;
}

.ccs-about2__statNum{
  font-weight: 800;
  font-size: clamp(20px, 2.1vw, 34px);
  line-height: 1.05;
  margin-bottom: 8px;
}

.ccs-about2__statText{
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.92;
}

/* Button */
.ccs-about2__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(83, 175, 156, 1);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: transform 140ms ease, filter 140ms ease, box-shadow 180ms ease;
  box-shadow: 0 10px 20px rgba(83, 175, 156, 0.18);
}
.ccs-about2__btn:hover{ filter: brightness(0.96); transform: translateY(-1px); }
.ccs-about2__btn:active{ transform: translateY(0); }
.ccs-about2__btn:focus-visible{
  outline: 3px solid rgba(17, 105, 98, .35);
  outline-offset: 3px;
}

/* RIGHT */
.ccs-about2__right{
  display: grid;
  gap: 14px;
}

.ccs-about2__info{
  background: #88d1c1;
  color: #116962;
  border-radius: 20px;
  padding: 18px 18px 16px;
  line-height: 1.5;
  font-size: 15px;
  box-shadow: 0 10px 22px rgba(17, 105, 98, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

/* Hover animation (легкая) */
.ccs-about2__stat:hover,
.ccs-about2__info:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(17, 105, 98, 0.14);
  filter: saturate(1.02);
}

/* Adaptive */
@media (max-width: 980px){
  .ccs-about2__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .ccs-about2__stats{
    grid-template-columns: 1fr;
  }
.ccs-about2{
  margin-top: 40px;
  margin-bottom: 40px;
}}


.ccs-trust{
  background: rgba(228, 241, 238, 1);
  padding: 44px 0;
}

.ccs-trust__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-trust__h2{
  margin: 0 0 18px;
  color: #116962;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* 4 cards in a row on desktop */
.ccs-trust__grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

/* Card base */
.ccs-trust__card{
  border-radius: 20px;
  padding: 18px 18px 16px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 22px rgba(17, 105, 98, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

/* Color variants to match previous blocks */
.ccs-trust__card--soft{
  background: rgba(196, 222, 217, .8);
  color: #116962;
}

.ccs-trust__card--mint{
  background: #88d1c1;
  color: #116962;
}

.ccs-trust__card--strong{
  background: #53af9c;
  color: #fff;
}

/* Text styles */
.ccs-trust__num{
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 10px;
}

.ccs-trust__num--white{ opacity: 0.95; }

.ccs-trust__title{
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.25;
  color: inherit;
}

.ccs-trust__text{
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  color: inherit;
  opacity: 0.95;
}

/* Ensure white text variant is readable on strong background */
.ccs-trust__title--white,
.ccs-trust__text--white{
  color: #fff;
}

/* Hover animation (легкая) */
.ccs-trust__card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(17, 105, 98, 0.14);
  filter: saturate(1.02);
}

/* Adaptive */
@media (max-width: 1100px){
  .ccs-trust__grid{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px){
  .ccs-trust__grid{
    grid-template-columns: 1fr;
  }
  .ccs-trust__card{
    min-height: auto;
  }
}

}

.ccs-services {
  background: rgba(228, 241, 238, 1);
  padding: 100px 0; /* ✅ десктоп отступы */
  margin-top: 100px;
}

@media (max-width: 640px){
  .ccs-services{
    padding: 40px 0; /* ✅ мобилка отступы */
    margin-top: 40px;
  }
}

.ccs-services__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  margin-top: 100px;
}

.ccs-services__h2{
  margin: 0 0 22px;
  color: #116962;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* Desktop pattern: 3 / 2 / 3 */
.ccs-services__grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.ccs-services__card{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(17, 105, 98, 0.10);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;

  /* больше высота (почти квадрат) */
  min-height: 260px;

  /* layout content */
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Фон-картинка через CSS-переменную */
.ccs-services__card::before{
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--ccs-bg);
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  transition: transform 220ms ease;
}

/* Затемнение + легкий цветовой тон (разные оттенки по карточкам) */
.ccs-services__card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.65) 100%,
    rgba(0, 0, 0, 0.65) 100%
  );
  opacity: 1;
  z-index: 1;
}

/* Цветовые модификаторы больше не нужны,
   но оставляем классы пустыми, чтобы ничего не сломать */
.ccs-services__card--soft::after,
.ccs-services__card--mint::after,
.ccs-services__card--strong::after{
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.65) 100%,
    rgba(0, 0, 0, 0.65) 100%
  );
}

/* Контент поверх затемнения */
.ccs-services__name,
.ccs-services__btn{
  position: relative;
  z-index: 2;
}

/* Белый текст услуги */
.ccs-services__name{
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 6px 18px rgba(0,0,0,.35);
}

/* кнопка оставляем как есть */
.ccs-services__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(83, 175, 156, 1);
  color: #fff;
  font-weight: 600;
  font-size: 13px;
  transition: transform 140ms ease, filter 140ms ease;
}

/* Hover animation */
.ccs-services__card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(17, 105, 98, 0.16);
  filter: saturate(1.02);
}
.ccs-services__card:hover::before{
  transform: scale(1.06);
}
.ccs-services__card:hover .ccs-services__btn{
  filter: brightness(0.96);
  transform: translateY(-1px);
}

/* Desktop span rules: 3 / 2 / 3 */
.ccs-services__card:nth-child(1),
.ccs-services__card:nth-child(2),
.ccs-services__card:nth-child(3){ grid-column: span 2; }

.ccs-services__card:nth-child(4),
.ccs-services__card:nth-child(5){ grid-column: span 3; }

.ccs-services__card:nth-child(6),
.ccs-services__card:nth-child(7),
.ccs-services__card:nth-child(8){ grid-column: span 2; }

/* Tablet: 2 columns (simple) */
@media (max-width: 980px){
  .ccs-services__grid{ grid-template-columns: repeat(2, 1fr); }
  .ccs-services__card{ grid-column: auto !important; min-height: 240px; }
  .ccs-services__name{
  font-size: 15px;
}
.ccs-services__container{
  margin-top: 40px;
}

}

/* Mobile pattern: 2 / 1 / 2 / 1 ... */
@media (max-width: 640px){
  .ccs-services__grid{ grid-template-columns: repeat(2, 1fr); }
  .ccs-services__card{ min-height: 220px; }
  .ccs-services__card:nth-child(3n){ grid-column: 1 / -1; }
}


.ccs-form{
  padding: 80px 0;
  margin-top:100px;
}

.ccs-form__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-form__card{
  background: rgba(196, 222, 217, .8);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 14px 28px rgba(17, 105, 98, 0.10);
  overflow: hidden;
  position: relative;
}

/* лёгкая декоративная подложка */
.ccs-form__card::before{
  content: "";
  position: absolute;
  inset: -40px -40px auto auto;
  width: 220px;
  height: 220px;
  background: rgba(83, 175, 156, 0.18);
  border-radius: 999px;
  filter: blur(2px);
}

.ccs-form__head{
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 18px;
}

.ccs-form__h2{
  margin: 0 0 10px;
  color: #116962;
  font-size: clamp(22px, 2.2vw, 34px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.ccs-form__subtitle{
  margin: 0;
  color: #1D252D99;
  font-size: 15px;
  line-height: 1.5;
}

.ccs-form__form{
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 14px;
  align-items: end;
}

/* поля */
.ccs-form__field{
  display: grid;
  gap: 8px;
}

.ccs-form__label{
  font-size: 13px;
  color: #116962;
  font-weight: 600;
}

.ccs-form__input{
  height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(17, 105, 98, 0.20);
  background: rgba(255,255,255,0.75);
  padding: 0 14px;
  font-size: 14px;
  color: #1D252D;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ccs-form__input::placeholder{
  color: rgba(29, 37, 45, 0.45);
}

.ccs-form__input:focus{
  border-color: rgba(83, 175, 156, 1);
  box-shadow: 0 0 0 4px rgba(83, 175, 156, 0.22);
  background: rgba(255,255,255,0.92);
}

/* кнопка */
.ccs-form__btn{
  height: 52px;
  border: 0;
  border-radius: 14px;
  padding: 0 18px;
  background: rgba(83, 175, 156, 1);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 12px 22px rgba(83, 175, 156, 0.22);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.ccs-form__btn:hover{
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(83, 175, 156, 0.26);
}

.ccs-form__btn:active{
  transform: translateY(0);
}

.ccs-form__btn:focus-visible{
  outline: 3px solid rgba(17, 105, 98, .35);
  outline-offset: 3px;
}

.ccs-form__icon{
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* согласие */
.ccs-form__agree{
  grid-column: 1 / -1;
  margin-top: 6px;
}

.ccs-form__agreeLabel{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  line-height: 1.45;
  color: #1D252D99;
}

.ccs-form__checkbox{
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: rgba(83, 175, 156, 1);
}

.ccs-form__link{
  color: #116962;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: filter 160ms ease;
}

.ccs-form__link:hover{
  filter: brightness(0.9);
}

/* адаптив */
@media (max-width: 980px){
  .ccs-form{
    padding: 60px 0;
    margin-top:40px;
  }
  .ccs-form__form{
    grid-template-columns: 1fr;
  }
  .ccs-form__btn{
    width: 100%;
  }
}

@media (max-width: 640px){
  .ccs-form{
    padding: 40px 0;
  }
  .ccs-form__card{
    padding: 20px;
  }
}

.ccs-doctors{
  background: rgba(228, 241, 238, 1);
  padding: 80px 0;
}

.ccs-doctors__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-doctors__h2{
  margin: 0 0 18px;
  color: #116962;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* Slider */
.ccs-doctors__slider{
  position: relative;
  overflow: hidden;
  border-radius: 20px;
}

.ccs-doctors__track{
  display: flex;
  gap: 14px;
  transition: transform 450ms ease;
  will-change: transform;
  touch-action: pan-y;
  padding-bottom: 52px; /* место под точки */
}

/* Card */
.ccs-doctors__card{
  flex: 0 0 calc((100% - 42px)/4); /* 4 карточки на десктопе */
  border-radius: 20px;
  overflow: hidden;
  background: rgba(228, 241, 238, 1);
  box-shadow: 0 10px 22px rgba(17, 105, 98, 0.10);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.ccs-doctors__card:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(17, 105, 98, 0.16);
  filter: saturate(1.02);
}

.ccs-doctors__photo{
  height: 380px;
  background: rgba(196, 222, 217, .8);
}

.ccs-doctors__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ccs-doctors__info{
  padding: 14px 14px 16px;
  text-align: center;
}

.ccs-doctors__name{
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  color: #116962;
  margin-bottom: 6px;
}

.ccs-doctors__spec{
  font-size: 13px;
  line-height: 1.35;
  color: #1D252D99;
}

/* Dots */
.ccs-doctors__dots{
  position: absolute;
  left: 50%;
  bottom: 12px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  backdrop-filter: blur(6px);
}

.ccs-doctors__dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(17,105,98,.35);
  cursor: pointer;
  padding: 0;
}

.ccs-doctors__dot.is-active{
  background: rgba(17,105,98,.9);
}

/* Button */
.ccs-doctors__footer{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.ccs-doctors__btnAll{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  background: rgba(83, 175, 156, 1);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 22px rgba(83, 175, 156, 0.22);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.ccs-doctors__btnAll:hover{
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(83, 175, 156, 0.26);
}
.ccs-doctors__btnAll:active{ transform: translateY(0); }

/* Responsive */
@media (max-width: 1100px){
  .ccs-doctors__card{
    flex: 0 0 calc((100% - 28px)/3); /* 3 карточки */
  }
}

@media (max-width: 820px){
  .ccs-doctors__card{
    flex: 0 0 calc((100% - 14px)/2); /* 2 карточки */
  }
}

@media (max-width: 640px){
  .ccs-doctors{
    padding: 40px 0;
  }
  .ccs-doctors__card{
    flex: 0 0 100%; /* 1 карточка на мобилке */
  }
  .ccs-doctors__photo{
    height: 380px;
  }
}

.ccs-trust2{
  padding: 80px 0;
}

.ccs-trust2__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-trust2__h2{
  margin: 0 0 18px;
  color: #116962;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom:50px;
}

.ccs-trust2__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* panels */
.ccs-trust2__panel{
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 22px rgba(17, 105, 98, 0.10);
}

.ccs-trust2__panel--soft{
  background: rgba(196, 222, 217, .8);
}

.ccs-trust2__panel--strong{
  background: #53af9c;
  color: #fff;
}

/* left layout */
.ccs-trust2__list{
  display: grid;
  gap: 12px;
}

.ccs-trust2__row2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* items */
.ccs-trust2__item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 16px;
  padding: 14px 14px;
  text-decoration: none;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(17, 105, 98, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease;
}

.ccs-trust2__item:hover{
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(17, 105, 98, 0.12);
  filter: saturate(1.02);
  background: rgba(255,255,255,0.72);
}

.ccs-trust2__itemLeft{
  display: grid;
  gap: 6px;
}

.ccs-trust2__itemTitle{
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #116962;
  font-size: 14px;
}

.ccs-trust2__rate{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(29, 37, 45, 0.75);
  font-weight: 700;
}

.ccs-trust2__star{
  color: #116962;
  font-size: 16px;
  line-height: 1;
}

.ccs-trust2__score{
  font-size: 14px;
}

.ccs-trust2__arrow{
  color: #116962;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}

/* right */
.ccs-trust2__rightTitle{
  font-weight: 800;
  font-size: 16px;
  margin-bottom: 12px;
}

.ccs-trust2__portals{
  display: grid;
  gap: 12px;
}

.ccs-trust2__portal{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  border-radius: 16px;
  padding: 14px 14px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease, background 180ms ease;
}

.ccs-trust2__portal:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.18);
  box-shadow: 0 14px 26px rgba(0,0,0,0.12);
  filter: saturate(1.02);
}

.ccs-trust2__arrow2{
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}

/* adaptive */
@media (max-width: 980px){
  .ccs-trust2__grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .ccs-trust2{
    padding: 40px 0;
  }
  .ccs-trust2__row2{
    grid-template-columns: 1fr;
  }
}


.ccs-promo{
  padding: 80px 0;
}

.ccs-promo__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-promo__card{
  background: rgba(196, 222, 217, .8);
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  box-shadow: 0 14px 28px rgba(17, 105, 98, 0.10);
}

/* left image */
.ccs-promo__media{
  padding: 18px;
  display: flex;
}

.ccs-promo__img{
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 20px; /* скругленная картинка */
  display: block;
}

/* right content */
.ccs-promo__content{
  padding: 22px 22px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ccs-promo__label{
  color: #1D252D99;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ccs-promo__h2{
  margin: 0 0 18px;
  color: #116962;
  font-size: clamp(22px, 2.3vw, 38px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

/* bottom row: note left + buttons right */
.ccs-promo__bottom{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 16px;
  align-items: end;
}

.ccs-promo__note{
  color: #1D252D99;
  font-size: 13px;
  line-height: 1.35;
}

/* buttons */
.ccs-promo__actions{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ccs-promo__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease, background 160ms ease;
  white-space: nowrap;
}

/* primary (same as site buttons) */
.ccs-promo__btn--primary{
  background: rgba(83, 175, 156, 1);
  color: #fff;
  box-shadow: 0 12px 22px rgba(83, 175, 156, 0.22);
}

.ccs-promo__btn--primary:hover{
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(83, 175, 156, 0.26);
}
.ccs-promo__btn--primary:active{ transform: translateY(0); }

/* secondary */
.ccs-promo__btn--ghost{
  background: rgba(255,255,255,0.55);
  color: #116962;
  border: 1px solid rgba(17, 105, 98, 0.18);
}

.ccs-promo__btn--ghost:hover{
  background: rgba(255,255,255,0.72);
  transform: translateY(-1px);
  filter: saturate(1.02);
}
.ccs-promo__btn--ghost:active{ transform: translateY(0); }

/* лёгкая анимация на весь блок */
.ccs-promo__card{
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}
.ccs-promo__card:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 32px rgba(17, 105, 98, 0.14);
  filter: saturate(1.02);
}

/* adaptive */
@media (max-width: 980px){
  .ccs-promo__card{
    grid-template-columns: 1fr;
  }
  .ccs-promo__content{
    padding: 0 18px 18px;
  }
  .ccs-promo__bottom{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .ccs-promo__actions{
    justify-content: flex-start;
  }
}

@media (max-width: 640px){
  .ccs-promo{
    padding: 40px 0;
  }
  .ccs-promo__media{
    padding: 16px;
  }
  .ccs-promo__img{
    min-height: 220px;
  }
  .ccs-promo__btn{
    width: 100%;
    white-space: normal;
    text-align: center;
  }
}


.ccs-promo-tg{
  padding: 80px 0;
}

.ccs-promo-tg__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-promo-tg__card{
  background: linear-gradient(
    135deg,
    rgba(214, 233, 240, 0.95),
    rgba(200, 225, 235, 0.95)
  );
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  box-shadow: 0 16px 30px rgba(0, 88, 120, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.ccs-promo-tg__card:hover{
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(0, 88, 120, 0.18);
}

/* image */
.ccs-promo-tg__media{
  padding: 18px;
  display: flex;
}

.ccs-promo-tg__img{
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

/* content */
.ccs-promo-tg__content{
  padding: 22px 22px 22px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ccs-promo-tg__label{
  color: rgba(29, 37, 45, 0.65);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ccs-promo-tg__h2{
  margin: 0 0 10px;
  color: #0a4a63;
  font-size: clamp(24px, 2.6vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.ccs-promo-tg__subtitle{
  margin: 0 0 18px;
  color: #1D252D;
  font-size: 16px;
  line-height: 1.45;
}

/* button */
.ccs-promo-tg__actions{
  display: flex;
}

.ccs-promo-tg__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #229ED9, #1b8ec7);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 12px 22px rgba(34, 158, 217, 0.35);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
}

.ccs-promo-tg__btn:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 16px 28px rgba(34, 158, 217, 0.45);
}

.ccs-promo-tg__btn:active{
  transform: translateY(0);
}

/* adaptive */
@media (max-width: 980px){
  .ccs-promo-tg__card{
    grid-template-columns: 1fr;
  }
  .ccs-promo-tg__content{
    padding: 0 18px 18px;
  }
}

@media (max-width: 640px){
  .ccs-promo-tg{
    padding: 40px 0;
  }
  .ccs-promo-tg__img{
    min-height: 220px;
  }
  .ccs-promo-tg__btn{
    width: 100%;
  }
}
.ccs-docphotos{
  background: rgba(228, 241, 238, 1);
  padding: 80px 0;
}

.ccs-docphotos__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-docphotos__h2{
  margin: 0 0 18px;
  color: #116962;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.ccs-docphotos__grid{
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 фото в ряд на десктопе */
  gap: 14px;
}

.ccs-docphotos__item{
  display: block;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(17, 105, 98, 0.10);
  background: rgba(196, 222, 217, .8);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
  height: 340px; /* ✅ фиксированная высота на десктопе */
}

.ccs-docphotos__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ccs-docphotos__item:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(17, 105, 98, 0.16);
  filter: saturate(1.02);
}

.ccs-docphotos__item:focus-visible{
  outline: 3px solid rgba(17, 105, 98, .35);
  outline-offset: 4px;
  border-radius: 22px;
}

/* adaptive */
@media (max-width: 980px){
  .ccs-docphotos__item{
    height: 300px;
  }
}

@media (max-width: 640px){
  .ccs-docphotos{
    padding: 40px 0;
  }

  .ccs-docphotos__grid{
    grid-template-columns: 1fr; /* ✅ друг под другом */
  }

  .ccs-docphotos__item{
    height: 240px; /* фиксированная высота на мобилке */
  }
}
.header__contacts__el svg{ display:none !important; }

/* выравнивание текста контактов */
.header__contacts__el{
  display:flex;
  align-items:center;
  gap:10px;
}

.header__contacts__link{
  text-decoration:none;
  color: inherit;
}

/* Telegram links */
.header__tg{
  display:inline-flex;
  align-items:center;
  gap:8px;
  text-decoration:none;
  color:#116962;
  font-weight:600;
  transition: transform 160ms ease, filter 160ms ease;
}

.header__tg:hover{
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.header__tg__icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.header__tg__icon svg{
  width:18px;
  height:18px;
  fill:#229ED9; /* телеграм-акцент */
  display:block;
}

/* вторичная телега (канал) чуть спокойнее */
.header__tg--secondary .header__tg__icon svg{
  fill:#1b8ec7;
}

/* ===== NEW CTA button (Записаться) ===== */
.ccs-header-cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 12px;
  background: rgba(83, 175, 156, 1);
  color:#fff !important;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  box-shadow: 0 12px 22px rgba(83, 175, 156, 0.22);
  transition: transform 160ms ease, filter 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.ccs-header-cta:hover{
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(83, 175, 156, 0.26);
}

.ccs-header-cta:active{
  transform: translateY(0);
}


/* красивый hover для пунктов меню */
.header__nav__link{
  transition: color 160ms ease;
}
.header__nav__link:hover{
  color:#116962;
}


.footer__contacts__el svg,
.footer .social{ display: none !important; }

/* выравнивание элементов без иконок */
.footer__contacts__el{
  display:flex;
  align-items:center;
  gap:10px;
}

.footer__contacts__link{
  text-decoration:none;
  color: inherit;
}

/* Telegram link in footer */
.footer__tg{
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #116962;
  font-weight: 700;
  transition: transform 160ms ease, filter 160ms ease;
}

.footer__tg:hover{
  transform: translateY(-1px);
  filter: brightness(0.95);
}

.footer__tg__icon{
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer__tg__icon svg{
  width: 18px;
  height: 18px;
  fill: #229ED9;
  display: block;
}

.ccs-docpage{
  padding: 80px 0;
}

.ccs-docpage__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-docpage__h1{
  margin: 0 0 18px;
  color: #116962;
  font-size: clamp(26px, 2.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* team photo */
.ccs-docpage__hero{
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(17,105,98,0.10);
  background: rgba(196, 222, 217, .8);
  height: 680px;
  margin-bottom: 22px;
}

.ccs-docpage__heroImg{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* grid */
.ccs-docpage__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* card */
.ccs-doccard{
  border-radius: 20px;
  overflow: hidden;
  background: rgba(228, 241, 238, 1);
  box-shadow: 0 10px 22px rgba(17,105,98,0.10);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.ccs-doccard:hover{
  transform: translateY(-3px);
  box-shadow: 0 14px 26px rgba(17,105,98,0.16);
  filter: saturate(1.02);
}

.ccs-doccard__photo{
  height: 500px;
  background: rgba(196, 222, 217, .8);
}

.ccs-doccard__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ccs-doccard__body{
  padding: 14px 14px 16px;
}

.ccs-doccard__name{
  text-align: center;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.2;
  color: #116962;
  margin-bottom: 6px;
}

.ccs-doccard__spec{
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
  color: #1D252D99;
  margin-bottom: 12px;
}

/* meta blocks */
.ccs-doccard__meta{
  display: grid;
  gap: 10px;
}

.ccs-doccard__metaRow{
  background: rgba(196, 222, 217, .55);
  border: 1px solid rgba(17,105,98,0.12);
  border-radius: 16px;
  padding: 10px 10px;
  line-height: 1.35;
}

.ccs-doccard__metaKey{
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: #116962;
  margin-bottom: 4px;
}

.ccs-doccard__metaVal{
  display: block;
  font-size: 13px;
  color: rgba(29,37,45,0.75);
}

/* responsive */
@media (max-width: 1100px){
  .ccs-docpage__grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px){
  .ccs-docpage__grid{ grid-template-columns: repeat(2, 1fr); }
  .ccs-docpage__hero{ height: 300px; }
}

@media (max-width: 640px){
  .ccs-docpage{ padding: 40px 0; }
  .ccs-docpage__grid{ grid-template-columns: 1fr; }
  .ccs-docpage__hero{ height: 220px; }
  .ccs-doccard__photo{ height: 500px; }
}
.ccs-doccard__acc{
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(17,105,98,0.12);
  background: rgba(255,255,255,0.55);
}

.ccs-doccard__accBtn{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 12px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;

  font-weight: 800;
  font-size: 13px;
  color: #116962;
  text-align: left;

  transition: background 160ms ease, filter 160ms ease;
}

.ccs-doccard__accBtn:hover{
  background: rgba(255,255,255,0.40);
  filter: saturate(1.02);
}

.ccs-doccard__accBtn:focus-visible{
  outline: 3px solid rgba(83,175,156,0.28);
  outline-offset: 3px;
  border-radius: 12px;
}

.ccs-doccard__chev{
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(83,175,156,0.18);
  color: #116962;
  font-weight: 900;
  transition: transform 220ms ease;
}

/* body animation wrapper */
.ccs-doccard__accBody{
  padding: 0 12px 12px;
}

/* list */
.ccs-doccard__accList{
  margin: 10px 0 0;
  padding: 0 0 0 16px;
  color: rgba(29,37,45,0.78);
  font-size: 13px;
  line-height: 1.45;
}

.ccs-doccard__accList li{
  margin: 6px 0;
}

/* Open state */
.ccs-doccard__acc.is-open .ccs-doccard__chev{
  transform: rotate(180deg);
}
.ccs-license{
  padding: 100px 0;
  background: rgba(228, 241, 238, 1);
}

.ccs-license__container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-license__title{
  margin: 0 0 40px;
  color: #116962;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Grid */
.ccs-license__grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Card */
.ccs-license__item{
  border-radius: 20px;
  overflow: hidden;
  background: rgba(196, 222, 217, .8);
  box-shadow: 0 12px 26px rgba(17,105,98,0.14);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.ccs-license__item:hover{
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 18px 34px rgba(17,105,98,0.20);
}

.ccs-license__item img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* Adaptive */
@media (max-width: 768px){
  .ccs-license{
    padding: 40px 0;
  }

  .ccs-license__grid{
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.ccs-clinics{
  padding: 100px 0;
  
}

.ccs-clinics__container{
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-clinics__title{
  margin-bottom: 50px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  color: #116962;
}

/* Grid */
.ccs-clinics__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

/* Clinic card */
.ccs-clinic{
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 16px 32px rgba(17,105,98,0.14);
background: rgba(228, 241, 238, 1);
}

.ccs-clinic__name{
  font-size: 22px;
  font-weight: 800;
  color: #116962;
  margin-bottom: 6px;
}

.ccs-clinic__subtitle{
  font-size: 14px;
  text-transform: uppercase;
  color: rgba(29,37,45,0.55);
  margin-bottom: 14px;
}

.ccs-clinic__address{
  font-weight: 700;
  margin-bottom: 16px;
  color: #1D252D;
}

/* Photos */
.ccs-clinic__photos{
  display: grid;
  grid-template-columns: repeat(1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.ccs-clinic__photos img{
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 16px;
}

/* Text blocks */
.ccs-clinic__block{
  margin-bottom: 14px;
  font-size: 15px;
  color: rgba(29,37,45,0.85);
}

.ccs-clinic ul{
  list-style-type: disc !important;
  padding-left: 22px !important;
  margin: 8px 0 0 !important;
}

.ccs-clinic li{
  margin-bottom: 6px !important;
  color: rgba(29,37,45,0.85);
  font-size: 15px;
  line-height: 1.45;
}

/* Для блока с часами работы — можно сделать аккуратнее */
.ccs-clinic__block ul{
  list-style-type: none !important;
  padding-left: 0 !important;
}

.ccs-clinic__block ul li{
  position: relative;
  padding-left: 14px;
}

.ccs-clinic__block ul li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: #116962;
  font-weight: 900;
}

.ccs-clinic__block a{
  color: #116962;
  font-weight: 700;
  text-decoration: none;
}

/* License */
.ccs-clinic__license{
  margin-top: 16px;
  font-size: 13px;
  color: rgba(29,37,45,0.75);
}

.ccs-clinic__license span{
  display: block;
  margin-top: 6px;
  font-size: 12px;
}

/* Adaptive */
@media (max-width: 900px){
  .ccs-clinics{
    padding: 40px 0;
  }

  .ccs-clinics__grid{
    grid-template-columns: 1fr;
  }
}

.ccs-price{
  background: rgba(228, 241, 238, 1);
  padding: 100px 0;
}

.ccs-price__container{
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.ccs-price__h1{
  margin: 0 0 18px;
  color: #116962;
  font-size: clamp(26px, 3vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Tabs bar */
.ccs-price__tabbar{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px;
  border-radius: 20px;
  background: rgba(196, 222, 217, .8);
  box-shadow: 0 10px 22px rgba(17,105,98,0.10);
  margin-bottom: 14px;
}

.ccs-price__tab{
  appearance: none;
  border: 1px solid rgba(17,105,98,0.14);
  background: rgba(255,255,255,0.55);
  color: #116962;
  font-weight: 800;
  font-size: 13px;
  padding: 10px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.ccs-price__tab:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.72);
  filter: saturate(1.02);
}

.ccs-price__tab.is-active{
  background: rgba(83, 175, 156, 1);
  color: #fff;
  border-color: rgba(83, 175, 156, 1);
  box-shadow: 0 12px 22px rgba(83, 175, 156, 0.22);
}

/* Panels */
.ccs-price__panel{
  display: none;
}

.ccs-price__panel.is-active{
  display: block;
}

/* List */
.ccs-price__list{
  background: rgba(196, 222, 217, .8);
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 10px 22px rgba(17,105,98,0.10);
}

.ccs-price__row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  border-radius: 16px;
  padding: 12px 12px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(17,105,98,0.12);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.ccs-price__row + .ccs-price__row{
  margin-top: 10px;
}

.ccs-price__row:hover{
  transform: translateY(-1px);
  background: rgba(255,255,255,0.72);
  box-shadow: 0 14px 26px rgba(17,105,98,0.10);
  filter: saturate(1.02);
}

.ccs-price__service{
  font-weight: 700;
  color: rgba(29,37,45,0.88);
  font-size: 14px;
  line-height: 1.35;
}

.ccs-price__price{
  font-weight: 900;
  color: #116962;
  font-size: 15px;
  white-space: nowrap;
}

.ccs-price__price span{
  font-weight: 700;
  color: rgba(29,37,45,0.55);
  margin-left: 4px;
  font-size: 12px;
}

.ccs-price__note{
  margin-top: 12px;
  color: rgba(29,37,45,0.60);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 640px){
  .ccs-price{
    padding: 40px 0;
  }
  .ccs-price__row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .ccs-price__price{
    justify-self: start;
  }
}
  .header .width-wrap {
    max-width: 80%;
    padding: 0 50px;
}
  .popup {
    background: #116962;
}

   .header__nav__link_active {
    border-bottom: 2px solid #116962;

}

    .header__hamburger div, 
    .header__hamburger:after,
    .header__hamburger:before {
    background: #116962;
}

/* ===== Scroll reveal: ccs-about2 (smooth & slow) ===== */
.ccs-about2__left,
.ccs-about2__right{
  opacity: 0;
  transition:
    transform 2100ms cubic-bezier(.22,1,.36,1),
    opacity 2100ms ease;
  will-change: transform, opacity;
}

/* стартовые позиции — меньше смещение */
.ccs-about2__left{
  transform: translateX(-28px);
}

.ccs-about2__right{
  transform: translateY(28px);
}

/* активное состояние */
.ccs-about2__left.is-inview,
.ccs-about2__right.is-inview{
  opacity: 1;
  transform: translate(0, 0);
}

/* небольшая каскадная задержка */
.ccs-about2__right{
  transition-delay: 380ms;
}

/* Доступность */
@media (prefers-reduced-motion: reduce){
  .ccs-about2__left,
  .ccs-about2__right{
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
.ccs-about2__left,
.ccs-about2__right{
  filter: saturate(0.96);
}

.ccs-about2__left.is-inview,
.ccs-about2__right.is-inview{
  filter: saturate(1);
}

/* ===== Scroll reveal: doctor photos ===== */
.ccs-docphotos__item{
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform 2100ms cubic-bezier(.22,1,.36,1),
    opacity 2100ms ease;
  will-change: transform, opacity;
}

/* появление */
.ccs-docphotos__item.is-inview{
  opacity: 1;
  transform: translateY(0);
}

/* каскад */
.ccs-docphotos__item:nth-child(2){
  transition-delay: 180ms;
}

/* Доступность */
@media (prefers-reduced-motion: reduce){
  .ccs-docphotos__item{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* ===== Scroll reveal: promo ===== */
.ccs-promo__media,
.ccs-promo__content{
  opacity: 0;
  transition:
    transform 2100ms cubic-bezier(.22,1,.36,1),
    opacity 2100ms ease;
  will-change: transform, opacity;
}

/* стартовые позиции */
.ccs-promo__media{
  transform: translateX(-28px);
}

.ccs-promo__content{
  transform: translateY(28px);
}

/* активное состояние */
.ccs-promo__media.is-inview,
.ccs-promo__content.is-inview{
  opacity: 1;
  transform: translate(0,0);
}

/* каскад для контента */
.ccs-promo__content{
  transition-delay: 380ms;
}

/* Доступность */
@media (prefers-reduced-motion: reduce){
  .ccs-promo__media,
  .ccs-promo__content{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}


/* ===== Scroll reveal: trust ===== */
.ccs-trust__h2,
.ccs-trust__card{
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform 2100ms cubic-bezier(.22,1,.36,1),
    opacity 2100ms ease;
  will-change: transform, opacity;
}

/* активное состояние */
.ccs-trust__h2.is-inview,
.ccs-trust__card.is-inview{
  opacity: 1;
  transform: translateY(0);
}

/* каскад для карточек */
.ccs-trust__card:nth-child(1){ transition-delay: 320ms; }
.ccs-trust__card:nth-child(2){ transition-delay: 440ms; }
.ccs-trust__card:nth-child(3){ transition-delay: 660ms; }
.ccs-trust__card:nth-child(4){ transition-delay: 680ms; }

/* Доступность */
@media (prefers-reduced-motion: reduce){
  .ccs-trust__h2,
  .ccs-trust__card{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* ===== Scroll reveal: services ===== */
.ccs-services__h2,
.ccs-services__card{
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform 2100ms cubic-bezier(.22,1,.36,1),
    opacity 2100ms ease;
  will-change: transform, opacity;
}

.ccs-services__h2.is-inview,
.ccs-services__card.is-inview{
  opacity: 1;
  transform: translateY(0);
}

/* каскад карточек */
.ccs-services__card:nth-child(1){ transition-delay: 300ms; }
.ccs-services__card:nth-child(2){ transition-delay: 400ms; }
.ccs-services__card:nth-child(3){ transition-delay: 500ms; }
.ccs-services__card:nth-child(4){ transition-delay: 600ms; }
.ccs-services__card:nth-child(5){ transition-delay: 700ms; }
.ccs-services__card:nth-child(6){ transition-delay: 800ms; }
.ccs-services__card:nth-child(7){ transition-delay: 900ms; }
.ccs-services__card:nth-child(8){ transition-delay: 1000ms; }

/* Доступность */
@media (prefers-reduced-motion: reduce){
  .ccs-services__h2,
  .ccs-services__card{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Scroll reveal: doctors ===== */
.ccs-doctors__h2,
.ccs-doctors__slider,
.ccs-doctors__footer{
  opacity: 0;
  transform: translateY(26px);
  transition:
    transform 2100ms cubic-bezier(.22,1,.36,1),
    opacity 2100ms ease;
  will-change: transform, opacity;
}

.ccs-doctors__h2.is-inview,
.ccs-doctors__slider.is-inview,
.ccs-doctors__footer.is-inview{
  opacity: 1;
  transform: translateY(0);
}

.ccs-doctors__slider{ transition-delay: 260ms; }
.ccs-doctors__footer{ transition-delay: 360ms; }

/* dots (если ещё не стилизованы) */
.ccs-doctors__dots{
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.ccs-doctors__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(17,105,98,0.35);
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  transition: transform 360ms ease, background 160ms ease;
}

.ccs-doctors__dot.is-active{
  background: rgba(83, 175, 156, 1);
  border-color: rgba(83, 175, 156, 1);
  transform: scale(1.15);
}

/* Доступность */
@media (prefers-reduced-motion: reduce){
  .ccs-doctors__h2,
  .ccs-doctors__slider,
  .ccs-doctors__footer{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* ===== Scroll reveal: promo tg ===== */
.ccs-promo-tg__media,
.ccs-promo-tg__content{
  opacity: 0;
  transition:
    transform 2100ms cubic-bezier(.22,1,.36,1),
    opacity 2100ms ease;
  will-change: transform, opacity;
}

.ccs-promo-tg__media{
  transform: translateX(-28px);
}

.ccs-promo-tg__content{
  transform: translateY(28px);
  transition-delay: 380ms;
}

.ccs-promo-tg__media.is-inview,
.ccs-promo-tg__content.is-inview{
  opacity: 1;
  transform: translate(0,0);
}

/* Доступность */
@media (prefers-reduced-motion: reduce){
  .ccs-promo-tg__media,
  .ccs-promo-tg__content{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
/* ===== Scroll reveal: trust2 ===== */
.ccs-trust2__h2,
.ccs-trust2__panel{
  opacity: 0;
  transition:
    transform 2100ms cubic-bezier(.22,1,.36,1),
    opacity 2100ms ease;
  will-change: transform, opacity;
}

/* стартовые позиции */
.ccs-trust2__h2{
  transform: translateY(26px);
}

.ccs-trust2__panel--soft{
  transform: translateX(-28px);
}

.ccs-trust2__panel--strong{
  transform: translateX(28px);
}

/* активное состояние */
.ccs-trust2__h2.is-inview,
.ccs-trust2__panel.is-inview{
  opacity: 1;
  transform: translate(0,0);
}

/* небольшая каскадная задержка */
.ccs-trust2__panel--soft{ transition-delay: 220ms; }
.ccs-trust2__panel--strong{ transition-delay: 340ms; }

/* Доступность */
@media (prefers-reduced-motion: reduce){
  .ccs-trust2__h2,
  .ccs-trust2__panel{
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===== Video preview ===== */
.ccs-docphotos__video{
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.ccs-docphotos__play{
  position: absolute;
  inset: 0;
  margin: auto;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.ccs-docphotos__video::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.45)
  );
}

/* ===== HERO 2 ===== */
.ccs-hero2{
  padding: 40px 0;
  background: rgba(228, 241, 238, 1);
}

.ccs-hero2__container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.ccs-hero2__grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

/* ---------- Left ---------- */
.ccs-hero2__left{
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 16px;
}

.ccs-hero2__leftPhoto{
  display: block;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(196, 222, 217, .8);
  box-shadow: 0 12px 26px rgba(17,105,98,0.10);
}

.ccs-hero2__leftPhotoImg{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.ccs-hero2__branches{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ccs-hero2__branch{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 220px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 100%, rgba(0,0,0,0.65) 100%),
    var(--ccs-branch-bg) center/cover no-repeat;
  box-shadow: 0 12px 26px rgba(17,105,98,0.10);
}

.ccs-hero2__branchInner{
  position: relative;
  z-index: 2;
  padding: 18px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ccs-hero2__branchAddr{
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.80);
}

.ccs-hero2__branchTitle{
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  margin: 10px 0 12px;
}

.ccs-hero2__branchBtn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(83, 175, 156, 1);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  transition: transform 160ms ease, filter 160ms ease;
}

.ccs-hero2__branchBtn:hover{
  transform: translateY(-1px);
  filter: brightness(0.96);
}

/* ---------- Right Slider ---------- */
.ccs-hero2__right{
  position: relative;
}

.ccs-hero2__slider{
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(196, 222, 217, .8);
  box-shadow: 0 12px 26px rgba(17,105,98,0.10);
height: clamp(380px, 38vw, 520px);
  min-height: 380px;
}



.ccs-hero2__track{
  display: flex;
  height: 100%;
  will-change: transform;
}

.ccs-hero2__track{ height: 100%; }
.ccs-hero2__slide{ height: 100%; }

.ccs-hero2__slide{
  min-width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
 background-image:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.22) 0%,
      rgba(0,0,0,0.48) 100%
    ),
    var(--ccs-slide-bg);
}


.ccs-hero2__slideInner{
  padding: 22px;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.ccs-hero2__title{
  margin: 10px 0 30px;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.15;
  color: #fff;
  width: 240px;
}

.ccs-hero2__price{
  display: inline-block;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  font-weight: 900;
  margin-bottom: 12px;
}

.ccs-hero2__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(83, 175, 156, 1);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  transition: transform 160ms ease, filter 160ms ease;
}

.ccs-hero2__btn:hover{
  transform: translateY(-1px);
  filter: brightness(0.96);
}

/* arrows */
.ccs-hero2__arrow{
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(0,0,0,0.35);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  transition: transform 160ms ease, filter 160ms ease;
}

.ccs-hero2__arrow:hover{
  transform: translateY(-50%) scale(1.05);
  filter: brightness(1.05);
}

.ccs-hero2__arrow--prev{ left: 14px; }
.ccs-hero2__arrow--next{ right: 14px; }

/* dots */
.ccs-hero2__dots{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 3;
}

.ccs-hero2__dot{
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.35);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.ccs-hero2__dot.is-active{
  background: rgba(83, 175, 156, 1);
  border-color: rgba(83, 175, 156, 1);
  transform: scale(1.15);
}

/* ---------- Entrance animation (on load) ---------- */
.ccs-hero2__reveal{
  opacity: 0;
  transition:
    transform 1200ms cubic-bezier(.22,1,.36,1),
    opacity 1200ms ease;
  will-change: transform, opacity;
}

.ccs-hero2__reveal--left{ transform: translateX(-32px); }
.ccs-hero2__reveal--right{ transform: translateX(32px); }

.ccs-hero2.is-ready .ccs-hero2__reveal{
  opacity: 1;
  transform: translateX(0);
}

/* Text appears after blocks */
.ccs-hero2__revealText{
  opacity: 0;
  transform: translateY(12px);
  transition:
    transform 900ms cubic-bezier(.22,1,.36,1),
    opacity 900ms ease;
  transition-delay: 420ms;
  will-change: transform, opacity;
}

.ccs-hero2.is-ready .ccs-hero2__revealText{
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Mobile адаптация ---------- */
@media (max-width: 900px){
  .ccs-hero2__grid{
    grid-template-columns: 1fr;
  }

  /* сначала слайдер, потом левая часть */
  .ccs-hero2__right{ order: 1; }
  .ccs-hero2__left{ order: 2; }

  .ccs-hero2__slider{
    min-height: 380px;
  }

  .ccs-hero2__leftPhotoImg{
    height: 220px;
  }

  .ccs-hero2__branches{
    grid-template-columns: 1fr;
  }

  .ccs-hero2__branch{
    min-height: 200px;
  }

  .ccs-hero2__arrow{
    width: 42px;
    height: 42px;
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  .ccs-hero2__reveal,
  .ccs-hero2__revealText{
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}


.ccs-hero2__content{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ccs-hero2__subtitle{
  margin-bottom: 18px;
}

.ccs-hero2__btn{
  margin-top: 0;
}

.ccs-hero2__meta{
  display: block; /* вместо flex */
}


