:root {
  --main-color: #d3efc4;
  --main-color2: #C3D2EF;
  --main-color-9: rgba(211, 239, 196, 0.9);
  --main-color2-9: rgba(195, 210, 239, 0.9);
  --border-radius: 12px;
}

.m-tit.container {
  margin: 10px auto 25px;
}

a:hover {
  color: var(--main-color2);
}

h1 {
  font-size: 50px;
  line-height: 60px;
}

/* header */

.header__wrapper--first {
  padding: 6px 0 0;
}

.header__first svg path {
  fill: var(--main-color) !important;
  stroke: var(--main-color) !important;
}

.header__first a:hover {
  color: var(--main-color2);
}

.contact__item svg:hover path{
	fill: var(--main-color2) !important;
}
.header__first-item:not(:last-child):hover svg path{
	fill: var(--main-color2) !important;
	stroke: var(--main-color2) !important;
}
.header__first svg:hover path{
	fill: var(--main-color2) !important;
}

.main-menu a {
  padding: 15px 0;
}

.main-menu a:hover, .main-menu > li.active > a, .main-menu li.current > a {
  color: #000;
  text-decoration: none;
}

.header__logo-item {
  position: absolute;
  top: 0;
  left: 0%;
}

.header__logo-item a {
  display: block;
  height: 100px;
  width: 100%;
}

.header__logo-item a img {
  height: 100%;
}

.consultation-btn {
  display: inline-block;
  padding: 7px 17px;
  border: none;
  border-radius: var(--border-radius, 12px);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--main-color, #d3efc4);
  color: #2d3e4f;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.consultation-btn:hover {
  background: var(--main-color2, #C3D2EF);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.consultation-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .consultation-btn {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* /header */

/* banner */

.banner__item img {
  height: 700px;
}

/* /banner */

.ceny {
  margin-bottom: 25px;
  margin-top: 15px;
}

/* info block on map */

.map-info-wrapper {
  position: absolute;
  top: 0;
  width: 100%;
}

.infoBlockMap {
  position: absolute;
  width: 70%;
  height: 400px;
}

.yandex_otzyvy {
  border-radius: 21px;
  width: 191px;
  background: #f3f1ed;
}

.yandex_otzyvy_h {
  font-weight: 500;
  padding: 15px 0px 5px 0px;
  text-align: center;
  font-size: 20px;
}

.yandex_otzyvy_z {
  display: flex;
  -webkit-box-pack: justify;
  justify-content: center;
}

.yandex_otzyvy_a:hover {
  color: rgb(0, 0, 0);
}

.yandex_otzyvy_1 {
  background: url(https://yastatic.net/s3/front-maps-static/maps-front-org-badge-api/de7ca847033dfe6f3480aa08810ad5e8d68c0202/out/assets/_/178df0f18f6025c2e764130c7d1ac463.svg) no-repeat 50% / cover;
  height: 17px;
  margin: 2px;
  padding: 9px;
}

.yandex_otzyvy_p {
  padding: 5px 0px 5px 0px;
  color: #999;
  font-size: 16px;
  text-align: center;
}

.yandex_otzyvy_y_logo {
  margin: auto;
  padding: 0px 0px 15px 0px;
}

.yandex_otzyvy_y_icon {
  background: url(https://yastatic.net/s3/front-maps-static/maps-front-org-badge-api/de7ca847033dfe6f3480aa08810ad5e8d68c0202/out/assets/_/19f91a9bfe2992c3557394b1b82b934e.svg) no-repeat 50% / contain;
}

.yandex_otzyvy_y_icon {
  background: url(https://yastatic.net/s3/front-maps-static/maps-front-org-badge-api/de7ca847033dfe6f3480aa08810ad5e8d68c0202/out/assets/_/19f91a9bfe2992c3557394b1b82b934e.svg) no-repeat 50% / contain;
  width: 100px;
  height: 30px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
    .map-info-wrapper {
        display: none;
    }
}

/*.header::before {
    position: inherit;
    content: "";
    display: block;
    height: 80px;
    margin-top: -21px;
    background: url(/images/novogodnee-ukrashenie.png) repeat-x;
}*/

#photo-title a {
  color: #0559af;
  text-decoration: none;
}

#photo-title a:hover {
  color: #2a8dd4;
  text-decoration: underline;
}

h2 {
  font-size: 48px;
  font-weight: 600;
  text-transform: uppercase;

  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 767px) {
  h2 {
    font-size: 28px;
    text-align: center;
  }
}

/* about */

.about-pets-block {
  background-color: var(--main-color);
  padding: 40px 0px;
  margin: 0px 0 0px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.about-pets-block h2 {
  margin-bottom: 25px;
}

.about-pets-container {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
}

.about-pets-text {
  flex: 1;
  color: #000;
}

.about-pets-text p {
  text-align: justify;
}

.about-pets-text p + p {
  margin-top: 10px;
}

.about-pets-text ul {
  list-style: disc;
  margin-left: 20px;
  font-size: 16px;
  line-height: 1.4;
}

.about-pets-image {
  flex: 0 0 400px;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.about-pets-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.about-pets-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 992px) {
  .about-pets-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .about-pets-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
  }
  
  .about-pets-text h1 {
    font-size: 2rem;
  }
}

@media (max-width: 576px) {
  .about-pets-block {
    padding: 40px 15px;
  }
  
  .about-pets-text h1 {
    font-size: 1.8rem;
  }
  
  .about-pets-text p {
    font-size: 1rem;
  }
}

/* /about */

/* certificate */

.certificates-slider {
  overflow: visible;
    padding: 40px 0 30px;
    position: relative;
    width: 100%;
}

.certificatesSwiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
    padding: 0px;
}

.certificatesSwiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.certificatesSwiper .swiper-slide {
  padding: 0 5px;
}

.certificates-slider .certificate-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
}

.certificates-slider .certificate-item a {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--main-color2);
    padding: 10px;
    background: #fff;
    border-radius: var(--border-radius, 8px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.certificates-slider .certificate-item a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(211, 239, 196, 0.3);
    border-color: var(--main-color, #d3efc4);
}

.certificates-slider .certificate-item img {
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    flex-shrink: 0;
}

.certificates-slider .certificate-title {
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
    padding: 0 5px;
    flex-shrink: 0;
}

.certificatesSwiper .swiper-button-next,
.certificatesSwiper .swiper-button-prev {
    color: #fff;
    background: var(--main-color2-9);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.certificatesSwiper .swiper-button-next:after,
.certificatesSwiper .swiper-button-prev:after {
    font-size: 16px;
}

.certificatesSwiper .swiper-button-next:hover,
.certificatesSwiper .swiper-button-prev:hover {
    background: var(--main-color2);
    color: #fff;
    transform: scale(1.05);
}

.certificatesSwiper .swiper-button-next {
    right: -15px;
}

.certificatesSwiper .swiper-button-prev {
    left: -15px;
}

.certificatesSwiper .swiper-pagination {
    position: relative;
    bottom: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.certificatesSwiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #ccc;
    opacity: 1;
    margin: 0 !important;
    transition: all 0.3s ease;
    cursor: pointer;
}

.certificatesSwiper .swiper-pagination-bullet-active {
    background: var(--main-color2);
    transform: scale(1.2);
}

.container .certificates-slider {
    margin-left: -15px;
    margin-right: -15px;
    width: calc(100% + 30px);
}

@media (max-width: 768px) {
    .certificates-slider {
        padding: 30px 0 50px;
    }
    
    .certificates-slider .certificate-item img {
        max-height: 200px;
    }
    
    .certificates-slider .certificate-title {
        font-size: 13px;
    }
    
    .certificatesSwiper .swiper-button-next,
    .certificatesSwiper .swiper-button-prev {
        width: 32px;
        height: 32px;
    }
    
    .certificatesSwiper .swiper-button-next:after,
    .certificatesSwiper .swiper-button-prev:after {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .certificates-slider {
        padding: 20px 0 40px;
    }
    
    .certificates-slider .certificate-item a {
        padding: 8px;
    }
    
    .certificates-slider .certificate-item img {
        max-height: 220px;
    }
    
    .certificates-slider .certificate-title {
        font-size: 14px;
    }
    
    .certificatesSwiper .swiper-button-next,
    .certificatesSwiper .swiper-button-prev {
        display: none;
    }
    
    .certificatesSwiper .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }
}

/* /certificate */

/* services */

.services-section {
  padding: 40px 0;
  background-color: white;
}

.service-tile {
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  min-height: 220px;
  height: 100%;
}

.service-1 {
  background-color: var(--main-color);
}

.service-2 {
  background-color: var(--main-color2);
}

.service-3 {
  background-color: var(--main-color);
}

.service-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.service-tile h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.service-tile p {
  color: #555;
  line-height: 1.5;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .services-section {
    padding: 50px 0;
  }
  
  .service-tile {
    padding: 25px;
    min-height: 200px;
  }
  
  .col-sm-6 {
    width: 50%;
  }
}

.service-tile ul {
  list-style: disc;
  padding-left: 35px;
  margin-top: 15px;
  margin-bottom: 0;
}

.service-tile ul li {
  margin-bottom: 10px;
  color: #191919;
  font-size: 1.5rem;
}

/* /service */

/* moi-instrumenty */

.moi-instrumenty-block {
  margin-bottom: 20px;
}

.moi-instrumenty-block .post-list {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

.moi-instrumenty-block .post {
    flex: 0 0 calc(33.333% - 20px);
    min-width: 280px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
    border-radius: var(--border-radius);
}

.moi-instrumenty-block .post:hover {
    transform: translateY(-3px);
}

.moi-instrumenty-block .post-miniature {
    display: block;
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.moi-instrumenty-block .lazy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.moi-instrumenty-block .post-caption {
    padding: 15px;
    position: relative;
}

.moi-instrumenty-block .post-caption h3 {
    margin: 0 0 10px;
    font-weight: 600;
}

.moi-instrumenty-block .post-title {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.moi-instrumenty-block .post-title:hover {
    color: var(--main-color2, #C3D2EF);
}

.moi-instrumenty-block .post-description {
    margin-bottom: 15px;
}

.moi-instrumenty-block .post-arrow {
    display: inline-flex;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--main-color);
    color: #333;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.moi-instrumenty-block .post-arrow:hover {
    background: var(--main-color, #d3efc4);
}

.moi-instrumenty-block .arrow {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    margin-left: -3px;
}

/* /moi-instrumenty */

/* backCall */

.backCall {
  color: #333;
}

.backCall__inner input {
  border: 1px solid var(--main-color2);
}

.accent__btn {
  background: var(--main-color) !important;
  color: #333;
  box-shadow: none;
}

.accent__btn:hover {
  background: var(--main-color2) !important;
}

.backCall h2 {
  color: #333;
}

.backCall .accent {
  color: #333;
}

/* /backCall */

/* reviews */

.gallery {
  padding-bottom: 0px;
  color: #333;
}

.gallery h2 {
  color: #333;
}

.slick-arrow:before {
  color: var(--main-color2);
  border: 2px solid var(--main-color2);
}

/* /reviews */

/* footer */

footer {
  background: #fff !important;
  color: #000;
}

.footer__second {
  padding-top: 20px;
}

.footer_media a img {
  max-height: 100px;
}

.copyright {
  max-width: 850px;
  text-align: center;
  font-size: 14px;
  margin: auto;
}

/* /footer */

/* modal-form */

.modal-content {
  background-color: #fff;
  color: #000;
}

.modal-header {
  border-bottom: 1px solid #555;
}

.modal-body input {
  color: #000;
  border-bottom: 2px solid #000;
}

.modal-footer .btn__second {
  border-color: #000;
  color: #000;
}

.btn__accent {
  border: 1px solid #000;
  color: #000;
  background-color: var(--main-color2);
}

#formModal input::placeholder {
  color: #666;
}

.modal-footer {
      border-top: 1px solid #555;
}

.modal-dialog .btn__second:hover, .modal-dialog .btn__accent:hover {
  border: 1px solid #000;
  color: #000;
}

.modal-dialog .btn:hover {
  background-color: var(--main-color);
}

/* /modal-form */

/* stati */

.blog .stati h2, .blog .stati img {
  display: none;
}

.blog .stati {
  min-height: 200px;
}

.page-header h2 {
  font-size: 30px;
}

.pull-left.item-image a img {
  max-width: 200px;
  max-height: 200px;
  margin-right: 10px;
  object-fit: cover;
}

.stati h2 {
  margin: 25px 0 15px;
  font-size: 30px;
}

.stati h4 {
  margin-bottom: 10px;
  color: var(--main-color2);
}

.stati p {
  margin-bottom: 10px;
}

.stati ul {
  list-style: disc;
  margin-left: 20px;
}

.stati ul li {
  margin-bottom: 10px;
  font-size: 16px;
  line-height: 1.4;
}

.stati img {
  display: block;
  margin: auto;
}

.stati .stati-center {
  text-align: center;
  font-weight: 700;
}

.stati .stati-item {
  font-style: oblique;
  font-weight: 700;
  margin-left: 20px;
}

.stati .stati-item::before {
  content: "•";
  position: absolute;
  margin-left: -1em;
}

/* /stati */

/* next section  */