@import url('https://gusarov-group.by/wp-content/themes/Gusarov/components/seo-accordion/seo-accordion.css');

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Header
    - Header top
        - Header top menu
    - Header bottom  
        - Header bottom menu
# Main 
# Mobile menu
- Modals
# Animations
    - Fade in down
--------------------------------------------------------------*/

/* # Header */
header.header-sticky {
  background-color: #fff !important;
  box-shadow: 0px 1px 3px rgb(0 0 0 / 15%);
}

.header-sticky-on {
  position: fixed;
  z-index: 1020;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  -webkit-animation: fadeInDown 0.5s;
  animation: fadeInDown 0.5s;
}

.fix_new_menu {
  margin: 0 !important;
}

header .container:after {
  display: none;
}

@media (min-width: 1400px) {
  header .container {
    max-width: 1400px;
  }
}

@media (min-width: 1600px) {
  header .container {
    max-width: 1560px;
  }
}

@media (max-width: 767px) {
  header.header-sticky {
    background-color: #ffc24b !important;
  }
}

/* Header top */
.header-top {
  border-bottom: 1px solid #a19a9a;
  padding: 0.75rem 0;
}

.header-top>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-direction: row !important;
}

.header-top__column {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
}

.success-cases {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.success-cases>svg {
  stroke: #ff9d23;
  width: 1.5rem;
  height: 1.5rem;
}

.success-cases>a,
.success-cases>div {
  font-family: 'Century Gothic';
  color: #000;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: underline;
}

.success-cases>a:hover {
  color: #000;
  text-decoration: underline;
}

.separator {
  height: 2rem;
  width: 1px;
  background: #a19a9a;
}

.telegram {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  cursor: pointer;
}

.telegram>svg {
  width: 2.5rem;
  height: 2.5rem;
  fill: #1b92d1;
}

.telegram>div {
  font-family: 'Century Gothic';
  color: #000;
  font-weight: 700;
  font-size: 1rem;
}

.telegram>div::after,
.header-top__phone::after {
  content: '';
  display: block;
  background-color: #000;
  width: 0%;
  height: 1px;
  -webkit-transition: width 0.3s ease-in-out;
  -moz--transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
}

.telegram:hover>div::after,
.header-top__phone:hover::after {
  width: 100%;
}

.header-top__phone {
  color: #000 !important;
  font-family: 'Century Gothic';
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.header-top__phone:hover {
  color: #000;
}

@media (max-width: 767px) {
  .telegram>svg {
    fill: #393333;
  }
}

/* Header top menu */
.header-top__menu>ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.header-top__menu>ul>li>a {
  color: #393333 !important;
  font-family: 'Century Gothic';
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.header-top__menu>ul>li>a:after {
  content: '';
  display: block;
  background-color: #393333;
  width: 0%;
  height: 1px;
  -webkit-transition: width 0.3s ease-in-out;
  -moz--transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
}

.header-top__menu>ul>li>a:hover:after {
  width: 100%;
}

/* Header bottom */
.header-bottom {
  padding: 0.625rem 0;
}

.header-bottom>div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding-right: calc(var(--bs-gutter-x) * 0.5);
  padding-left: calc(var(--bs-gutter-x) * 0.5);
  margin-right: auto;
  margin-left: auto;
  flex-direction: row !important;
}

.header-bottom__logo {
  width: 197px;
  height: 25px;
  text-decoration: none;
  transform: scale(1.15);
}

.header-bottom__logo>svg {
  width: 100%;
  height: 100%;
  fill: #393333;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-bottom__button {
  padding: 0.625rem 30px;
  background: #ffcf5c;
  color: #393333;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-family: 'Century Gothic';
}

.header-bottom__menu-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 1.75rem;
  height: 1.75rem;
  cursor: pointer;
}

.header-bottom__menu-icon>svg {
  width: 100%;
  height: 100%;
  fill: #393333;
}

@media (max-width: 767px) {
  .header-bottom__logo {
    width: 150px;
    height: 20px;
  }
}

/* Header bottom menu */
.header-bottom__menu>ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.header-bottom__menu>ul>li {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}

.header-bottom__menu>ul>li>.dropdown-toggle {
  background: transparent;
  border: none;
  padding: 0rem 0.25rem;
  padding-top: 0.35rem;
}

.header-bottom__menu>ul>li>.dropdown-toggle:after {
  content: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTciIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNyAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE1IDJMOC41MTg5NyA4TDIgMi41IiBzdHJva2U9IiMyNjMyMzgiIHN0cm9rZS13aWR0aD0iMiIgc3Ryb2tlLWxpbmVjYXA9InNxdWFyZSIvPgo8L3N2Zz4K);
  border: none;
}

.header-bottom__menu>ul>li>a {
  color: #393333;
  font-family: 'Century Gothic';
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}

.header-bottom__menu>ul>li>a:after {
  content: '';
  display: block;
  background-color: #393333;
  width: 0%;
  height: 1px;
  -webkit-transition: width 0.3s ease-in-out;
  -moz--transition: width 0.3s ease-in-out;
  transition: width 0.3s ease-in-out;
}

.header-bottom__menu>ul>li>a:hover:after {
  width: 100%;
}

.header-bottom__menu .dropdown-menu {
  display: none;
  flex-direction: column;
  border: none;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: 0rem;
  width: 235px;
  box-shadow: 2px 10px 10px rgba(25, 33, 37, 0.19),
    2px 10px 11px rgba(25, 33, 37, 0.19);
}

@media (max-width: 1399px) {
  .header-bottom__menu>ul>li>a {
    font-size: 1rem;
  }
}

@media (min-width: 992px) {
  .header-bottom__menu>ul>li>.dropdown-menu {
    width: 470px;
    padding: 1.25rem;
    gap: 1rem;
  }

  .header-bottom__menu>ul>li>.dropdown-menu .dropdown-toggle {
    display: none;
  }

  .header-bottom__menu>ul>li>.dropdown-menu.show {
    display: grid;
    grid-template-columns: 1fr 1fr;
    top: 0.5rem !important;
  }

  .header-bottom__menu>ul>li>.dropdown-menu .dropdown-menu {
    display: flex;
    position: relative;
    top: 0;
    box-shadow: none;
    width: fit-content;
    padding: 0;
    padding-top: 1rem;
  }

  .header-bottom__menu>ul>li>.dropdown-menu .dropdown-menu a {
    font-size: 0.75rem;
  }
}

.header-bottom__menu .dropdown-menu.show {
  display: flex;
}

.header-bottom__menu .dropdown-menu li {
  padding: 0rem;
}

.header-bottom__menu>ul>li>.dropdown-menu>li>a:hover {
  text-decoration: underline;
}

.header-bottom__menu>ul>li>.dropdown-menu>li>a,
.header-bottom__menu .dropdown-menu li>a:hover {
  font-weight: 600;
}

.header-bottom__menu .dropdown-menu li a {
  color: #393333;
  font-family: 'Century Gothic';
  font-size: 0.875rem;
  font-weight: 400;
  text-decoration: none;
  display: block;
}

/* # Main */
/* Page template */
/* First screen */
.first-screen {
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: contain;
  background-color: #393333;
  min-height: 562px;
}

.first-screen__grid {
  display: grid;
  grid-template-areas:
    'title title'
    'description .'
    'form person';
  gap: 2rem;
  grid-column-gap: 5rem;
  padding: 3rem 2rem;
}

.first-screen__grid>h1,
.first-screen__title {
  grid-area: title;
  font-family: 'RadiateSans';
  font-weight: 800;
  font-size: 2rem;
  color: #ffc24b;
  text-transform: uppercase;
  margin: 0;
  max-width: 800px;
}

.first-screen__description {
  grid-area: description;
  font-family: 'TTFirs';
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  max-width: 500px;
}

.first-screen__form {
  grid-area: form;
  max-width: 350px;
  background-color: rgba(2525, 255, 255, 0.2);
  padding: 2rem;
}

.first-screen__form .modal__button {
  background-color: #ffc24b;
  color: #393333;
  padding: 1rem;
  border: none;
}

.first-screen__person {
  grid-area: person;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  justify-content: flex-end;
}

.first-screen__person .person__name {
  font-family: 'TTFirs';
  background-color: #ffc24b;
  font-weight: 800;
  color: #393333;
  padding: 0.75rem 1.5rem;
}

.first-screen__person .person__experience {
  font-family: 'Century Gothic';
  font-weight: 500;
  color: #fff;
  margin: 0;
  padding: 1.25rem 0.75rem;
  padding-left: 1.5rem;
  background: rgb(11 9 21 / 60%);
  box-shadow: 0 0.25rem 0.25rem rgba(0, 0, 0, 0.25);
  border-radius: 0.625rem;
  max-width: 450px;
  list-style-type: disc !important;
}

.first-screen__person .person__experience>li {
  list-style-type: disc !important;
}

.first-screen__person .person__experience>li::marker {
  color: #ffc24b;
}

@media screen and (max-width: 1399px) {
  .first-screen {
    background-position: 550px;
  }
}

@media screen and (max-width: 1299px) {
  .first-screen {
    background-position: 450px;
  }
}

@media screen and (max-width: 1199px) {
  .first-screen {
    background-position: 340px;
  }

  .first-screen__title {
    font-size: 2rem;
    max-width: 650px;
  }
}

@media screen and (max-width: 1099px) {
  .first-screen {
    background-position: 300px;
  }
}

@media screen and (max-width: 991px) {
  .first-screen {
    /* background: url(../images/sections/first-screen/gusarov.webp); */
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: 250px;
    background-color: #393333;
  }

  .first-screen__grid {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    text-align: left;
  }

  .first-screen__title {
    max-width: 550px;
  }

  .first-screen__person {
    display: none;
  }
}

@media screen and (max-width: 890px) {
  .first-screen {
    background-position-x: 200px;
  }
}

@media screen and (max-width: 767px) {
  .first-screen {
    /* background: url(../images/sections/first-screen/gusarov-mob.webp); */
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #393333;
    background-position: center top;
  }

  .first-screen__title,
  .first-screen__form {
    width: 100%;
    max-width: 100%;
  }

  .first-screen__title {
    font-size: 1.875rem;
  }

  .first-screen__grid {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    text-align: left;
    height: fit-content;
    padding: 0;
    padding-top: 600px;
    padding-bottom: 2rem;
  }
}

@media screen and (max-width: 700px) {
  .first-screen__grid {
    padding-top: 550px;
  }
}

@media screen and (max-width: 650px) {
  .first-screen__grid {
    padding-top: 500px;
  }
}

@media screen and (max-width: 575px) {
  .first-screen__grid {
    padding-top: 450px;
  }
}

@media screen and (max-width: 520px) {
  .first-screen__grid {
    padding-top: 400px;
  }
}

@media screen and (max-width: 450px) {
  .first-screen__grid {
    padding-top: 330px;
  }

  .first-screen__title {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 390px) {
  .first-screen__grid {
    padding-top: 300px;
  }
}

@media screen and (min-width: 1400px) {
  .first-screen__person {
    padding-left: 15%;
  }
}

@media screen and (min-width: 1500px) {
  .first-screen__person {
    padding-left: 17%;
  }
}

@media screen and (min-width: 1600px) {
  .first-screen {
    background-position: 700px 0px;
    background-size: 60%;
  }

  .first-screen__grid {
    padding: 5rem 2rem;
  }
}

@media screen and (min-width: 1800px) {
  .first-screen {
    background-position: 780px -30px;
    background-size: 60%;
  }

  .first-screen__grid {
    padding: 7rem 2rem;
  }
}

@media screen and (min-width: 2000px) {
  .first-screen {
    background-size: cover;
  }
}

/* # Mobile menu */
#mobile-menu {
  background-color: #ffc24b;
  color: #393333;
}

#mobile-menu .offcanvas-header .btn-close {
  opacity: 1;
}

#mobile-menu .offcanvas-body>nav {
  padding: 0rem 1rem;
}

#mobile-menu .offcanvas-body>nav:after {
  content: '';
  display: block;
  background-color: #393333;
  width: 100%;
  height: 2px;
  margin: 20px 0;
}

#mobile-menu .offcanvas-body>nav:last-child:after {
  display: none;
}

#mobile-menu .offcanvas-body>nav>ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

#mobile-menu .offcanvas-body>nav>ul>li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

#mobile-menu .offcanvas-body>nav>ul>li>.dropdown-toggle {
  background: transparent;
  border: none;
}

#mobile-menu .offcanvas-body .dropdown-toggle.show {
  transform: rotate(180deg);
}

#mobile-menu .offcanvas-body>nav>ul>li>.dropdown-menu {
  position: relative !important;
  transform: none !important;
  padding: 0.25rem !important;
  margin-left: 1.5rem !important;
  display: none;
  flex-direction: column;
  gap: 0.75rem;
  background: transparent;
}

#mobile-menu .offcanvas-body>nav>ul>li>.dropdown-menu.show {
  display: flex;
  width: 100%;
  border: none;
}

#mobile-menu .offcanvas-body>nav>ul>li>.dropdown-menu a,
#mobile-menu .offcanvas-body>nav>ul>li>a {
  font-family: 'TTFirs';
  font-size: 18px;
  line-height: 21px;
  letter-spacing: 0.03em;
  color: #393333;
  text-transform: uppercase;
  font-weight: 800;
  text-decoration: none;
}

#mobile-menu .offcanvas-body .contacts__phone {
  color: #393333;
  font-family: 'TTFirs';
  font-weight: 800;
  text-decoration: none;
  font-size: 1.25rem;
}

#mobile-menu .offcanvas-body>nav>ul>li>.dropdown-menu>li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

#mobile-menu .offcanvas-body>nav>ul>li>.dropdown-menu>li .dropdown-menu {
  display: flex;
  width: 100%;
  position: relative !important;
  transform: none !important;
  padding: 0.25rem !important;
  margin-left: 1.5rem !important;
  flex-direction: column;
  gap: 0.75rem;
  background: transparent;
  border: none;
}

#mobile-menu .offcanvas-body>nav>ul>li>.dropdown-menu .dropdown-toggle {
  display: none;
}

/* Modals */
.shadow-modal {
  display: none;
  position: fixed;
  inset: 0 0 0 0;
  background-color: rgba(0, 0, 0, 0.336);
  z-index: 1021;
}

.shadow-modal.show {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.modal {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: relative;
  height: fit-content;
  max-height: 90vh;
  width: fit-content;
  background: #f7f5f5;
  padding: 3rem 2rem;
  border: 0.125rem solid #ffcf5c;
  text-align: center;
  max-width: 900px;
}

.modal__close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  cursor: pointer;
}

.modal__close svg {
  width: 2rem;
  height: 2rem;
  fill: #393333;
}

.modal__title {
  font-family: 'TTFirs';
  font-size: 3.25rem;
  text-align: center;
  letter-spacing: 0.03em;
  color: #ffc24b;
  font-weight: 900;
}

.modal__description {
  font-family: 'Century Gothic';
  font-style: normal;
  font-weight: normal;
  font-size: 1.25rem;
  line-height: 140%;
  color: #393333;
}

.modal__form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  max-width: 500px;
  width: 100%;
}

.modal__form input {
  width: 100%;
  padding: 0.75rem 1.75rem;
  border: 0.125rem solid #cccccc;
}

.modal__phone {
  position: relative;
  width: 100%;
}

.modal__phone .flags {
  width: 50px;
  position: absolute;
  height: 37px;
  z-index: 4;
  top: 6px;
  left: 0;
  cursor: pointer;
}

.modal__phone>.flags>p {
  width: 50px;
  height: 35px;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal__phone ul {
  display: none;
  list-style: none;
  padding-left: 0;
  margin-top: 35px;
  position: absolute;
  background: #fff;
  border: 2px solid #ccc;
  border-top: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  margin-top: 0;
  z-index: 10;
  bottom: -117px;
  left: 0px;
  font-family: 'Century Gothic';
}

.modal__phone ul.active {
  display: block;
}

.modal__phone ul li {
  color: #4e4e4e;
  font-weight: 400;
  padding: 5px 15px 5px 0;
  cursor: pointer;
  display: flex;
}

.modal__phone ul li p {
  margin: 0;
  width: 50px;
  height: 22px;
  display: flex;
  float: left;
  justify-content: center;
  align-items: center;
  float: left;
}

@media screen and (max-width: 767px) {
  .modal {
    height: 500px;
    overflow-y: scroll;
    padding: 4rem 1rem 1rem 1rem;
  }

  .modal__title {
    font-size: 2rem;
  }

  .modal__description,
  .modal__politic {
    font-size: 1rem;
  }

  .modal__button {
    padding: 1rem 2rem;
  }
}

.modal__phone p>span {
  background: url(../images/sections/visit-us/flags.png);
  display: block;
  width: 20px;
  height: 13px;
}

.modal__phone .by>p>span {
  background-position: -790px 2px !important;
}

.modal__phone .ru>p>span {
  background-position: -4295px 0 !important;
}

.modal__phone .over>p>span {
  background: url(../images/sections/visit-us/flags_min.png) !important;
}

.modal__phone .arrow-down {
  position: absolute;
  top: 47%;
  margin-top: -2px;
  right: 6px;
  width: 0 !important;
  height: 0 !important;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-top: 4px solid #555;
  background: 0 0 !important;
}

.modal__phone .phone input {
  padding-left: 3.5rem;
}

.modal__button {
  width: 100%;
  cursor: pointer;
  padding: 15px 75px;
  background: #393333;
  font-family: Century Gothic;
  font-style: normal;
  font-weight: bold;
  font-size: 1rem;
  color: #ffffff;
}

.modal__politic {
  font-family: 'Century Gothic';
  font-style: normal;
  font-weight: normal;
  font-size: 1.25rem;
  line-height: 140%;
  color: #393333;
}

/* # Animations */
/* Fade in down */
@-webkit-keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    -webkit-transform: translate3d(0, -100%, 0);
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
}