:root{
  --grey: #a09a9a ;
   --greydarck: #4d4d4d ;
  --red: #be0202 ;
  --whight: #fff;
  --black: #000;
   --radius: 25px;   /* btn радиус со строкой 'px' — проще и надёжнее */
    --stroke: 2px;    /*btn ширина линии */
}
body {
  margin: 0;
  font-size: 14px;
  color: #000000;
  background-color: #fff;
  height: 100%;
  font-family:'Open Sans',sans-serif;
  overflow-x: hidden;
}
@font-face {
  font-family: "Ruberoid";
  src: url(Ruberoid-font/Ruberoid-Bold.otf);
}
*,
*:before,
*:after {
  box-sizing: border-box;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 10px 0;
  font-family: "Ruberoid", sans-serif;
}
ul {
  padding-left: 0;
  list-style-type: disc;
}
li  {
  margin-bottom: 15px;
  margin-left: 15px;
}
a  {
  color: var(--black);
  text-decoration: none;
}
p  {
  margin: 10px;
}
/*CONTAINER 
================================================*/
.container {
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 15px;
}
/*HEADER 
================================================*/
.header {
  height: auto;
  width: 100%;
  position: sticky;
  background-color: var(--whight);
  top: 0;
  left: 0;
  z-index: 1000;
}
.header__inner {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  align-items: center;
}
.header__logo img {
  width: 100%;
  height: 56px;
}

.header2__inner {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  background-color: var(--grey);
  box-shadow: 0 2px 2px #000000;
}

/*===NAVIGATION===*/
.nav {
  display: flex;
  size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
}
.nav_link {
  margin-left: 50px;

  text-decoration: none;
  opacity: 0.75;
  transition: .1 linear;
  cursor: pointer;
}
.nav_link:first-child {
  margin-left: 35px;
}
.nav_link:hover {
  opacity: 1;
}
.nav2 {
  display: flex;
  size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  font-size: 13px;
  text-align: right;
  width: 100%;
  max-width: 1290px;
  margin: 0 auto;
  padding: 0 10px;
  }
.nav_link2 {
  margin-left: 50px;
  color:var(--whight);
  text-decoration: none;
  opacity: 0.75;
  transition: 0.1 linear;
  cursor: pointer;
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 14px;
}
.nav_link2:first-child {
  margin-left: 7px;
}
.nav_link2:hover {
  opacity: 1;
}
/*==DROPDAWN==*/
.dropdown {
  float: left;
}
.dropdown .dropbtn {
  text-decoration: none;
  opacity: 0.75;
  max-height: 90px;
  overflow: hidden auto;
  border-radius: 5px;
  text-transform: uppercase;
  font-size: 13px;
}
.navbar a:hover, .dropdown:hover .dropbtn {
  opacity: 1;
}
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #e4b976;
  min-width: 160px;
  box-shadow: 4px 3px 15px 1px rgba(73, 37, 9, 0.5);
  z-index: 1;
  max-height: 300px;
  overflow: hidden auto;
  border-radius: 5px;
  margin-top: 2px;
}
.dropdown-content a {
  float: none;
  color: #492509;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
}
.dropdown-content a:hover {
  background-color: rgb(255, 255, 255);
}
.dropdown:hover .dropdown-content {
  display: block;
}
/*===BUTTON===*/
.btn__intro {
  display: inline-block;
  vertical-align: top;
  padding: 20px 40px;
  width: 300px;
  min-width: 280px;
  cursor: pointer;
  font-size: 20px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  margin: 10px 20px;
  border-radius: 5px;
  background-image: linear-gradient(
    45deg,
    #e4b976 30%,
    #e7d5ba 50%,
    #c7913c 100%
  );
  background-position: 100% 0;
  background-size: 200% 200%;
  box-shadow: 0 10px 15px 0 rgba(73, 37, 9, 0.5);
  transition: 0.5s;
}
.btn__intro:hover {
  box-shadow: 0 10px 15px 0 rgba(41, 18, 1, 0.5);
  background-position: 0 0;
}
.bloc_btn  {
  margin: 0 20px;
}
.btn--miniup {
  text-decoration: none;
  display: inline-block;
  padding: 0;
  margin: 0px 10px;
  width: auto;
  margin-top: auto;
  }
.btn--mini {
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  padding: 11px 9px 7px 9px;
  margin: 0px 10px;
  width: auto;
  background-image: linear-gradient(
    45deg,
     #353434 30%, #ffffff 50%, #060606 100%
  );
  background-position: 100% 0;
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 3px 7px 0 rgba(73, 37, 9, 0.5);
  transition: 0.5s;
 
}
.btn--mini:hover {
  box-shadow: 0 3px 7px 0 rgba(41, 18, 1, 0.5);
  background-position: 0 0;
}
.btn--miniup {
  text-decoration: none;
  font-size: 16px;
  display: inline-block;
  padding: 11px 9px 7px 9px;
  margin: 0px 10px;
  width: auto;
  background-image: linear-gradient(
    45deg,
     #353434 30%, #ffffff 50%, #060606 100%
  );
  background-position: 100% 0;
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 3px 7px 0 rgba(73, 37, 9, 0.5);
  transition: 0.5s;
 
}
.btn--miniup:hover {
  box-shadow: 0 3px 7px 0 rgba(73, 37, 9, 0.5);
  background-position: 0 0;
}
/* кнопка intro */
.btn-roof{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
}
.btn-roof-up{
  width: 150px;
  height: 25px;
  box-sizing: border-box;
  background-color: transparent;
  border-bottom: #be0202 25px solid;
  border-left: transparent solid 25px;
  border-right: transparent solid 25px;
 opacity: 0;
  margin: 0;
}
.border-button {
  text-decoration: none;
  display: inline-block;
  padding: 20px 30px;
  margin: 0px 20px;
  position: relative;
  color: white;
  border: 1px solid rgba(255, 255, 255, .7);
  background: var(--grey);
  font-weight: 300;

  text-transform: uppercase;
  letter-spacing: 2px;
}
.btn-roof:hover .btn-roof-up{
  opacity: 1;
  transition: 0.6s;
}
.border-button:before, .border-button:after {
  content: "";
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  box-sizing: border-box;
}
.border-button:before {
  bottom: 0;
  left: 0;
  border-left: 5px solid rgb(255, 255, 255);
  border-top: 5px solid rgb(255, 255, 255);
  transition: 0s ease opacity .4s, .1s ease width .2s, .1s ease height .6s;
}
.border-button:after {
  top: 0;
  right: 0;
  border-right: 5px solid rgb(255, 255, 255);
  border-bottom: 5px solid rgb(255, 255, 255);
  transition: 0s ease opacity .2s, .1s ease width, .1s ease height .1s;
}
.border-button:hover:before, 
.border-button:hover:after {
  height: 100%;
  width: 100%;
  opacity: 1;
}
.border-button:hover:before {
  transition: 0s ease opacity 0s, .1s ease height, .1s ease width .1s;
}
.border-button:hover:after {
  transition: 0s ease opacity .2s, .1s ease height .2s, .1s ease width .3s;
}
.border-button:hover {
  background: rgba(255, 255, 255, .5);
  color: #000;
}


/* INTRO */
.introdp__title {
  margin: 200px 20px 20px 20px;
  font-size: 60px;
  color: var(--black);
  font-weight: 700;
  text-shadow: 2px 2px 2px var(--whight);
  line-height: 1.2em;
}
.introdp__subtitle {
  margin: 20px 20px 20px 20px;
  font-size: 40px;
  color: var(--black);
  text-shadow: 2px 2px 2px var(--whight);
  line-height: 1.2em;
}
.introdp__text  {
  font-size: 20px;
  line-height: 1.5;
  font-weight: 700;
  text-shadow: 2px 3px 3px #c37639;
  margin: 20px;
}

/* Slider INTRO */
#slider33{
  width:100%;
  height:799px;
  position:relative;
  overflow:hidden;
}
@keyframes load{
  from{left:-100%;}
  to{left:0;}
}
.slides33{
  width:400%;
  height:100%;
  position:relative;
  -webkit-animation:slide 20s infinite;
  -moz-animation:slide 20s infinite;
  animation:slide 20s infinite;
}
.slider33{
  width:25%;
  height:100%;
  float:left;
  position:relative;
  z-index:1;
  overflow:hidden;
}
.slide33 img{
  width:100%;
  height:100%;
}
.image33{
  width:100%;
  height:100%;
}
.image33 img{
  width:100%;
  height:auto;
}
#image33-slide1{
  background: url('img/slaider/falkenpost-building-1629180.jpg')  ;
  background-size:cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  height:100%;
  width: auto;
}
#image33-slide2{
  background: url('img/slaider/glady-roof-2587752.jpg')  ;
  background-size:cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  height:100%;
  width: auto;
}
#image33-slide3{
  background: url('img/slaider/tan2-cottage-768889.jpg')  ;
  background-size:cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  height:100%;
  width: auto;
}
#image33-slide4{
  background: url('img/slaider/loggawiggler-roof-51306_1920.jpg')  ;
  background-size:cover;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  height:100%;
  width: auto;
}
/* Contents */
.content33{
  width:100%;
  height:100%;
  position:absolute;
  overflow:hidden;
}
.content-txt33{
      width: 100%;
    max-width: 1100px;
    margin: 0 0;
    text-align: left;
    padding-top: 30px;
    padding-bottom: 50px;
  animation:content-s 5s infinite;
}
.content-txt33 h1{
  margin-left:30px;
  padding-bottom:10px;
  margin-right: 40px;
}
.content-txt33 h2{
  text-align:left;
  margin-left:30px;
}
/* Switch */
.switch{
  width:120px;
  height:10px;
  position:absolute;
  bottom:50px;
  z-index:99;
  left:30px;
}
.switch > ul{
  list-style:none;
}
.switch > ul > li{
  width:10px;
  height:10px;
  border-radius:50%;
  background:#fff;
  float:left;
  margin-right:-10px;
  cursor:pointer;
}
.switch ul{
  overflow:hidden;
}
.on{
  width:100%;
  height:100%;
  border-radius:50%;
  background:#492509;
  position:relative;
  -webkit-animation:on 20s infinite;
  -moz-animation:on 20s infinite;
  animation:on 20s infinite;
}
/* Animation */
@-webkit-keyframes slide{
  0%,100%{margin-left:0%;}
  21%{margin-left:0%;}
  25%{margin-left:-100%;}
  46%{margin-left:-100%;}
  50%{margin-left:-200%;}
  71%{margin-left:-200%;}
  75%{margin-left:-300%;}
  96%{margin-left:-300%;}
}
@-moz-keyframes slide{
  0%,100%{margin-left:0%;}
  21%{margin-left:0%;}
  25%{margin-left:-100%;}
  46%{margin-left:-100%;}
  50%{margin-left:-200%;}
  71%{margin-left:-200%;}
  75%{margin-left:-300%;}
  96%{margin-left:-300%;}
}
@keyframes slide{
  0%,100%{margin-left:0%;}
  21%{margin-left:0%;}
  25%{margin-left:-100%;}
  46%{margin-left:-100%;}
  50%{margin-left:-200%;}
  71%{margin-left:-200%;}
  75%{margin-left:-300%;}
  96%{margin-left:-300%;}
}
@-webkit-keyframes on{
  0%,100%{margin-left:0%;}
  21%{margin-left:0%;}
  25%{margin-left:15px;}
  46%{margin-left:15px;}
  50%{margin-left:30px;}
  71%{margin-left:30px;}
  75%{margin-left:45px;}
  96%{margin-left:45px;}
}
@-moz-keyframes on{
  0%,100%{margin-left:0%;}
  21%{margin-left:0%;}
  25%{margin-left:15px;}
  46%{margin-left:15px;}
  50%{margin-left:30px;}
  71%{margin-left:30px;}
  75%{margin-left:45px;}
  96%{margin-left:45px;}
}
@keyframes on{
  0%,100%{margin-left:0%;}
  21%{margin-left:0%;}
  25%{margin-left:15px;}
  46%{margin-left:15px;}
  50%{margin-left:30px;}
  71%{margin-left:30px;}
  75%{margin-left:45px;}
  96%{margin-left:45px;
  }
}
@-webkit-keyframes content-s{
  0%{left:-420px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}
@-moz-keyframes content-s{
  0%{left:-420px;}
  10%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}
@keyframes content-s{
  0%{left:-420px;}
  10%{left:20px;}
  15%{left:0px;}
  30%{left:0px;}
  40%{left:0px;}
  50%{left:0px;}
  60%{left:0px;}
  70%{left:0;}
  80%{left:-420px;}
  90%{left:-420px;}
  100%{left:-420px;}
}

/*===FEATURES ===*/
.features__top {
  flex-direction: column;
  justify-content: center;
  text-align: center;
  margin: 40px 0;
}
.features__titletop {
  font-size: 40px;
  line-height: 1.2;

  font-weight: 600;
  text-transform: uppercase;
}
.features__subtitle {
  font-size: 22px;
  line-height: 50px;

  font-weight: 600;
}
.features {
  display: flex;
  flex-wrap: wrap;
  margin: 40px 0;
  justify-content: center;
}
.features__item {
  width: 25%;
  text-align: center;
  padding: 0 25px;
  margin: 25px 0;
}
.feature__img {
  margin-bottom: 30px;
  width:50px;
  height: auto;
  border-radius: 5px;
  /* box-shadow: 0 2px 7px 0 rgba(73, 37, 9, 0.5); */
}
.features__tittle {

  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.features__text {

  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}
/* БЛОК С ЦИФРАМИ */
.cifre-inner{
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  margin-bottom: 40px;
}
.cifre{
  width: 30%;
  box-sizing: border-box;
  height: 200px;
  border-left: var(--red) 1px solid;
  padding: 10px 20px;
 
}
.cifre-numbers{
  font-size: 80px;
}
/* ABOUT US */
.about{
  background-color: var(--grey);
  display: block;
  padding: 40px 0;
  text-align: left;
}
.trust__inner  {
  margin: 0 0;

}
.trust__card  {
  display: flex;
  flex-wrap: wrap;
  margin: 40px 0;
}
.trust__content  {
  width: 50%;
  text-align: left;
}
.trust__subtitle  {
  text-align: left;
  font-weight: 600;

  font-size: 16px;
  margin-bottom: 40px;
}
.trust__text  {
  font-weight: 400;
  text-align: left;
  
  font-size: 16px;
}
.trust__photo  {
  width: 50%;
}
.close  {
  display: none;
}  
.trust__photo> img  {
  width: 70%;
  text-align: center;
  border-radius: 10px;
  margin: 10px 10px;
  box-shadow: 5px 5px 0  rgba(168, 2, 2 );

}
.white  {
  height: 900px;
  padding: 350px 0;
}



/* accordeon-roof */

.accordion-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Элемент списка */
.accordion-item2 {
    border-bottom: 1px solid #e0e0e0;
}

/* Скрываем нативный чекбокс */
.accordion-checkbox {
    display: none;
}

/* Кнопка-строка. Используем display: flex для распределения колонок */
.accordion-header {
    width: 100%;
    display: flex;
    padding: 30px 0;
    cursor: pointer;
    user-select: none;
}

/* Первая колонка: Тип объекта */
.col-type {
    width: 30%; /* Задает ширину первой колонки */
    font-size: 16px;
    color: #999999;
    font-weight: normal;
    padding-right: 20px;
    align-self: flex-start;
}

/* Вторая колонка: Название, подзаголовок и кнопка */
.col-content {
    width: 70%; /* Задает ширину второй колонки */
    position: relative;
    padding-right: 60px; /* Отступ справа, чтобы текст не налегал на круглую кнопку */
}

.title-accordeon {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #111111;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.subtitle-accordeon {
    display: block;
    font-size: 14px;
    color: #aaaaaa;
}

/* Круглая кнопка плюса */
.toggle-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid #cccccc;
    border-radius: 50%;
    transition: all 0.3s ease;
}

/* Отрисовка линий плюса с помощью CSS псевдоэлементов */
.toggle-btn::before, .toggle-btn::after {
    content: '';
    position: absolute;
    background-color: #555555;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

/* Горизонтальная палочка */
.toggle-btn::before {
    top: 20px;
    left: 14px;
    width: 14px;
    height: 2px;
}

/* Вертикальная палочка */
.toggle-btn::after {
    top: 14px;
    left: 20px;
    width: 2px;
    height: 14px;
}


/* --- Логика выпадающего блока --- */

.accordion-body {
    max-height: 0;
    overflow: hidden;
    /* Плавное открытие по высоте */
    transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Внутренняя обертка контента повторяет двухколоночную структуру шапки */
.accordion-body-inner {
    display: flex;
}

/* Пустой блок шириной в 30% сдвигает контент во вторую колонку */
.body-spacer {
    width: 30%;
}

/* Контент во второй колонке */
.body-content {
    width: 70%;
    padding-bottom: 30px;
    padding-right: 60px;
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}


/* --- Анимации при открытии (когда чекбокс выбран) --- */

/* 1. Плавный поворот плюса и превращение его в минус/крестик (вертикальная палочка исчезает) */
.accordion-checkbox:checked ~ .accordion-header .toggle-btn::after {
    transform: rotate(90deg);
    opacity: 0;
}

/* 2. Изменение фона или рамки круглой кнопки при активации */
.accordion-checkbox:checked ~ .accordion-header .toggle-btn {
    border-color: #111111;
    background-color: #111111;
}

.accordion-checkbox:checked ~ .accordion-header .toggle-btn::before {
    background-color: #ffffff; /* Меняем цвет оставшейся полоски на белый */
}

/* 3. Открытие блока (max-height должен быть заведомо больше, чем высота вашего текста) */
.accordion-checkbox:checked ~ .accordion-body {
    max-height: 500px; 
}

/* Ховер эффект при наведении на строку */
.accordion-header:hover .toggle-btn {
    border-color: #111111;
}


/* --- Адаптивность под мобильные экраны --- */
@media (max-width: 768px) {
    .accordion-header, .accordion-body-inner {
        flex-direction: column;
    }
    
    .col-type {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .col-content {
        width: 100%;
    }
    
    .body-spacer {
        display: none; /* На мобилках скрываем пустой отступ */
    }
    
    .body-content {
        width: 100%;
        padding-top: 10px;
    }
}
.variable-width> img{
  height: 300px;
}




/*FOOTER ======================*/
.footer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: auto;
  background-color: var(--grey);
  background-size: cover;
  position: relative;
  z-index: 2;
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0;
  padding: 30px 0;
  justify-content: center;
}
.footer__block {
  width: 50%;
  text-align: center;
  padding: 0 15px;
}
.footer__title {
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 25px;
}
.footer__adress {
  font-size: 16px;

  font-weight: 400;
  line-height: 1.5;
  flex-wrap: wrap;
  font-style: normal;
}

.footer__text {
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
 
}
.contact__text {
  font-size: 16px;
 
  font-weight: 400;
  line-height: 0.7;
  flex-wrap: wrap;
  font-style: normal;
}
.nav__footer {
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 25px;
}

/*SOCIAL LINK
================================================*/
.social {
  display: flex;
  text-align: center;
}
.social--footer {
  justify-content: center;
}
.social__item {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 10px;
  width: 40px;
  height: 40px;
  margin-top: 20px;
  background-color: #fff;
  border: 1px solid #ffffff;
  border-radius: 5px;
  transition: backgraund 1s linear;
  box-shadow: 0 2px 10px 0 rgba(2, 5, 71, 0.5);
}
.social__item > img {
  width: 25px;
  height: 25px;
}
.social__item:hover {
  background-color: var(--grey);
  box-shadow: 0 0;
}
.social--footer .social__item {
  margin-bottom: 30px;
  background-color: var(--grey);
  border: 1px solid #ffffff;
  border-radius: 5px;
  box-shadow: 0 7px 15px 0 #ffffff;
}
.social--footer .social__item:hover {
  background-color: #000000;
  box-shadow: 0 0;
  transition: 00.2s;
}

/*COPYRIGHT ======================*/
.copyright {
  background-color: var(--greydarck);
  padding: 20px 0;
  z-index: -10000;
}
.copyright__text {
  text-align: center;
  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
.copyright__text span {
  color: #ffffff;
  font-weight: 600;
}
/*BURGER ======================*/
.burger {
  display: none;
}

/*OPTOMETRIA
================================================*/
.optometria {
  margin-top: 60px;
  background: #ffffff url(img/primavisita/xray-dentist-tr.webp);
  background-size: cover;
  height: auto;
  justify-content: center;
}
.optometria__inner {
  display: flex;
  height: auto;
  margin: 0 auto;
}
.optometria__content {
  width: 60%;
  position: relative;
  margin: 20px 30px;
}
.optometria__title {
  font-size: 50px;
  line-height: 1.2;
  font-weight: 400;
  color: #492509;
  padding: 15px;
}
.optometria__subtitle  {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;

  text-align: left;
}
.optometria__text  {
  font-size: 18px;
  line-height: 1.2;
  font-weight: 400;
  text-align: left;
  padding: 10px;
  text-align: left;
}
.optometria__text> li{
  text-align: left;
}
.optometria__photo {
  width: 40%;
  position: relative;
  margin: 40px 20px;
  justify-content: center;
  text-align: center;
}
.optometria__photoinside {
  display: none;
  width: 40%;
  position: relative;
  margin: 40px 20px;
  justify-content: center;
  text-align: center;
}
.optometria__img {
  width: 100%;
  border-radius: 15px;
  padding: 20px 20px;
  box-shadow: 0 2px 7px 0 rgba(73, 37, 9, 0.5);
}

/* SLIDER in ACCORDEON */
.slider-container {
  max-width: 100%;
  margin: 40px auto;
  padding: 0 20px;
  font-family: sans-serif;
}

.slider-viewport {
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.slider-track {
  display: flex;
  gap: 15px; /* Отступ между слайдами */
  transition: transform 0.4s ease-out;
  will-change: transform;
}

.slide {
  flex-shrink: 0;
  height: 300px; /* Одинаковая высота для всех картинок */
}

.slide img {
  height: 100%;
  width: auto; /* Автоматическая ширина пропорционально высоте */
  display: block;
  object-fit: cover;
  border-radius: 6px;
}

.slider-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 15px;
}

.nav-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #333;
  background-color: transparent;
  color: #333;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.nav-btn:hover:not(:disabled) {
  background-color: #333;
  color: #fff;
}

/* Стили для отключенных кнопок */
.nav-btn:disabled {
  border-color: #ccc;
  color: #ccc;
  cursor: not-allowed;
  opacity: 0.5;
}
/*MEDIA ======================*/

/* 1400 */
@media only screen and (max-device-width: 1400px) {
  #image33-slide1,
  #image33-slide2,
  #image33-slide3,
  #image33-slide4 {
       background-attachment: scroll;
  }
 
  }

/* 991 */
@media (max-width: 991px) {
  /* Navigation*/
  .nav {
    display: none;
    flex-direction: column;
    text-align: right;
    position: absolute;
    top: 100%;
    right: 15px;
    background-color:#e4b976;
    box-shadow: 4px 3px 15px 1px rgba(73, 37, 9, 0.5);
    ;
  }
  .nav.show {
    display: flex;
  }
  .nav_link {
    padding: 15px 15px;
  }
  .dropdown  {
    margin: 10px 0;
  }
  /* Burger*/
  .burger {
    display: block;
    background: none;
    border: 0;
    padding: 10px 3px;
    cursor: pointer;
  }
  .burger__item {
    display: block;
    width: 30px;
    height: 1px;
    background-color: #492509;
    font-size: 0;
    color: transparent;
    position: relative;
  }
  .burger__item::before {
    content: "#";
    width: 26px;
    height: 100%;
    top: -8px;
    position: absolute;
    right: 0;
    z-index: 1;
    background-color: #492509;
  }
  .burger__item:after {
    content: "#";
    width: 34px;
    height: 100%;
    bottom: -8px;
    position: absolute;
    right: 0;
    z-index: 1;
    background-color: #492509;
  }
  /* Intro*/

  .features__titletop {
    font-size: 30px;
  }
  .features__item {
    width: 50%;
  }

  .footer__block  {
    padding: 0 0;
  }
  
} /*991*/
/*950=======*/
@media (max-width: 941px) {

  .download__text  {
    margin: 0;
  }
  .telefone  {
    display: none;
  }
  .team__item  {
    padding: 0 0;
  }
}
/*950*/
/*850=======*/
@media (max-width: 850px) {
  .locatie  {
    display: none;
  }
  .optometria__img  {
    padding: 10px;
  }
}
/*850*/


/*800*/
@media (max-width: 800px) {
  #intro, .intro  {
    padding-top: 30px;
  }
  .intro__inner  {
    justify-content: center;
    text-align: center;
  }

}
/*767*/
@media (max-width: 767px) {
  /* Intro*/
  .intro {
    height: auto;
    padding-top: 130px;
    padding-bottom: 30px;
  }
  .introdp__subtitle {
    font-size: 20px;
   
  }
  .features {
    margin: 40px 0;
  }
  .features__item {
    width: 100%;
  }
  .download {
    margin: 50px;
  }
  .download__title {
    font-size: 22px;
  }
  .footer__inner {
    padding: 30px 0;
  }
  .footer__block {
    width: 100%;
    margin-bottom: 30px;
  }
  .footer__block:last-child {
    margin-bottom: 0;
  }
  .nav__footer {
    display: none;
  }
  p  {
    margin: 5px;
  }
  .introdp__img {
    margin-left: 20px;
    height: 150px;
  }
  .introdp__title {
    font-size: 30px;
    margin: 180px 20px 20px 20px;
  }
  .btn__intro cumparbtn  {
    margin: 20px 0;
  }
  .introdp__text, .download__text, .optometria__text {
    font-size: 16px;
  }
  #slider33  {
    height: 500px;
  }
  .trust__content  {
    width: 100%;
  }
  .open  {
    display: none;
  }
  .close  {
    display: block;
    width: 90%;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
  }
  .features .btn__intro  {
    margin: 0 auto;
  }
  .team__item  {
    width: 45%;
  }
  .optometria__photo  {
    display: none;
  }
  .optometria  {
    margin-top: 0;
  }
  .optometria__content  {
    width: 100%;
    margin: 15px 0;
  }
  .optometria__photoinside  {
    display: block;
    width: 100%;
    margin: 0 0;
  }
  .optometria__title  {
    font-size: 30px;
  }


} /*767*/ 

/*550=======*/
@media (max-width: 550px) {
  .hide {
    display: none;
  }
  .team__item  {
    width: 100%;
  }
.download  {
  margin: 0;
}
.features__item {
  padding: 0;
}
.image-comparison  {
  width: 350px;
}
}
/*550*/

/*414*/
@media (max-width: 414px) {
  .nav_link2  {
    margin-left: 20px;
  }
  .btn__intro  {
    min-width: 200px;
    width: 200px;
    font-size: 16px;
  }
  .features__item {
    width: 100%;
  }
  .download {
    margin: 20px 0px;
  }
 .title__develop,  .features__titletop  {
    font-size: 27px;
  }
  .image-comparison  {
    width: 300px;
  }
  
  .trust__photo> img {
    width: 100%;
} /*414*/
  .bloc_btn  {
    margin: 0 0;

}

}