.border-none {
  border-bottom: none !important;
}

.section {
  opacity: 1;
  transform: translateY(0);
  transition: all 1s;
}

.section--hidden {
  opacity: 0;
  transform: translateY(80px);
}
.modal__title .modal__x {
  color: white;
  font-size: 30px;
}
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  font-size: 62.5%;
  width: 100%;
  height: 100%;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
}

.container {
  max-width: 1200px;
  padding: 0 15px;
  margin: 0 auto;
}

a[href] {
  text-decoration: none;
  display: inline-block;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: #0e0f1c;
  z-index: 100;
}
#preloader img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
@keyframes preloader-anim {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

#preloader.hide-preloader {
  animation: preloader-anim 1s;
}

#preloader.preloader-hidden {
  display: none;
}

.header {
  position: relative;
  min-height: 700px;
  padding: 0 0 72px 0;
  background-image: url('../img/gomes-about-bg.min.webp'),
    url('../img/gomes-about-bg.min.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/*.header::before {*/
/*  content: '';*/
/*  width: 100%;*/
/*  height: 100%;*/
/*  position: absolute;*/
/*  top: 0;*/
/*  left: 0;*/
/*  right: 0;*/
/*  bottom: 0;*/
/*  z-index: 2;*/
/*  background: rgba(0, 0, 0, 0.1);*/
/*}*/

.header__logo {
  margin-right: 100px;
}

.header__button {
  margin-left: 100px;
}

.header__hamburger {
  position: absolute;
  top: 31px;
  right: 28px;
  z-index: 3;
}

.header__hamburger_span {
  width: 35px;
  height: 2px;
  margin-bottom: 8px;
  background-color: #f3f2f8;
  transition: all 0.3s ease-in-out;
}

.header__button-consultation {
  display: none;
}

.header__nav-wrapper {
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  margin: 0 auto;
  align-items: center;
  text-align: center;
}

.header__nav {
  position: relative;
  font-size: 16px;
  line-height: 125%;
  padding: 12px 0;
  transition: all 1s linear;
  z-index: 10;
  backface-visibility: hidden;
}

.header__nav-scrolled {
  width: 100vw;
  display: flex;
  justify-content: space-between;
  position: fixed;
  animation: navbarAnim 2s;
  background-color: #191d48;
  margin-bottom: 10px;
}

.header__links {
  display: flex;
  -moz-column-gap: 24px;
  column-gap: 24px;
}

.header__link .has-submenu {
  transition: all 4s ease;
}

.header .header__link.has-submenu.open > a::after {
  transform: rotate(180deg);
}

.header__submenu {
  display: none;
  margin: 0 auto;
  text-align: center;
  transition: all 3s ease;
  width: 40%;
  padding: 10px 0 0;
}

.header__submenu li a {
  font-size: 15px;
  color: #fff;
  font-weight: 400;
  white-space: nowrap;
  line-height: 125%;
  font-size: 16px;
  letter-spacing: 0.8px;
}

.header__link a {
  color: #f3f2f8;
  font-weight: 400;
  white-space: nowrap;
  line-height: 125%;
  font-size: 16px;
  letter-spacing: 0.8px;
}

.header__link a:hover {
  color: #eca73b;
}

.header__button button {
  width: 167px;
  height: 44px;
  background: transparent;
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid #f3f2f8;
  line-height: 125%;
  letter-spacing: 0.8px;
  color: #f3f2f8;
  font-weight: 400;
  outline: none;
  font-size: 16px;
  cursor: pointer;
}

.header__button button:hover {
  background: #eca73b;
  border: 1px solid #eca73b;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

.header__text {
  position: relative;
  height: 690px;
  display: flex;
  align-items: flex-end;
}

.header__title {
  font-size: 64px;
  max-width: 578px;
  color: white;
  font-weight: 400;
  line-height: 80px;
  letter-spacing: 3.2px;
  padding-bottom: 72px;
  text-shadow: 1px 1px 5px black;
}

.header__icons {
  position: relative;
  z-index: 2;
  display: flex;
  -moz-column-gap: 12px;
  column-gap: 12px;
  justify-content: flex-end;
  padding-right: 20px;
}

.header__icons-img {
  width: 24px;
  height: 24px;
  color: white;
}

.header__icons-img:hover {
  stroke: #eca73b;
}

@keyframes navbarAnim {
  0% {
    opacity: 0;
    top: -50%;
  }
  100% {
    opacity: 1;
    top: 0;
  }
}

.about-doc {
  min-height: 1800px;
  width: 100%;
  padding: 160px 0 159px 0;
  background: url('/img/pageAbout/bg_about-vertical.png') center/cover no-repeat;
}

.about-doc__characteristics {
  display: flex;
  flex-direction: column;
  padding-bottom: 104px;
  border-bottom: 1px solid #eca73b;
  color: #f3f2f8;
}

.about-doc__title {
  max-width: 690px;
  font-size: 24px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 1.2px;
  margin-bottom: 112px;
}

.about-doc__slogan {
  max-width: 590px;
  font-size: 40px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 2px;
  align-self: flex-end;
}

.about-doc__slogan span {
  color: #eca73b;
  font-family: 'Bad Script';
}

.education {
  padding: 72px 0 138px 0;
  color: #f3f2f8;
  border-bottom: 1px solid #eca73b;
}

.education__wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 124px;
}

.education__title {
  margin-bottom: 88px;
  font-size: 36px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 1.8px;
}

.education__item {
  display: flex;
  align-items: flex-start;
  -moz-column-gap: 58px;
  column-gap: 58px;
}

.education__number {
  min-width: 252px;
  white-space: nowrap;
  color: #eca73b;
  font-size: 40px;
  font-weight: 600;
  line-height: 125%;
  letter-spacing: 2px;
}

.education__descr {
  font-size: 24px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 1.2px;
}

.certificate {
  color: #f3f2f8;
  padding: 72px 0;
}

.certificate__title {
  font-size: 36px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 1.8px;
  margin-bottom: 72px;
}

.certificate__wrapper {
  display: flex;
  flex-direction: column;
  row-gap: 32px;
  color: #f3f2f8;
  border-bottom: 1px solid #eca73b;
  padding-bottom: 72px;
}

.certificate__item {
  max-width: 588px;
  font-size: 16px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 0.8px;
}

.certificate__item-right {
  align-self: flex-end;
}

.bottom-descr {
  color: #f3f2f8;
}

.bottom-descr__sup {
  font-size: 20px;
  font-weight: 40;
  line-height: 125%;
  letter-spacing: 1px;
  padding-bottom: 72px;
  border-bottom: 1px solid #eca73b;
}

.bottom-descr__sub {
  font-size: 36px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 1.8px;
  padding-top: 72px;
}

.bottom-descr__sub span {
  padding-top: 15px;
  display: inline-block;
  color: #eca73b;
  font-family: 'Bad Script';
}

.consultation {
  background: url('/img/bg_consultation_compressed.webp') center/cover no-repeat;
  padding: 127px 0 127px 0;
}

.consultation__wrapper {
  display: flex;
}

.consultation__container-form {
  max-width: 50%;
  background: #191d48;
  border-radius: 12px 0 0 12px;
  display: flex;
  flex-direction: column;
  padding: 99px 100px;
}

.consultation__text578 {
  display: none;
}

.consultation__form {
  display: flex;
  flex-direction: column;
  row-gap: 40px;
}

.consultation__form input {
  color: rgba(243, 242, 248, 0.5);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  background: transparent;
  border: none;
  padding: 10px;
  border-bottom: 1px solid #f3f2f8;
  padding-bottom: 4px;
}

.consultation__btn {
  padding: 12px 40px;
  border-radius: 12px;
  border: 1px solid #eca73b;
  display: block;
  background: transparent;
  color: #eca73b;
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 0.8px;
  cursor: pointer;
  z-index: 5;
}
.consultation__textarea {
  padding: 12px;
  color: rgba(243, 242, 248, 0.5);
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  background: transparent;
  resize: none;
  border-radius: 12px;
  border: 1px solid #f3f2f8;
  outline: none;
  margin-bottom: 40px;
}
.consultation__form input::placeholder,
.consultation__textarea::placeholder {
  color: #eca73b;
}

.consultation__btn:hover {
  color: white;
  border: 1px solid white;
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.5);
}

.consultation-image {
  max-width: 50%;
  background: url('../img/consultation2.webp') center/cover no-repeat;
  border-radius: 0 12px 12px 0;
  padding: 28px 66px 54px 126px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.consultation-image img {
  max-width: 100%;
  max-height: 100%;
}

.consultation__text-top {
  color: #f3f2f8;
  font-size: 48px;
  font-weight: 500;
  line-height: 125%;
  letter-spacing: 2.4px;
}

.consultation__text-bottom {
  color: #eca73b;
  font-family: 'Bad Script';
  font-size: 32px;
  font-style: normal;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 1.6px;
  align-self: flex-end;
}

.no-scroll {
  overflow: hidden;
}

.modal {
  position: fixed;
  width: 100%;
  height: 100%;
  background: url('/img/bg_patients.png') center/cover no-repeat;
  z-index: 2000;
  display: none;
  justify-content: center;
  align-items: center;
  transition: all 0.6s ease;
}

.modal__title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 25px;
  text-align: center;
  margin-bottom: 20px;
}

.modal__wrapper {
  display: flex;
  transition: all 0.6s ease;
}

.modal__container {
  padding: 40px;
  background: transparent;
  transition: all 0.6s ease;
}

.modal__close {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 25px;
  background: #eca73b;
  outline: none;
  border: none;
  cursor: pointer;
}

.modal__close:hover {
  color: red;
}
.contacts {
  padding: 40px 0;
  min-height: 600px;
  background: #0e0f1c;
}
.contacts__title {
  color: #eca73b;
  font-size: 48px;
  font-weight: 500;
  line-height: 125%;
  letter-spacing: 2.4px;
  margin-bottom: 50px;
}
.contacts__flex-box {
  display: flex;
  justify-content: space-between;
  align-items: end;
}
.contacts__social {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}
.contacts__block {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
}
.contacts__number,
.contacts__link-email {
  color: #fff;
  font-size: 20px;
  margin: 10px 0;
}
.contacts__map {
  text-align: center;
  width: 50%;
}

/* .contacts  the end  */

.footer {
  padding: 44px 0;
  /* min-height: 123px; */
  background: #191d48;
}
.footer__wrapper {
  display: flex;
  align-items: flex-end;
}
.footer__logo {
  width: 35%;
  /* padding-top: 24px; */
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  row-gap: 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 0.8px;
}
.footer__phone-link {
  color: #f3f2f8;
}
.footer__link-email {
  color: #f3f2f8;
}
.footer__social {
  display: flex;
  -moz-column-gap: 26px;
  column-gap: 26px;
}
.footer__social-icon {
  color: #f3f2f8;
}
.footer__social-icon:hover {
  color: #eca73b;
}
.footer__links {
  max-height: 123px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  column-gap: 40px;
  margin-left: 64px;
}
.footer__links-link {
  color: #f3f2f8;
  font-size: 16px;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: 0.8px;
}
.footer__links-link:hover {
  color: #eca73b;
}
.copy {
  background: #0e0f1c;
  font-size: 20px;
  color: #fff;
  text-align: center;
  padding: 10px;
}
.copy__text {
  font-weight: 200;
}

@media (max-width: 2000px) {
  .header__links {
    width: 401px;
    justify-content: space-around;
  }
  .header__button {
    margin-left: 131px;
  }
  .header__logo {
    margin-right: 170px;
  }
}

@media (max-width: 1200px) {
  .container {
    max-width: 1000px;
  }
  .header__nav {
    justify-content: space-around;
  }
  .header__nav-scrolled {
    justify-content: space-between;
  }
  .header__logo .logo {
    margin-right: 119px;
  }
  
  .rules__wrapper {
    -moz-column-gap: 106px;
    column-gap: 106px;
  }
  .rules__item {
    max-width: 447px;
  }
  .consultation__text-top {
    font-size: 35px;
  }
  .consultation__text-bottom {
    font-size: 27px;
  }
  
  .header__nav-wrapper {
    padding: 20px 20px;
  }
}

@media (max-width: 992px) {
  .header__nav-wrapper {
    max-width: 991px;
  }
  .about__vector-right {
    display: none;
  }
  .container {
    padding: 0 20px;
  }
  .header__nav {
    justify-content: space-around;
  }

  .header__logo {
    margin-right: 67px;
  }
  .consultation__container-form {
    padding: 50px 55px;
  }
  .contacts__wrapper {
    -moz-column-gap: 50px;
    column-gap: 50px;
  }
 
  .contacts {
    min-height: 554px;
  }
  .footer__links {
    max-height: 123px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    column-gap: 40px;
    margin-left: 64px;
  }
}
@media (max-width: 935px) {
  .header__button {
    margin-left: 81px;
  }
}
@media (max-width: 870px) {
  .header__button {
    margin-left: 30px;
  }
}
@media (max-width: 870px) {
  .header__button {
    margin-left: 30px;
  }
  .header__text {
    height: 476px;
  }
  /* test  */
  .header__nav-wrapper {
    padding: 20px 11px;
  }

  /* test  */
}

@media (max-width: 768px) {
  .header {
    background-image: image-set(
      url('../img/gomes-about-bg-768px_compressed.webp') type('image/webp'),
      url('../img/gomes-about-bg-768px.jpg') type('image/jpg')
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
  .header__nav-wrapper {
    margin: 0;
  }
  .header__nav {
    justify-content: space-between;
    z-index: 9;
  }
  
  .header__button {
    display: none;
  }
  .header__hamburger {
    display: block;
  }
  .header__hamburger .header__hamburger_span {
    display: block;
    width: 35px;
    height: 2px;
    margin-bottom: 8px;
    background-color: #f3f2f8;
    transition: all 0.3s ease-in-out;
  }
  .header__submenu {
    transition: all 3s ease-in-out;
  }

  .header__button {
    margin-right: 30px;
  }
  .header__logo {
    padding-left: 20px;
  }
  .header__hamburger.active .header__hamburger_span:nth-child(2) {
    opacity: 0;
  }
  .header__hamburger.active .header__hamburger_span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .header__hamburger.active .header__hamburger_span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
    margin-top: -3px;
  }
  .header__submenu {
    display: none;
    transition: all 0.3s ease;
  }
  .header__link > a::after {
    width: 25px;
    height: 25px;
    content: ' ';
    position: relative;
    top: 20px;
    left: 20px;
    background-image: url('../img/arrow-down.svg');
    background-position: center;
    background-repeat: no-repeat;
  }

  .header__links {
    position: fixed;
    height: 100vh;
    border-right: 1px solid black;
    overflow-y: auto;
    width: 80%;
    left: -100%;
    top: 0;
    bottom: 0;
    flex-direction: column;
    background: rgb(2, 0, 36);
    background: #191d48;
    text-align: center;
    justify-content: center;
    row-gap: 36px;
    transition: all 0.9s;
    z-index: 9;
  }
  .header__links-active {
    left: 0%;
  }

  /* тест  */
  /* Звичайний стан підменю - приховане */
  

  /* Активне підменю */
  .header__link.has-submenu.active-link .header__submenu,
  .header__submenu.submenu-open {
    display: block;
  }

  /* Стрілка у звичайному стані */
  .header__link.has-submenu > a {
    position: relative;
  }

  .header__link.has-submenu > a::after {
    content: '';
    display: block;
    position: absolute;
    top: 10px;
    left: 108%;
    width: 25px;
    height: 25px;
    background-image: url('../img/arrow-down.svg');
    background-repeat: no-repeat;
    transform: rotate(0deg); /* Початкове положення */
    transition: transform 0.3s ease;
  }

  /* Поворот стрілки в активному стані */
  .header__link.has-submenu.active-link > a::after {
    transform: rotate(180deg);
  }
  .header__link a {
    font-size: 30px;
    height: 40px;
  }
  .header__icons {
    padding-right: 6px;
  }
  .consultation-image {
    padding: 28px 31px 54px 28px;
  }
  .consultation__text-top {
    font-size: 30px;
  }
  .container .consultation {
    padding: 0;
  }
  .contacts__map iframe {
    max-height: 365px;
  }
  .footer__links {
    margin-left: 11px;
  }
}
@media (max-width:668px) {
  .contacts__flex-box {
    flex-wrap: wrap;
  }
}

@media (max-width: 578px) {
  .header__text {
    justify-content: center;
    flex-direction: column;
    text-align: center;
    padding-top: 80px;
  }
  .header__ellipse,
  .header__descr,
  .header__icons {
    display: none;
  }
  .header__button {
    display: none;
  }
  .header__descr-maxscreen578 {
    display: block;
    margin-bottom: 52px;
  }
  .header__button-consultation {
    position: relative;
    display: block;
    margin: 0 auto;
    background: #eca73b;
    padding: 12px 47px;
    border-radius: 12px;
    border: 1px solid #eca73b;
    line-height: 125%;
    letter-spacing: 0.8px;
    color: #f3f2f8;
    font-weight: 400;
    font-size: 16px;
    cursor: pointer;
    z-index: 5;
  }
  .header__button-consultation:hover {
    background: #eca73b;
    border: 1px solid #eca73b;
  }
  .header__title {
    font-size: 50px;
  }

  .about-doc__title {
    font-size: 22px;
  }
  .about-doc__slogan {
    font-size: 30px;
  }
  .education__number {
    min-width: 143px;
    font-size: 27px;
  }
  .education__descr {
    font-size: 16px;
  }
  .bottom-descr__sub {
    font-size: 30px;
  }
  .consultation__wrapper {
    display: block;
    
  }
  .consultation__text578 {
    display: block;
    color: #f3f2f8;
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 125%;
    text-align: center;
    letter-spacing: 1.2px;
    padding-bottom: 40px;
  }
  
  .contacts__wrapper {
    flex-direction: column;
    width: 100%;
    text-align: center;
  }
  .consultation-image {
    display: none;
  }
 
  .consultation__container-form {
    border-radius: 12px;
    max-width: 100%;
    background: url('../img/consultation2.webp') center/cover no-repeat;
    padding: 50px 60px;
  }

  .contacts__title {
    font-size: 40px;
    text-align: center;
  }
  .contacts__number {
    margin-bottom: 20px;
  }
  .contacts__social {
    display: block;
  }
 
  .contacts__social_link + .contacts__social_link {
    margin-left: 20px;
  }

  .contacts__map {
    display: block;
    width: 100%;
  }
  .contacts__map iframe {
    width: 100%;
  }
  .footer__wrapper {
    display: block;
    text-align: center;
    margin: 0 auto;
  }

  .footer__logo {
    width: 100%;
    margin-bottom: 32px;
  }

  .footer__links {
    display: block;
    min-height: 166px;
  }
  .footer__links-link {
    margin: 10px 0;
  }
}

@media (max-width: 428px) {
  .header__title {
    font-size: 35px;
    text-align: center;
    letter-spacing: 2.6px;
    line-height: 153%;
  }
  .about-doc__title {
    font-size: 19px;
  }
  .education__title {
    font-size: 30px;
  }
  .about-doc__slogan {
    font-size: 23px;
  }
  .education__item {
    flex-direction: column;
  }
  .education__number {
    margin-bottom: 10px;
  }
  .certificate__title {
    font-size: 30px;
  }
  .bottom-descr__sub {
    font-size: 23px;
  }
  .consultation__container-form {
    padding: 50px 40px;
  }
  .consultation__text578 {
    font-size: 20px;
  }
  .container.consultation__wrapper {
    padding: 0;
  }

  .education__wrapper {
    row-gap: 50px;
  }
  .modal__wrapper {
    padding: 20px;
  }
  .modal__form input {
    width: 350px;
  }
  .modal__form textarea {
    width: 350px;
  }
}

@media (max-width: 419px) {
  .service__name {
    width: 339px;
  }
  .about-doc__title {
    font-size: 17px;
  }
  .about-doc__slogan {
    font-size: 20px;
  }
  .about-doc {
    padding: 80px 0 80px 0;
  }
  .education__wrapper {
    row-gap: 56px;
  }
  .certificate__title {
    font-size: 25px;
  }
  .certificate__item {
    font-size: 15px;
  }
  .bottom-descr__sup {
    font-size: 16px;
  }
  .bottom-descr__sub {
    font-size: 20px;
  }
}

@media (max-width: 375px) {
  .header__logo {
    padding-left: 0;
  }
  .consultation__text578 {
    font-size: 19px;
  }
}
