@font-face {
    font-family:'Arial';
    src: url(fonts/Manrope-B.woff2) format('woff2');
    src: url(fonts/Manrope-R.woff2) format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
/**
  Нормализация блочной модели
 */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
  padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure):where([class]) {
  margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  p,
  ul,
  ol,
  dl
):where([class]) {
  margin-block: 0;
}

:where(dd[class]) {
  margin-left: 0;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
  list-style: none;
}

/**
  Упрощаем работу с изображениями
 */
img {
  display: block;
  max-width: 100%;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
  font: inherit;
}

html {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  height: 100%;
  /**
    Плавный скролл
   */
  scroll-behavior: smooth;
}

body {
  /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
  min-height: 100%;
  /**
    Унифицированный интерлиньяж
   */
  line-height: 1.5;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
    --color-light: #FFFFFF;
    --color-red: #DE2A1B;
    --color-blue: #0092CB;
    --color-gray:#3F3F3F;

    --border-radius:40px;

    --font-famili-base:'Arial', sans-serif;
    --font-famili-accent:'Arial', sans-serif;

    --input-heigt: 57px;

    --container-width: 1400px;
    --container-padding-x: 15px;

    --transition-duration:  0.2s;
}

body {
  font-family: "Arial", sans-serif;
  font-size: 20px;
  line-height: 1.75;
  color: var(--color-gray);
  background-color: var(--color-light);
}

a,
button,
input,
textarea * {
  transition-duration: var(--transition-duration);
}

a {
  color: var(--color-gray);
}

a:hover {
  color: red;     
}

.container {
  max-width: calc(var(--container-width) + var(--container-padding-x) * 3);
  margin:0 auto;
  /* padding-inline: var(--container-padding-x); */
  width: 100%;
}
.container {
  max-width: calc(var(--container-width) + var(--container-padding-x) * 3);
  margin:0 auto;
  /* padding-inline: var(--container-padding-x); */
  width: 100%;
}

.container2 {
  max-width: calc(var(--container-width) + var(--container-padding-x) * 3);
  margin:0 auto;
  width: 100%;
}

h1 {
    color: #de2a1b;
}
h1, h2, h3  {
  font-weight: 700;
    font-size: 44px;
    line-height: 1.2;
}
h2, h3 {
  font-weight: 700;
    font-size: 48px;
    margin-left: 0px;    
	margin-bottom: 60px;
   /*  border-bottom: #3f3f3f 4px solid;*/
    margin: 60px auto;  
/*	width: max-content;*/
    TEXT-ALIGN: center;
color:var(--color-blue);;
}

 .button {
display:inline-flex;
align-items: center;
height: 50px;
color: var(--color-light);
padding-inline: 26px;
white-space: nowrap;
background-color: var(--color-red);
border: none;
border-radius: var(--border-radius);

 }
 .stats 
 {display:none;}
 .pagination {display:none;}

 .button:hover {
  background-color: var(--color-blue);
  color: #FFFFFF;   
 }

  .open {
    display: flex !important;
  }
  /*Элемент не используется на главной странице (подключен к дочерним файлам)*/
  .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 50px;
    padding-top: 60px;
    padding-left: 140px;
    font-size: 17px;
}

.breadcrumbs-list {
  position: relative;
}
.breadcrumbs-list::after {
  content:"";
  position: absolute;
  right: -50%;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--color-blue);
  border-radius: 50%;
    margin-left: 130px;
}

.services-price {
    color: var(--color-blue);
    font-size: 52px;
}

.services-price {
    padding-left: 0px;
    padding-bottom: 100px;
    padding-top: 30px;
}
 
.vak-price {
    padding-left: 105px;
    margin-left: 95px;
    padding-top: 20px;
    padding-bottom: 0px;
    color: var(--color-blue);
    font-size: 52px;
    margin-bottom: 40px;
}
 


 /* Шапка*/
.header {
display: flex;
justify-content: center;
align-items: center;
column-gap: 10px;
    margin-bottom: -30px;


}
/* Стили для закрепленной шапки */
/* Просто замените .header на: */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0; /* Добавить right: 0 */
    margin: 0 auto;
    max-width: 100%; /* Изменить на 100% вместо calc() */
    padding-inline: var(--container-padding-x);
    z-index: 100;
    background-color: rgba(255, 255, 255, 0);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0);
}

/* И добавьте: */
.header .container {
    max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
/* Эффект при скролле - немного усиливаем размытие */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Добавляем отступ для основного контента, чтобы он не скрывался под шапкой */
.content {
    margin-top: 120px; /* Высота шапки + дополнительный отступ */
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .header {
        padding: 10px 15px;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
    
    .content {
        margin-top: 80px; /* Меньший отступ на мобильных */
    }
}

/* Дополнительные улучшения для видимости */
.header-logo img {
    transition: transform 0.3s ease;
}

.header-logo img:hover {
    transform: scale(1.35);
}

/* Плавная анимация появления шапки при загрузке */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header {
    animation: slideDown 0.5s ease-out;
}
.header-logo {
  display: flex;
flex-shrink: 0;
  margin-left: 20px;
    width: 95px;
}
.header-menu-list {
  padding-inline: 30px;
  display: flex;
  column-gap: 40px;
  margin-left: 0px;
  background-color: #f5f5f5;
  border-radius: var(--border-radius);
  white-space: nowrap;
    line-height: 2.55;
    height: 50px;
  
}
/* Кнопка выпадающего списка */
.dropbtn {
  border: none;
  cursor: pointer;
}

/* Кнопка выпадающего меню при наведении и фокусировке */
.dropbtn:hover {
  color: red;  
}.dropbtn:focus {
  color: #fff;  
}

/* Контейнер <div> - необходим для размещения выпадающего содержимого */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Выпадающее содержимое (скрыто по умолчанию) */
.dropdown-content {
    border-radius: 20px;
    margin-top: 0px;
    margin-left: -165px;
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1222;
  padding: 0 20px;
}

/* Ссылки внутри выпадающего списка */
.dropdown-content a {
  padding: 0px;
  text-decoration: none;
  display: block;
}

/* Изменение цвета выпадающих ссылок при наведении курсора */
.dropdown-content a:hover {
  color: red;  }

/* Показать выпадающее меню (используйте JS, чтобы добавить этот класс .dropdown-content содержимого, когда пользователь нажимает на кнопку выпадающего списка) */
.show {display:block;}

.header-menu-link:target {
  background: yellow;
}
.header-menu-link {
  display: inline-flex;
  align-items:center;
  column-gap: 7px;
  height: 20px;
  text-decoration: none;
  font-weight: 400;
  font-size: 20px;
    background-color: #f5f5f5;

}

.header-menu-link.is-current::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #3F3F3F;
  border-bottom: 2px solid #3F3F3F;
  transform: rotate(45deg);
  transform-origin: center;
  transition: .3s;
  
}
.header-menu-link.is-current {
  font-weight: 600;
  color: #0055a5; /* пример */
}
/* Для обычных пунктов меню */
.header-menu-link.active,
.header-menu-link[aria-current="page"] {
  color: #DE2A1B;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px; /* отступ подчёркивания */
}

/* Для подпунктов в дропдауне */
.dropdown-content a.active,
.dropdown-content a[aria-current="page"] {
 color: #DE2A1B;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 5px;
}
.burger {
  display: none;
  position: relative;
  z-index: 50;
  align-items: center;
  justify-content: flex-end;
  width: 30px;
  height: 11px;
}
.burger span {
  height: 2px;
  width: 30px;
  background-color: var(--color-gray);
}

.burger::before, .burger::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background-color: var(--color-gray);
  transition: all 0.3s ease 0s;
}

.burger::before {
  top: -4px;
}

.burger::after {
  bottom: -3px;
}
.burger.active span {
  transform: scale(0)
}

.burger.active::before{
  top:50%;
  transform: rotate(-45deg) translate(0, -50%);
}
.burger.active::after {
  bottom: 50%;
  transform: rotate(45deg) translate(0, 50%);
}
/*Основной блок*/

.hero2 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px;
  }

.hero {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;   
	margin-bottom: 60px;
  }

.hero-text-block p{font-size: 20px;
    line-height: 1.3;
}
.hero-text-block {
  width: 60%; /* ширина текстового блока */
  height: 560px;
    background: #F1F1F1;
    color: var(--color-blue);
    padding: 30px 30px 32px 50px; 
    border-top-left-radius: 28px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 28px;
    margin-top: 64px;
    line-height: normal;
}

.vak-text-block {
  width: 50%; /* ширина текстового блока */
  height: 220px;
    background: #F1F1F1;
    color: var(--color-blue);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    margin-top: 55px;
    line-height: normal;
}
.vak-text-block p{
    padding: 8px 30px 28px 30px; 
	
    /* Критические исправления для Safari */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: geometricPrecision;
    font-synthesis: weight style;
    
    /* Фиксируем размер */
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    
    /* Улучшаем читаемость */
    line-height: 1.75;
    font-size: 1.125rem;
font-weight: 700;
    color: #3F3F3F;
}
.hero-buttons {
  display: flex;
  gap: 20px;
  padding-top: 20px;
}

.vak-buttons {
  display: flex;
  gap: 20px;
  padding-top: 10px;

}
.vak-button-branch {
  padding: 50px 115px;
  border-radius: 10px;
  
    border: 0px solid #0092cb;
  background-color: #b2e9ff;
  color: #0092cb;
  font-size: 30px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.vak-button-branch:hover {
  background-color: #8fd8ff;
  transform: translateY(-2px);
}

.hero-button-record {
  background-color: var(--color-red);
  
  border: 1px solid #FFFFFF;
}
.hero-button-record:hover {
  color: #0092cb;     
  background-color: #fff;
  
  
  border: 1px solid #0092CB;
}
}

.hero-button-branch {
  background-color: #FFFFFF;
  color: var(--color-blue);
  border: 1px solid var(--color-blue);
}
.text-span-14 {
    color: #fe9700;
}
.tel-1 {
    margin-bottom: 5px;
    float: right;
    font-family: 'Open Sans', sans-serif;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}
.phone-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    transform: translate(-50%, -50%);
    border-radius: 20px;
    width: 160px;
    height: 40px;
    z-index: 9999;
    background-color: var(--color-red);
       background-size: 50%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}

 .blink {
    -webkit-animation: blink 0.7s linear infinite;
  animation: blink 0.7s linear infinite; /* РџР°СЂР°РјРµС‚СЂС‹ Р°РЅРёРјР°С†РёРё */
   }
   @keyframes blink {
    from { opacity: 1; /* РќРµРїСЂРѕР·СЂР°С‡РЅС‹Р№ С‚РµРєСЃС‚ */ }
    to { opacity: 0.2; /* РџСЂРѕР·СЂР°С‡РЅС‹Р№ С‚РµРєСЃС‚ */ }
   }
.phone-button:before,
.phone-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 1px solid var(--color-red);
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 20%;
    animation: border-animate 1.5s linear infinite;
    opacity: 0;
}
.phone-button:after{
    animation-delay: .5s;
}
@keyframes border-animate
{
    0% {
        transform: scale(0.5);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Safari-specific fixes */
@supports (-webkit-touch-callout: none) {
    .hero2 {
        display: -webkit-flex;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        width: 100%;
    }
    
  .vak-text-block p {
        font-size: 26px; /* Чуть больше для Safari */
        -webkit-text-size-adjust: none; /* Запрещаем изменение размера */
        font-weight: 400; /* Иногда жирность влияет на отображение */
    }
    
    .hero-dog2 {
        -webkit-flex: 0 0 50%;
        flex: 0 0 50%;
        -webkit-align-self: flex-start;
        align-self: flex-start;
    }
    
    /* Fix for buttons in Safari */
    button,
    .button {
        -webkit-appearance: none;
        border-radius: 0;
        background-image: none;
    }
}
/* Проверка на Safari */
@media not all and (min-resolution:.001dpcm) { 
    @supports (-webkit-appearance:none) and (not (overflow:-webkit-marquee)) and (not (-ms-ime-align:auto)) {
        .hero2 {
            display: -webkit-box;
            display: -webkit-flex;
            display: flex;
            -webkit-box-orient: horizontal;
            -webkit-box-direction: normal;
            -webkit-flex-direction: row;
            flex-direction: row;
        }
        
        .vak-text-block p {
            -webkit-box-flex: 1;
            -webkit-flex: 1 0 50%;
            flex: 1 0 50%;
            margin-right: 40px;
		font-size: 24px !important;
        }
        
        .hero-dog2 {
            -webkit-box-flex: 1;
            -webkit-flex: 1 0 50%;
            flex: 1 0 50%;
            -webkit-align-self: flex-start;
            align-self: flex-start;
        }
    }
}@supports (-webkit-overflow-scrolling: touch) {
    .vak-text-block p {
        font-size: 26px !important;
    }
}
 /* Преимущества*/

 .benefit-grid {
  display: grid;
  grid-template-rows: auto auto auto;
  grid-template-columns: 2fr 1fr 1fr 3fr;
  grid-template-areas: "cate red red blue"
                       "cate red red dgrey"
                       "cate grey kgrey dgrey";
  grid-gap: 20px;
  justify-content: center;
 }


 .benefit-cate {
  grid-area: cate;
  background-color: #B2E9FF;
  position: relative;
  max-width: 100%;
  height: 370px;
 }

  .benefit-img {
    position: relative;
    z-index: 5;
    top: -75px;   
	max-width: 100%;
  }

 .benefit-red {
  grid-area: red;
  background-image: url(icons/fon-red2.png);
  background-color: var(--color-red);
  background-size: cover;
  padding: 30px;
    background-size: 820px;
 }


 .comon {
   color:var(--color-light);
   border-radius: var(--border-radius);
   background-repeat: no-repeat;
   line-height: normal;
  background-size: auto;
    padding: 25px;
    font-size: 17px;
    line-height: 1.35;
 }

 .benefit-grey {
  grid-area: grey;
  background-color: #F1F1F1;
  background-image: url(images/circle.png);
    padding: 16px 25px 25px 25px;
    font-weight: 700;
  
  background-position: bottom right;
  color: black;
  
 }
.benefit-grey2 {
  grid-area: kgrey;
  background-color: #F1F1F1;
  background-image: url(images/heart.png);
  background-position: bottom right;
  color: black;
    padding: 16px 25px 25px 25px;
  
    font-weight: 700;
 
}

.benefit-blue {
  grid-area: blue;
  background-color: #0092CB;
  background-image: url(icons/paw.png),
                    url(icons/paw2.png);
  background-position: bottom,
                       right;
  background-repeat: no-repeat;
}

.benefit-grey3 {
  grid-area: dgrey;
  background-color: #F1F1F1;
  background-image: url(icons/test2.png);
  
  background-size: auto;
  background-position:  right;
  color: black;
  padding: 30px;

    font-weight: 700;
}

/* Услуги*/

.cervices {
  margin-top: 120px;
  background-image: url(icons/many-paw.png);
  background-repeat: no-repeat;
    background-position: right top;
    background-size: 270px;
}
.vak {
  margin-top: 30px;
}
.cervices-menu {
  text-align: center;

}

.cervices-menu-link {
  display: inline-block;
  width: 97%;
text-decoration: none;
line-height: 74px;
border-bottom: 1px solid #F1F1F1;
font-size: 32px;
font-weight: 700;
}

.cervices-menu-link:hover {
  color: #fff;     
  background-color: #0092cb;
  border-radius: 20px;
  width: 100%;
}

.cervices-menu-vse {
    background-color: #F1F1F1;
    border-radius: 20px;
}

.uslugi-text-h32  {
  font-weight: 700;
    font-size: 28px;
    margin-left: 0px;
	color: #3F3F3F;
}
.uslugi-text-h3  {
  font-weight: 700;
    font-size: 28px;
    margin-left: 20px;
}
.uslugi-text-p  {
    font-size: 20px;
    margin-top: 40px;
}
.uslugi-text-p2  {
    font-size: 16px;
    margin-top: 5px;
	color: #3F3F3F;
}
.breadcrumbs-list2 {
  position: relative;
}
.breadcrumbs-list2::after {
  content:"";
  position: absolute;
  right: -25%;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--color-blue);
  border-radius: 50%;
    margin-left: 200px;
}
.uslugi-text-block {
  width: 60%; /* ширина текстового блока */
  height: 463px;
    background: #F1F1F1;
    color: var(--color-blue);
    padding: 50px 30px 32px 50px; 
    border-top-left-radius: 28px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 28px;
    margin-top: 0px;
    line-height: normal;
}
.uslugi-text-block2 {
  width: 60%; /* ширина текстового блока */
  height: 463px;
    background: #F1F1F1;
    color: var(--color-blue);
    padding: 30px 30px 32px 50px; 
    border-top-left-radius: 28px;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 28px;
    margin-top: 0px;
    line-height: normal;
}
/* Специалисты */
.expert {
  margin-top: 150px;

}

/* Слайдер*/

.expert-swiper {
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.expert-swiper .swiper-slide {
  display: flex;
  justify-content: center;
}

.expert-card {
  width: 100%;
  max-width: 370px;
  max-height: 700px ;
}

@media (max-width: 768px) {
  .expert-card { max-width: 200px; }
}

@media (max-width: 480px) {
  .expert-card { max-width: 330px; }
}

/* Позиционируем кастомные стрелки Swiper */


.slider-arrows-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}


.slide  {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;

  overflow-x: auto;
  scroll-snap-type: x mandatory;
}


.expert-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background-color: #fff;
  gap: 10px;
  justify-content:stretch;

}

.expert-img {
  width: auto;
  display: block;
}
.expert-img2 {
  display: block;
  width: 362.25px !important;
}

.expert-info {
  background-color: var(--color-red);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  height: 190px;

}

.expert-title {
  font-size: 20px;
  line-height: normal;
  color: var(--color-light);
  padding: 14px 15px 10px 20px;
      line-height: 1.1rem;
}

.name-mody {
  font-size: 25px;
}
.mody {
  font-size: 21px;
}

.expert-text {
  color: var(--color-light);
  padding-left: 20px;
  margin-bottom: 13px;
    font-size: 18px;
  line-height: normal;
      line-height: 1.4rem;
}

/* Кнопки */
.swiper-button-prev,
.swiper-button-next {
  position: relative;
    color: var(--color-blue);
    top: auto;
    margin-top: 10px;
    font-size: 25px;
    transform: none;
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    border-radius: 50%;

      line-height: 1.4rem;
  
  }


/* Адаптация */
 .modal {
      position: fixed;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: #000000ba;
      opacity: 0;
	      z-index: 115;
      visibility: hidden;
      transform: scale(1.1);
      transition: visibility 0s linear 0.25s, opacity 0.25s 0s, transform 0.25s;
      }
      .modal-content {
      position: relative;
      top: 50%;
      left: 50%; max-width: 1400px;
      transform: translate(-50%, -50%);
      padding: 1rem 3.5rem;
      width: 100%;
      border-radius: 0.5rem;
      }
      .close-button {
  position: absolute; /* Меняем с fixed на absolute */
     right: 65px;
    top: 65px;
    position: fixed;
    float: right;
    width: 33px;
    height: 33px;
    line-height: 2rem;
    text-align: center;
    cursor: pointer;
    color: #0092CB;
    font-size: 35px;
    border-radius: 40px;
      background-color: #b2e9ff;
      }
      .close-button:hover {
      background-color: #adadad;
      }
      .show-modal {
      opacity: 1;
      visibility: visible;
      transform: scale(1.0);
      transition: visibility 0s linear 0s, opacity 0.25s 0s, transform 0.25s;
      }
/* Адрес */
.address {
  margin-top: 150px;
    background-color: #fff;
}
 a:target:after{
            content: " Test";
            background-color: #ccffcc;
         }
.address_list {
  position: relative;
  display: block;
  margin: 0 auto 20px;
  background-color: #F1F1F1;
  padding: 20px 30px 20px 20px;
  border-radius: 15px;
  cursor: pointer;
}

.address_list::after {
  position: absolute;
  right: 15px;
  top: 40px;
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-right: 1px solid #3F3F3F;
  border-bottom: 1px solid #3F3F3F;
  transform: rotate(45deg);
  transform-origin: center;
  transition: .3s;
}

.address_list[open]::after {
  transform: rotate(225deg);
}

.address_list[open] {
  padding-bottom: 20px;
}

.address_list[open] .address_name {
  margin-bottom: 0px;
    margin-left: 0px;
}

.address_name {
  font-size: 22px;
  list-style: none;
  font-weight: 700;
  transition: .3s;
  background-color: #F1F1F1;
  border-radius: 20px;
  padding: 10px 0;
  cursor: pointer;
}

.address-button {
  background-color: var(--color-light);
  color: var(--color-red);
  border: 1px solid var(--color-red);
  max-width: 200px;
}

.address-button:hover {
  color: var(--color-light);
  background-color: var(--color-red);
  border: 1px solid var(--color-red);
  max-width: 200px;
}

.address-n {
  margin-bottom: 40px;
  display: block;
}

.address_name-wrapp {
  display: flex;
  flex-direction: column;
  max-width: 260px;
  gap: 20px;
  margin-top: 40px;
}

.address-button2:hover {
  background-color: var(--color-light);
  color: var(--color-red);
  border: 1px solid var(--color-red);
} 
.address-grid {
  display: grid;
  grid-template-rows: 1fr 1fr; /* вместо auto auto */
  grid-template-columns: 2fr 1fr;
  grid-template-areas: 
    "clinic show"
    "clinic reception";
  grid-gap: 20px;
  width: 77%;
  min-height: 400px; /* Добавляем минимальную высоту */
  height: auto;
}

/* Явно задаем размеры для изображений */
.address-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

/* Для главного изображения */
.address-clinic {
  grid-area: clinic;
  min-height: 300px;
}

.address-grid img.fade {
  opacity: 0.7;
}

.address-wrapp {
  width: 28%;
}


.address-show {
  grid-area: show;
}

.address-reception {
  grid-area: reception;
}

.address-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

/* Акция */
.stock {
  margin-top: 150px;

  background-color: #ffd8d8;
  background-image: url(images/stok_fon2.png);
  border-radius: 20px;
}
.stock2 {
    padding-top: 40px;
}
.stock3 { text-align: right;
padding-right:20px;
}
.stock-wrapp {
  display: flex;
  justify-content:center;
    flex-wrap: nowrap;
    align-items: center;
}
.stock-text {
  background-color: var(--color-light);
    border-radius: 10px;
    margin: 0px 80px 80px 80px;
    padding: 40px;
}
/* Исправление для Safari */
.address_list > summary {
  display: block; /* или list-item для совместимости */
}

/* Убираем стандартный маркер в Safari */
.address_list > summary::-webkit-details-marker {
  display: none;
}

/* Альтернативное решение - замена details/summary */
.address_list {
  position: relative;
  /* ... остальные стили ... */
}

.address_list summary {
  cursor: pointer;
  user-select: none;
}
/*Часто задаваемые вопросы*/
.question2 {
    margin-bottom: 60px;
   }
   html {
  scroll-padding-top: 200px;
}
.question {
    margin-top: 150px;
    margin-bottom: 150px;
   }
  .question_list {
  position: relative;
    display: block;
    margin: 0 auto 20px;

    
}
.question_list::after {
  position: absolute;
  right: 30px;
  top: 30px;
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  border-right: 1px solid #3F3F3F;
  border-bottom: 1px solid #3F3F3F;
  transform: rotate(45deg);
  transform-origin: right;
  transition: .3s;
  
}
.question_list[open]::after {
  transform: rotate(45deg);
}
.question_list[open] {
  padding-bottom: 0px;
  background-position: 0 100%;
  background-color: #f1f1f1;
  border-radius: 20px;
    line-height: 2;
    padding: 5px 50px 15px 40px;
}
details[open] > summary{
  margin-left: -6px;
    padding: 0px 0px 0px -5px;
}
.question_name {
  font-size: 28px;
  list-style: none;
  font-weight: 700;
  transition: .3s;
  background-position: 0 100%;
  background-color: #f1f1f1;
  border-radius: 20px;
    padding: 15px 10px 15px 35px;
}

 /*Форма*/
/*Форма*/
.input {
  margin-top: 0px;
  background: var(--color-blue); 
  font-weight: 700;
  border-radius: 30px;
  border: none;
  font-size: 16px;
  padding: 0 0px;
}

.input-title {
  color: var(--color-light);
  font-size: 38px;
    margin-left: 125px;
    margin-top: 40px;
    padding-top: 40px;
    text-align: left;
}

.input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  width: 100%;
  max-width: 100%;
}

.input-wrapp {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 280px;
}

.input-input {
  border-radius: 30px;
  border: none; 
  margin-bottom: 0;
  width: 100%;
  padding: 10px 20px;
  background-color: #B2E9FF;
  font-weight: 100;
  color: #0092CB;
  font-size: 17px;
  box-sizing: border-box;
}

.input-mody {
  width: 100%;
  height: 130px;
  border-radius: 20px;
  padding: 15px 20px;
  margin-top: 25px;
  resize: vertical;
  min-height: 130px;
  max-height: 200px;
}

.checkbox-container {
  display: flex;
  flex-direction: row;
  gap: 25px;
  width: 100%;
  margin-top: 25px;
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: 100%;
}

label {
  font-size: 1.2rem;
  color: #B2E9FF; 
  font-weight: 100;
  line-height: 1.2em;
  flex: 1;
}

input[type="checkbox"] {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 20%; /* 50% для идеального круга, 20% будет овальным */
    background-color: white;
    border: 2px solid #B2E9FF;
    margin-top: 3px;
    cursor: pointer;
    appearance: none;
    transition: background-color 0.3s, border-color 0.3s;
    position: relative; /* Для позиционирования галочки */
}

/* Галочка при выборе */
input[type="checkbox"]:checked {
    background-color: #0087bc;
    border-color: #b2e9ff;
}

/* Галочка через псевдоэлемент */
input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    font-weight: bold;
    line-height: 1;
}


.hero-button-branch {
  padding: 15px 40px;
  border-radius: 30px;
  
    border: 1px solid #0092cb;
  background-color: #ffffff;
  color: #0092CB;
  font-size: 18px;
  font-weight: 100;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.hero-button-branch:hover {
  background-color: #0092CB;
  
  border: 1px solid #0092CB;
}


.inpx {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
    padding-bottom: 40px;
}

.inpx2 {
  padding: 0px 0px;
  border-radius: 20px;
  margin: 0 auto;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right top;
  background-color: #0087bc;
  background-image: url(images/stock_fon_footer3.png);
  max-width: 1450px;
}

/* Плейсхолдеры */
::placeholder {
  color: #0092CB;
  opacity: 0.8;
}

::-webkit-input-placeholder {
  color: #0092CB;
}

::-moz-placeholder {
  color: #0092CB;
  opacity: 1;
}

:-ms-input-placeholder {
  color: #0092CB;
}

/* Адаптивность */
@media (max-width: 768px) {
  .inpx2 {
    padding: 30px 20px;
  }
  
  .hero-button-record,
  .hero-button-branch,
  .address-button,
  .address-button2,
  .vak-button-branch,
  .dropbtn {
    text-decoration: none !important;
  }
  
  /* Также для всех ссылок в мобильной версии */
  a {
    text-decoration: none;
  }

  .question {
    margin: 60px 5px;
    padding: 5px;
  }
  .input-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
  
  .input-row {
    flex-direction: column;
    gap: 20px;
  }
  
  .input-wrapp {
    min-width: 100%;
  }
  
  .checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }
  
  input[type="checkbox"] {
    margin-top: 0;
  }
  
  label {
    font-size: 0.7rem;
  }
  
  .hero-button-branch {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .inpx2 {
    padding: 20px 15px;
  }
  
  .input-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  .input-input {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .input-mody {
    height: 100px;
    min-height: 100px;
  }
  
  label {
    font-size: 0.7rem;
  }
  
  .hero-button-branch {
    padding: 12px 20px;
    font-size: 16px;
  }
}
 /*Карта*/

 .map {
  margin-top: 150px;
  
 }

 /* footer*/
 .footer{
  background-size: auto;
background-repeat: no-repeat;
    background-position: right top;
  background-color: #F1F1F1;
  background-image: url(images/stock_fon_footer2.png);
  
 }
.footer-flex{
  display: flex;
  justify-content: space-evenly;
    align-items: flex-end;
  padding-bottom: 50px;
  padding-top: 50px;

}
.footer-nav{
    line-height: 48px;

}

.futer-nav-link{
    font-weight: bolder;
}

.futer-nav-link,
.futer-document-link {
  text-decoration: none;
  
}
.futer-document-link{
  font-size: 16px;
  
}
.futer-document-item {
  line-height: 27px;
  
}
.logo {
  margin-bottom: 20px;    width: 150px;
}
.futer-address-item {
  margin-bottom: 20px;
}

.footer-icon {
  display: flex;
  gap: 20px;
}

.futer-pravo {
  font-size: 16px;
}



/*Адаптация*/ 

@media(max-width:1270px) {
  .hero-dog {
    width: 550px;
    height: 500px;

  }
  .hero-buttons {
    padding-top: 20px;
   }
.header-book-button{
	display:none;
}
 .hero-text-block {
  width: 60%;
  height: 450px;
  }
  
 .header-menu-list  {
  margin-left: 0px;
 }
.benefit-grid {
  grid-template-columns: 2fr 1fr 1fr 3fr;
  grid-template-areas: "cate red red blue"
                       "cate red red dgrey"
                       "grey grey kgrey dgrey";
 }

}@media (max-width: 1145px) {
   .input-flex{
  justify-content:space-between;
  gap: 40px;
}
.inpx2 {
  padding: 90px 40px;
}
}

@media (max-width:1130px) {
  .header {
    flex-wrap: wrap;
   /* padding-bottom: 0px;
        padding-bottom: 30px;*/
  }
  
 .hero {
  flex-wrap: wrap;
  background-color: #F1F1F1;
 }
.hero-dog {
  order: -1;
  background-color: #F1F1F1;

}

.hero-title {
  font-size: 38px;
}

.address-flex {
  flex-wrap: wrap;
          padding-inline: var(--container-padding-x);
}
.address-wrapp {
 width: 100%;
 text-align:start;
}

.benefit-grid {
   grid-template-columns:2fr 1fr 1fr 3fr;
  grid-template-areas: "cate red red blue"
                        "cate red red dgrey"
                       "grey grey kgrey dgrey";
}

.input-title {
  font-size: 32px;
    margin-left: 0px;
    margin-top: 0px;
    padding-top: 40px;
    text-align: center;
}
  }
  @media (max-width:1080px) {

  .logo {
  margin-bottom: 0px;
 }
    .stock-wrapp {
    flex-direction: column;

  border-bottom: 0px solid #3F3F3F;    align-items: center;

    margin: 30px ;
    }
    .stock-text {
      margin: 30px;
    }

    body {
      font-size: 20px;
    }
  
  }
@media (max-width:955px) {
   .input-mody {
  height: 100px;
 }
 .inpx2 {
  padding: 50px 20px 50px 20px;
 }
}

  @media (max-width: 920px) {
    .header-menu {
      display: none;
      flex-direction: column;
      position: fixed;
      height: 100%;
      width: 100%;
      top: 0; bottom: 0; left: 0; right: 0;
      z-index:50;
      overflow-y: auto;
      padding: 50px 10px;
    } 
	.uslugi-text-block {
    width: 100%;
    height: auto;
	padding:10px}
	.uslugi-text-block2 {
    width: 100%;
    height: auto;
	padding:10px}
    .header-menu-list {
      flex-direction: column;
  border: 1px solid #3F3F3F;
      row-gap: 5px;
    }
    .header-menu-item {
  border-bottom: 1px solid #3F3F3F;
    }
     .burger {
      display: flex;
    }
    .header-logo {
      order: -1;
    margin-left: 0px;    width: 80px;    }
    .header {
      justify-content:space-between;
      gap: 15px;
      flex-wrap: wrap;
  z-index: 50;        margin-bottom: 0px;
  
        padding: 0 20px;
    }
.vak-text-block {
    width: 100%;
    height: 320px;
    background: #F1F1F1;
    color: var(--color-blue);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
    margin-top: 0px;
    margin-bottom: 110px;
    line-height: normal;
}
.vak-text-block p {
padding: 8px 25px 50px 25px;}
.vak-button-branch {
	        min-height: 20px;
        min-width: 190px;
	
}
.vak-button-branch {
padding: 30px 73px;
        font-size: 18px !important;
		
    text-align: center;
		}

.hero-dog2{
height: 400px }

.vak-buttons {
gap: 10px;
    padding-top: 5px;
    justify-content: space-around;
	
	}
	
    .header-menu-list {
        height: 300px;
        border-radius: 13px;
    }
.services-price {
    padding: 0 0 50px 0;
    text-align: center;
    }
.services-price2 {
    padding: 0 0 50px 0;
    text-align: center;
    }
.question-wrapp{
    padding-inline: 0px;
}
  
.question_name{
    padding-inline: var(--container-padding-x);
    padding: 15px 10px 15px 15px;
}
  
.benefit-grid {
  display: flex;
  flex-direction: column;
  }
  .benefit-cate {
    display: none;
  }
  .benefit-blue {
    order: 1;
  }
  .cervices {
    margin-top: 30px;
  }
  h2 {
    font-size: 30px;text-align: center;
        margin-left: 0px;
  }
 .cervices-menu-link {
  font-size: 24px;
 }
 .question_name {
  font-size: 30px;
}
}
/* Адаптация для мобильных устройств - улучшение существующей версии */
@media (max-width: 768px) {
  /* Общие исправления */
  .container {
    padding-inline: 15px;
  }
  
  h1, .hero-title {
    font-size: 32px !important;
    line-height: 1.2;
  }
  
  h2, h3 {
    font-size: 28px !important;
    margin-left: 0 !important;
    text-align: center !important;
    margin-bottom: 30px !important;
  }
  
  /* Шапка */
  .header {
    padding: 15px;
    flex-wrap: wrap;
    gap: 15px;
  }
  
.hero2 {
    display: flex;
    justify-content: space-around;
    align-items: flex-start;
    gap: 10px;
        flex-direction: column-reverse;
  }

  .header-logo img {
    width: 100px;
    height: auto;
  }
  
  .header-menu {
    order: 3;
    width: 100%;
  }
  
  .header-menu-list {
    margin-left: 0;
    padding: 10px;
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
    gap: 10px;
  }
  
  .header-menu-item {
    width: calc(50% - 5px);
    text-align: center;
  }
  
  .header-menu-link {
    font-size: 16px;
    justify-content: center;
  }
   .expert-text {
    font-size: 14px;
  }
  .header-book-button {
    order: 2;
    font-size: 14px;
    padding: 8px 16px;
    height: 40px;
  }
  
  /* Герой */
  .hero {
    flex-direction: column;
    padding: 15px;
    margin-bottom: 30px;
  }
  
  .hero-text-block {
    width: 100%;
    height: auto;
    padding: 20px;
    margin-top: 0;
    border-radius: 15px;
  }
  
  .hero-dog {
    width: 100%;
    height: auto;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
    padding-top: 20px;
  }
  
  .hero-button-record,
  .hero-button-branch {
    width: 100%;
    justify-content: center;
  }
  
  /* Преимущества */
  .benefit {
    padding: 15px;
  }
  
  .benefit-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .comon {
    padding: 15px;
    font-size: 16px;
  }
  
  .benefit-cate {
    height: auto;
    display: none; /* Скрываем картинку кота на мобильных */
  }
  
  /* Услуги */
  .cervices {
    margin-top: 60px;
    padding: 15px;
  }
  
  .cervices-menu {
    padding: 0;
  }
  
  .cervices-menu-item {
    width: 100%;
  }
  
  .cervices-menu-link {
    font-size: 18px;
    line-height: 50px;
    padding: 0 15px;
  }
  
  /* Специалисты */
  .expert {
    margin-top: 60px;
    padding: 15px;
  }
  
  .expert-swiper {
    padding: 0;
  }
  
  .expert-card {
    max-width: 100%;
  }
  
  .expert-info {
    height: auto;
    min-height: 150px;
  }
  
  /* Адреса */
  .address {
    margin-top: 60px;
    padding: 15px;
  }
  
  .address-flex {
    flex-direction: column;
  }
  
  .address-wrapp,
  .address-grid {
    width: 100%;
  }
  .address-grid {
  grid-gap: 5px;}

  .address_list {
    padding: 15px;
  }
  
  .address_name {
    font-size: 18px;
    padding: 10px 0;
  }
  
  .address_name-wrapp {
    max-width: 100%;
  }
  
  .address-button,
  .address-button2 {
    width: 100%;
    max-width: 100%;
  }
  
  /* Спецпредложения */
  .stock {
    margin-top: 60px;
    padding: 15px;
  }
  
  .stock-wrapp {
    flex-direction: column;
  }
  
  .stock-text {
    margin: 10px 0;
    padding: 20px;
  }
  
  /* Вопросы */
  .question {
    margin: 60px 0px;
    padding: 5px;
  }
  
  .question_name {
    font-size: 18px;
    padding: 12px 20px;
  }
  
  .question_list[open] {
    padding: 10px;
  }
  
  /* Форма */
  .input {
    padding: 15px;
    border-radius: 15px;
  }
  
  .input-title {
    margin-left: 0;
    padding-top: 20px;
    font-size: 24px;
    text-align: center;
  }
  
  .input-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .input-wrapp {
    min-width: 100%;
  }
  
  .checkbox-container {
    flex-direction: column;
    gap: 15px;
  }
  
  label {
    font-size: 12px;
  }
  
  /* Футер */
  .footer {
    padding: 15px;
  }
  
  .footer-flex {
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
  }
  
  .footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .futer-nav-item {
    width: calc(50% - 5px);
  }
  
  .futer-document-item {
    line-height: 1.4;
  }
  
  /* Модальное окно */
  .modal-content {
    padding: 20px;
    width: 95%;
  }
  
  .close-button {
    right: 10px;
    top: 10px;
  }
}

/* Особо маленькие экраны */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px !important;
  }
  
  h2, h3 {
    font-size: 24px !important;
  }
  
  .header-menu-item {
    width: 100%;
  }
  
  .burger {
    display: flex;
  }
  
  .header-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 99%;
    height: 55vh;
    background: white;
    padding-top: 80px;
    transition: left 0.3s ease;
    z-index: 10;
    overflow-y: auto;
  }
  
.dropdown[open] {
margin-left: -135px; z-index: 1000;
position: fixed;}
  
  .header-menu.open {
    left: 0;
  }
  
  .header-menu-list {
    flex-direction: column;
    height: auto;
    background: transparent;
  }
  
  .header-menu-item {
    width: 100%;
    border-bottom: 1px solid #eee;
  }
  
  .header-menu-link {
    padding: 18px 40%;
    justify-content: flex-start;
  }
  
  /* Дропдаун на мобильных */
  .dropdown-content {
    position: static;
    box-shadow: none;
    background: #f9f9f9;
    margin-left: 0;
      padding: 0 0px;
}
  /* Карточки специалистов */
  .expert-info {
    padding: 10px;
  }
  
  .expert-title {
    font-size: 16px;
  }
  
  .expert-text {
    font-size: 14px;
  }
  
  /* Кнопки слайдера */
  .swiper-button-prev,
  .swiper-button-next {
    width: 40px;
    height: 40px;
  }
  
  .button {
    font-size: 14px;
    height: 40px;
    padding-inline: 20px;
  }
}

/* Планшеты */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding-inline: 30px;
  }
  
  h2, h3 {
    margin-left: 30px;
  }
  
  .hero-text-block {
    width: 50%;
    padding: 30px;
  }
  
  .hero-dog {
    width: 50%;
    height: auto;
  }
  
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "cate red"
      "blue grey"
      "dgrey kgrey";
  }
}

/* Исправление для всех мобильных устройств */
@media (hover: none) and (pointer: coarse) {
  /* Увеличиваем область нажатия для кнопок и ссылок */
 
  /* Убираем hover эффекты на тач-устройствах */
  .button:active {
    opacity: 0.8;
  }
}

/* Улучшение читаемости текста на мобильных */
@media (max-width: 768px) {
  body {
    font-size: 16px;
    line-height: 1.5;
  }
  
  p {
    margin-bottom: 1em;
  }
}
/* Исправление для выпадающего меню на мобильных */
@media (max-width: 480px) {
  .dropbtn {
    width: 100%;
    text-align: left;
    padding: 15px;
  }
.address_list::after {
top: 25px;}
  
  .dropdown-content a {
    padding: 5px 10px;
    font-size: 16px;
  }
}

/* Адаптация карты */
@media (max-width: 768px) {
  .map {
    margin-top: 60px;
    height: 300px;
  }
  
  .map iframe {
    height: 300px;
  }
}

/* Адаптация модального окна для очень маленьких экранов */
@media (max-width: 360px) {
  .modal-content {
    padding: 15px;
    width: 100%;
    margin: 0 10px;
  }
  
  .input-input {
    font-size: 16px;
  }
}

/* Адаптация для планшетов и промежуточных разрешений (768px - 1440px) */
@media (min-width: 768px) and (max-width: 1439px) {
  /* Общие настройки */
  .container {
    padding-inline: 30px;
  }
  
  /* Шапка */
  .header {
    justify-content: space-between;
    padding: 20px 30px;
    flex-wrap: nowrap;
  }
  
  .header-menu-list {
    margin-left: 0px;
    column-gap: 5px;
  }
  
  .header-menu-link {
    font-size: 18px;
  }
  
  .header-book-button {
    padding-inline: 20px;
    font-size: 16px;
  }
  
  /* Герой блок */
  .hero {
    align-items: center;
    gap: 30px;
        background-color: #F1F1F1;
  }
  
  .hero-text-block {
    width: 50%;
    height: auto;
    min-height: 400px;
    padding: 40px;
  }
  
  .hero-dog {
    width: 45%;
    height: auto;
    max-height: 500px;
  }
  
  .hero-title {
    font-size: 42px;
    line-height: 1.1;
  }
  
  .hero-text-block p {
    font-size: 18px;
  }
  
  /* Преимущества */
  .benefit-grid {
    grid-gap: 15px;
  }
  
  .comon {
    padding: 20px;
    font-size: 16px;
  }
  
  .benefit-cate {
    height: 320px;
  }
  
  .benefit-img {
    top: -120px;
	max-width: 80%;
  }
  
  /* Услуги */
  .cervices {
    margin-top: 80px;
  }
  
  .cervices-menu-link {
    font-size: 26px;
    line-height: 65px;
  }
  
  /* Специалисты */
  .expert {
    margin-top: 100px;
  }
  
  .expert-card {
    max-width: 320px;
  }
  
  .expert-info {
    height: 170px;
  }
  
  .expert-title {
    font-size: 14px;
  }
  
  .expert-text {
    font-size: 14px;
  }
  
  /* Адреса */
  .address {
    margin-top: 100px;
  }
  
  .address-flex {
    gap: 30px;
  }
  
  .address-wrapp {
    width: 100%;
  }
  
  .address-grid {
    width: 100%;
  }
  
  .address_name {
    font-size: 20px;
  }
  
  /* Спецпредложения */
  .stock {
    margin-top: 100px;
  }
  
  .stock-text {
    padding: 40px 30px;
  }
  
  /* Вопросы */
  .question {
    margin-top: 100px;
    margin-bottom: 100px;
  }
  
  .question_name {
    font-size: 24px;
    padding: 15px 20px 15px 30px;
  }
  
  /* Форма */
  .input-title {
    margin-left: 60px;
    font-size: 32px;
    padding-top: 30px;
  }
  
  .input-row {
    gap: 20px;
  }
  
  .input-wrapp {
    min-width: 250px;
  }
  
  label {
    font-size: 14px;
  }
  
  /* Футер */
  .footer-flex {
    padding: 40px 30px;
  }
  
  .footer-nav-list {
    line-height: 40px;
  }
  
  .futer-document-link {
    font-size: 14px;
  }
  
  /* Скрытие больших марджинов у заголовков */
  h2, h3 {
    margin-left: 60px !important;
  }
  
  /* Услуги - подстраиваем меню */
  .cervices-menu-item {
    width: 48%;
    display: inline-block;
    margin-bottom: 10px;
  }
  
  .cervices-menu-vse {
    width: 100%;
  }
  
  /* Сетка преимуществ - оптимизация */
  .benefit-red,
  .benefit-blue {
    padding: 20px 25px;
  }
}

/* Адаптация для средних планшетов (900px - 1100px) */
@media (min-width: 900px) and (max-width: 1100px) {
  /* Дальнейшая оптимизация шапки */
  .header-menu-list {
    margin-left: 30px;
    column-gap: 10px;
  }
  
  .header-menu-link {
    font-size: 16px;
  }
  
  /* Герой - балансировка */
  .hero-text-block {
    padding: 30px;
  }
  
  .hero-title {
    font-size: 36px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .hero-button-record,
  .hero-button-branch {
    width: 100%;
    justify-content: center;
  }
  
  /* Специалисты - адаптация слайдера */
  .expert-swiper {
    max-width: 90%;
    margin: 0 auto;
  }
  
  /* Адреса - адаптация изображений */
  .address-grid {
    grid-gap: 15px;
  }
  
  /* Форма - адаптация полей */
  .input-wrapp {
    min-width: 45%;
  }
}

/* Адаптация для узких планшетов (768px - 899px) */
@media (min-width: 768px) and (max-width: 899px) {
  /* Более компактная шапка */
  .header-menu-list {
    margin-left: 20px;
    column-gap: 15px;
    padding-inline: 15px;
  }
  
  .header-menu-link {
    font-size: 15px;
  }
  
  .header-book-button {
    padding-inline: 15px;
    font-size: 14px;
  }
  
  /* Герой - адаптация для узких экранов */
  .hero {
    flex-direction: column;
  }
  
  .hero-text-block,
  .hero-dog {
    width: 100%;
  }
  
  .hero-dog {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-text-block {
    min-height: auto;
  }
  
  /* Преимущества - перестраиваем сетку */
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: 
      "cate red"
      "blue grey"
      "dgrey kgrey";
  }
  
  .benefit-cate {
    height: 300px;
  }
  
  /* Услуги - делаем двухколоночную сетку */
  .cervices-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .cervices-menu-item {
    width: 48%;
    margin-bottom: 15px;
  }
  
  .cervices-menu-link {
    font-size: 22px;
    line-height: 55px;
  }
  
  /* Адреса - вертикальное расположение */
  .address-flex {
    flex-direction: column;
  }
  
  .address-wrapp,
  .address-grid {
    width: 100%;
  }
  
  /* Вопросы - уменьшаем шрифт */
  .question_name {
    font-size: 22px;
  }
  
  /* Футер - адаптируем колонки */
  .footer-flex {
    flex-wrap: wrap;
    gap: 40px;
  }
  
  .footer-wrapp,
  .footer-nav,
  .footer-wrapp-address {
    width: 100%;
  }
  
  .footer-nav-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .futer-nav-item {
    width: calc(33.333% - 15px);
  }
}
@media (min-width: 1100px) and (max-width: 1440px) {
  .uslugi-img {
    max-width: 30%;
}
.uslugi-text-block2 {
    width: 60%;
    height: auto;
}
}
/* Адаптация для разрешений около 1200px */
@media (min-width: 1100px) and (max-width: 1300px) {
  /* Оптимизация для широких планшетов и небольших ноутбуков */
  .header-menu-list {
    margin-left: 0px;
  }
  
  .hero-text-block {
    padding: 50px 40px;
  }

  .hero-title {
    font-size: 50px;
  }
  
  /* Преимущества - корректировка размеров */
  .benefit-grid {
    grid-template-columns: 1.8fr 1fr 1fr 2.2fr;
  }
  
  .benefit-cate {
    height: 350px;
  }
  
  /* Специалисты - больше карточек в видимой области */
  .expert-swiper .swiper-slide {
    width: calc(33.333% - 20px);
  }
  
  /* Форма - улучшение отступов */
  .input-title {
    margin-left: 80px;
  }
  
  /* Футер - балансировка колонок */
  .footer-flex {
    justify-content: space-between;
    gap: 40px;
  }
  
  .footer-wrapp {
    width: 30%;
  }
  
  .footer-nav {
    width: 25%;
  }
  
  .footer-wrapp-address {
    width: 35%;
  }
}

/* Специальная адаптация для высоты экрана */
@media (max-height: 768px) and (min-width: 768px) {
  .hero-text-block {
    height: auto;
    min-height: 300px;
  }
  
  .benefit-cate {
    height: 250px;
  }
  
  .benefit-img {
    top: -30px;
  }
}

/* Оптимизация для планшетов в портретной ориентации */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .header {
    flex-wrap: nowrap;
  }
  
  .header-menu {
    order: 3;
    width: 100%;
    margin-top: 15px;
  }
  
  .header-menu-list {
    margin-left: 0;
    justify-content: center;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text-block,
  .hero-dog {
    width: 60%;
  }
      .address-grid {
	  width: 100%;}
  
  .hero-dog {
    order: -1;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .benefit-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Оптимизация для планшетов в альбомной ориентации */
@media (min-width: 1024px) and (max-width: 1366px) and (orientation: landscape) {
  .hero-text-block {
    height: 450px;
  }
      .hero-title {
        font-size: 30px;
    }
    .hero-text-block {
        padding: 10px;
        flex-direction: row;
    }
	.benefit-img {
        top: 30px;
        max-width: 110%;
    }

      .hero-text-block p {
        font-size: 14px;
    }
	    .hero-buttons {
        padding-top: 0px;
    }
	    .hero-buttons {
        flex-direction: row;
        gap: 5px;
    }

  .benefit-grid {
    grid-template-columns: 1.5fr 1fr 1fr 2.5fr;
  }
  
  .cervices-menu-link {
    font-size: 28px;
  }
}

/* Исправление для очень широких планшетов (более 1200px но меньше 1440) */
@media (min-width: 1200px) and (max-width: 1439px) {
  .container {
    max-width: 1200px;
  }
  
  .header-menu-list {
    column-gap: 5px;
  }
      .hero-text-block p {
        font-size: 16px;
    }
	.hero-buttons {
    padding-top: 0px;
}
.address-wrapp {
        width: 40%;
    }
	    .benefit-img {
        top: -20px;
        max-width: 100%;
    }

	.address-grid {
    width: 77%;
    min-height: 470px;}
  .hero-title {
    font-size: 35px;
  }
  
  .benefit-grid {
    grid-template-columns: 2fr 1fr 1fr 3fr;
  }
  .hero {
	  
        background-color: #F1F1F1;
  justify-content: center;gap: 0px;}
 .hero-text-block {
        width: 50%;
        height: 465px;
        min-height: 389px;
        padding: 32px;
        margin-top: -7px;
    }
  .comon {
    font-size: 17px;
  }
}

/* Адаптация модального окна для планшетов */
@media (min-width: 768px) and (max-width: 1439px) {
  .modal-content {
    width: 90%;
    max-width: 800px;
    padding: 30px;
  }
  
  .close-button {
    right: 20px;
    top: 20px;
    width: 25px;
    height: 25px;
    line-height: 25px;
  }
  
      .search {
        padding: 10px;
    }
    .price {
        padding: 15px 18px 15px 18px;
        font-size: 14px;
    }
}

/* Улучшение читаемости текста на планшетах */
@media (min-width: 768px) and (max-width: 1439px) {
  body {
    font-size: 18px;
  }
  
  p, li {
    line-height: 2;
        padding: 3px;
  }
  
  .button {
    font-size: 16px;
  }
}

/* Коррекция выпадающего меню на планшетах */
@media (min-width: 768px) and (max-width: 1024px) {
  .dropdown-content {
    min-width: 200px;
  }
  
  .dropdown-content a {
    padding: 8px 12px;
    font-size: 15px;
  }
}

/* Адаптация слайдера для планшетов */
@media (min-width: 768px) and (max-width: 1439px) {
  .swiper-button-prev,
  .swiper-button-next {
    width: 35px;
    height: 35px;
  }
  
  .swiper-pagination {
    bottom: 10px;
  }
}


/* Telegram channel */
.footer-tg-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0 18px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #229ed9;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, transform .15s ease;
}
.footer-tg-channel::before {
  content: "TG";
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  color: #229ed9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .02em;
}
.footer-tg-channel:hover {
  background: #1b8fc7;
  color: #fff;
  text-decoration: none;
}
.footer-tg-channel:active {
  transform: scale(.98);
}
