* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: hidden;
  width: 100%;
}
body {
  position: relative;
  margin: 0;
  font-size: 20px;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  background: #ffffff;
}
a {
  font-size: 14px;
  text-decoration: none;
}
p {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
  color: #556987;
}
li {
  list-style: none;
}
li a {
  padding: 20px;
  color: #000;
  text-decoration: none;
  font-size: 14px;
}
header .row {
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
}
.main .column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: transparent;
  padding: 50px;
  margin: 10px;
  gap: 20px;
  border-radius: 20px;
  max-width: 50%;
}
.main .column .adv span {
  font-size: 20px;
  margin-left: 20px;
}
.main .column span,
button span,
a span {
  font-size: 14px;
}

.main a,
a {
  display: flex;
  align-items: center;
}
label {
  font-size: 14px;
}

button {
  border: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.primary {
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  border-radius: 14px;
  display: flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid #3e8cff;
  background: #3e8cff;
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.secondary {
  background: transparent;
  display: flex;
  font-size: 17px;
  font-style: normal;
  font-weight: 500;
  padding: 12px 20px;
  justify-content: center;
  color: #3e8cff;
  align-items: center;
  border-radius: 14px;
  border: 1px solid var(--Primary, #3e8cff);
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.wp {
  background-color: #27ae60;
  color: white;
  border-radius: 44px;
  padding: 20px;
  text-decoration: none;
  margin-right: 10px;
}
.tel {
  background-color: #2d9cdb;
  color: white;
  border-radius: 44px;
  padding: 20px;
  text-decoration: none;
}
.main .slick-prev:before,
.main .slick-next:before {
  font-family: "slick";
  font-size: 44px;
  line-height: 1;
  opacity: 0.75;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0px 0px 15px #00000029;
}
.otlichiya .row {
  align-items: center;
}
.slick-prev,
.slick-next {
  z-index: 12;
  width: 44px !important;
  height: 44px !important;
}
.main .slick-prev {
  left: 100px;
}
.main .slick-next {
  right: 100px;
}
section {
  padding: 50px 0;
}
.container {
  max-width: 1440px;
  width: 95%;
  margin: 0 auto;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: inherit;
  gap: 20px;
  align-items: center;
}
.column {
  flex: 1;
}
.menu {
  display: flex;
  align-items: center;
}
.menu ul {
  display: flex;
}
h1 {
  font-size: 42px;
  text-transform: uppercase;
  font-weight: 800;
}
h2 {
  color: var(--Black, #2a3342);
  font-family: Inter;
  font-size: 32px;
  font-style: normal;
  font-weight: 600;
  line-height: 40px; /* 125% */
  margin-bottom: 40px;
}
.center {
  text-align: center;
}
.left {
  text-align: left;
}
.white {
  color: white;
}
h3 {
  color: white;
  text-transform: uppercase;
}
.grid {
  display: grid;
  grid-template-columns: 31.6% 31.6% 31.6%;
  gap: 2%;
  grid-template-rows: 220px 220px;
}
.grid .block_1 {
  grid-column: 1;
  grid-row: 1 / 3;
}
.grid .block_4 {
  grid-column: 2 / 4;
  grid-row: unset;
}
.block {
  padding: 20px;
  border-radius: 20px;
  display: flex;
  align-items: end;
}
.adv {
  display: flex;
  padding: 14px 0px 14px 10px;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.05);
  flex: 1;
}

.buttons {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.buttons a {
  padding: 22px 26px;
  border-radius: 22px;

  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 20px;
}

.wp {
  background-color: #27ae60;
  color: white;
}
.call {
  background-color: #2d9cdb;
  color: white;
}
.site {
  background-color: transparent;
  color: #2d9cdb;
  border: 2px solid #2d9cdb;
}
.man {
  width: 100%;
}
.diff p,
.diff span {
  text-align: center;
}
.diff p {
  color: var(--Black, #2a3342);

  font-size: 20px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px; /* 120% */
}
.diff span {
  color: var(--gray-500, #556987);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px; /* 150% */
}
#advantages .column img {
  width: 100%;
}
.gallery .slick-slide img {
  display: block;
  width: 100%;
}
.gallery .slider-for .slick-slide img {
  display: block;
  width: 100%;
  height: 70vh;
  max-height: 500px;
  object-fit: cover;
  border-radius: 20px;
}
.slider.slider-nav.slick-initialized.slick-slider {
  border-radius: 20px;
  padding: 10px;
  background: black;
  margin-top: -60px;
}
.gallery .slick-prev:before,
.gallery .slick-next:before {
  font-family: "slick";
  font-size: 44px;
  line-height: 1;
  opacity: 1;
  color: #83dbf6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.gallery .slick-next {
  right: 0px;
}
.gallery .slick-prev {
  left: 0px;
}
section#specialist {
  background: url(./src/bg2.png);
  background-size: cover;
}
#specialist .slick-prev:before,
#specialist .slick-next:before {
  font-size: 44px;
  line-height: 1;
  opacity: 1;
  color: #83dbf6;
}
.doctor {
  border-radius: 24px;
  background: #fff;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  padding: 12px 12px 30px 12px;
  flex-direction: column;

  gap: 24px;
  margin: 15px;
}
.doctor span.name {
  font-size: 20px;
  font-weight: bold;
}
.stazh {
  color: var(--gray-500, #556987);
  font-size: 14px;

  line-height: 20px; /* 142.857% */
}
.txt {
  display: flex;

  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.doctor span {
  color: var(--gray-500, #556987);
  font-family: Inter;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
}

.column {
  display: flex;
  flex-direction: column;
  padding: 0 20px;
}
.space-evenly {
  justify-content: space-evenly;
}
.otlichiya .column {
  max-width: 33%;
}
.diff {
  display: flex;
  padding: 16px;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 1px solid rgba(62, 140, 255, 0.17);
  background: #fff;
  box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.05);
}
.icon {
  background: #f1fafb;
  padding: 18px;
  border-radius: 15px;
}
section#advantages {
  background: url(./src/bg3.png);
  background-size: cover;
}
#advantages .column {
  align-items: flex-start;
}
p {
  font-size: 16px;
}
span {
  font-size: 12px;
}
#articles img {
  width: 100%;
}
.column.transparent {
  background: transparent;
}
.footer {
  background-color: #83daf6;
}
/** accordion**/
/* Style the buttons that are used to open and close the accordion panel */
.accordion {
  background-color: #fff;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  border-radius: 20px;
  justify-content: space-between;
  outline: none;
  transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active {
  background-color: #fff;
  border-radius: 20px 20px 0 0px;
}
.accordion:hover {
  background-color: #fff;
}

/* Style the accordion panel. Note: hidden by default */
.panel {
  padding: 0 18px;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  margin-bottom: 10px;
  transition: max-height 0.2s ease-out;
  border-radius: 0 0px 20px 20px;
}
.accordion:after {
  content: "\02795"; /* Unicode character for "plus" sign (+) */
  font-size: 13px;
  color: #777;
  float: right;
  margin-left: 5px;
}

.active:after {
  content: "\2796"; /* Unicode character for "minus" sign (-) */
}
#guarantee p {
  font-size: 16px;
  text-transform: uppercase;
  font-weight: bold;
  text-align: center;
}

#menu__toggle {
  display: none;
}
input {
  border: none;
  border-radius: 12px;
  background: var(--White, #fff);
  display: flex;
  height: 48px;
  padding: 10px 14px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
}
input[type="submit"] {
  border-radius: 14px;
  border: 1px solid #ffffff;
  background: #3e8cff;
  display: inline-flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  /* Shadow/xs */
  box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
  color: white;
}
#form {
  background: url(./src/Block4.png);
  background-size: cover;
}
form {
  display: flex;
  gap: 20px;
  flex-direction: column;
  width: 60%;
  margin: 0 auto;
}
footer {
  background: #3056d3;
}
footer .column {
  gap: 20px;
}
footer p {
  color: #fff;
  font-size: 15px;
}
footer .menu {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}
footer .menu ul {
  display: flex;
  flex-direction: column;
  padding-inline-start: 0;
}
footer li a {
  padding: 20px 0;
  color: #ffffff;
  text-decoration: none;
  font-size: 15px;
}
footer .phone {
  display: flex;
  gap: 20px;
}
footer .phone a {
  color: white;
}
.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.contact {
  display: flex;
  align-items: center;
  padding: 20px;
  background: white;
  border-radius: 50px;
  gap: 10px;
}
.menu__btn {
  display: none;
}
#modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#modal_bg {
  background: #0000004f;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.modal_inner {
  background: white;
  width: 90%;
  max-width: 500px;
  border-radius: 20px;
  padding: 20px;
  position: absolute;
  transform: translate(-50%, -50%);
  top: 50%;
  left: 50%;
  right: 0;
  text-align: center;
}
.modal_inner h3 {
  color: black;
  text-transform: uppercase;
}
#modal.show {
  display: block;
}
#modal input {
  display: flex;
  height: 48px;
  padding: 10px 14px;
  align-items: center;
  gap: 8px;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid var(--gray-200, #d5dae1);
  background: var(--White, #fff);
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}
#modal input[type="submit"] {
  background: #3e8cff;
}
.social {
  display: flex;
  gap: 10px;
}
.social a {
  padding: 10px;
  border: 1px solid #fff;
  border-radius: 41px;
}

.XXXXX__slide img {
  margin: 0 auto;
  max-width: 100%;
}
.fix-block {
    position: fixed;
    bottom: 0;
    width: 100%;
    left: 0;
    right: 0;
}
.wp-block {
    background: #37aa49 !important;
}
.fix-block a {
    display: block;
    text-align: center;
    padding: 15px 0px;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    text-decoration: none;
}
.fix-block .phone-block {
    width: 50%;
    float: left;
    background: #3056d3;
}

.slick-slider:not(.hero__slider) .slick-prev + .slick-list .slick-slide {
  padding: 0 35px;
}

.slick-slider:not(.hero__slider) .slick-prev:before,
.slick-slider:not(.hero__slider) .slick-next:before {
}

.slick-lightbox .slick-slider:not(.hero__slider) .slick-prev:before,
.slick-lightbox .slick-slider:not(.hero__slider) .slick-next:before {
  color: var(--arrow-color-lightbox);
}

.slick-slider:not(.hero__slider) .slick-prev,
.slick-slider:not(.hero__slider) .slick-next {
  height: initial;
  width: initial;
  z-index: 4;
}

.slick-slider:not(.hero__slider) .slick-prev {
  left: 0;
}

.slick-slider:not(.hero__slider) .slick-next {
  right: 0;
}

.slick-lightbox .slick-slider:not(.hero__slider) .slick-prev {
  left: 15px;
}

.slick-lightbox .slick-slider:not(.hero__slider) .slick-next {
  right: 15px;
}
.slick-prev:before,
.slick-next:before {
  font-size: 44px;
  line-height: 1;
  opacity: 1;
  color: #83dbf6;
}
@media only screen and (min-width: 1600px) {
  .slick-slider:not(.hero__slider) .slick-prev + .slick-list .slick-slide {
    padding: 0;
  }

  .slick-slider:not(.hero__slider) .slick-prev {
    left: unset;
    right: calc(100% + 30px);
  }

  .slick-slider:not(.hero__slider) .slick-next {
    left: calc(100% + 30px);
    right: unset;
  }
}

.slick-lightbox .slick-slider:not(.hero__slider) .slick-prev {
  left: 30px;
  right: unset;
}

.slick-lightbox .slick-slider:not(.hero__slider) .slick-next {
  right: 30px;
  left: unset;
}

@media screen and (max-width: 769px) {
  .logo img {
    max-width: 80%;
  }
  .logo {
    text-align: center;
  }
  .container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
  }
  header .contacts {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-direction: column;
  }
  .main .column {
    padding: 0px;
  }
  .main .column img {
    width: 100%;
  }
  .grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .row {
    flex-direction: column;
    gap: 10px;
    align-items: inherit;
  }
  .otlichiya .column {
    max-width: 100%;
  }
  #form img {
    width: 100%;
  }
  .main .column {
    max-width: 100%;
  }
  h1 {
    font-size: 30px;
  }
  h2 {
    font-size: 24px;
  }
  .menu__box {
    display: block;
    position: fixed;
    visibility: hidden;
    top: 0;
    left: -100%;
    width: 90%;
    height: 100%;
    margin: 0;
    padding: 80px 20px;
    list-style: none;
    text-align: center;
    background-color: #ffffff;
    box-shadow: 1px 0px 6px rgba(0, 0, 0, 0.2);
  }
  .hamgurger {
    z-index: 9999999;
  }
  /* скрываем чекбокс */
  #menu__toggle {
    opacity: 0;
  }
  .menu ul {
    display: flex;
    flex-direction: column;
  }
  /* стилизуем кнопку */
  .menu__btn {
    display: flex; /* используем flex для центрирования содержимого */
    align-items: center; /* центрируем содержимое кнопки */
    position: fixed;
    top: 20px;
    left: 20px;
    width: 26px;
    height: 26px;
    cursor: pointer;
    z-index: 1;
  }
  /* добавляем "гамбургер" */
  .menu__btn > span,
  .menu__btn > span::before,
  .menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #616161;
  }
  .menu__btn > span::before {
    content: "";
    top: -8px;
  }
  .menu__btn > span::after {
    content: "";
    top: 8px;
  }
  #menu__toggle:checked ~ .menu__btn > span {
    transform: rotate(45deg);
  }
  #menu__toggle:checked ~ .menu__btn > span::before {
    top: 0;
    transform: rotate(0);
  }
  #menu__toggle:checked ~ .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
  }
  #menu__toggle:checked ~ .menu__box {
    visibility: visible;
    left: 0;
  }
  .main .slick-prev {
    left: 10px;
  }
  .main .slick-next {
    right: 10px;
  }
  form {
    width: 100%;
  }
}
