/*
Theme Name: kyrgpass
*/

@font-face {
  font-family: "Lora";
  src: local("Lora Regular"),
    url("fonts/lora/lora-regular.woff2") format("woff2"),
    url("fonts/lora/lora-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Lora";
  src: local("Lora Medium"), 
    url("fonts/lora/Lora-Medium.woff2") format("woff2"),
    url("fonts/lora/Lora-Medium.woff") format("woff");
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Lora";
  src: local("Lora SemiBold"),
    url("fonts/lora/Lora-SemiBold.woff2") format("woff2"),
    url("fonts/lora/Lora-SemiBold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Lora";
  src: local("Lora Bold"), 
    url("fonts/lora/lora-bold.woff2") format("woff2"),
    url("fonts/lora/lora-bold.woff") format("woff");
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: local("Lato Light"), 
    url("fonts/lato/lato-light.woff2") format("woff2"),
    url("fonts/lato/lato-light.woff") format("woff");
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: local("Lato Regular"),
    url("fonts/lato/lato-regular.woff2") format("woff2"),
    url("fonts/lato/lato-regular.woff") format("woff");
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: "Lato";
  src: local("Lato Semibold"),
    url("fonts/lato/lato-semibold.woff2") format("woff2"),
    url("fonts/lato/lato-semibold.woff") format("woff");
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: "Lato", sans-serif;
}

.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
}

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

h2 {
  font-family: "Lora";
  font-size: calc(26px + 10 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 500;
  line-height: 140%;
}

li {
  list-style-type: none;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--Gold) !important;
}

:root {
  --Black: #222;
  --Gold: #aa9166;
  --GoldTransparent: rgba(170, 145, 102, 0.7);
  --GoldLight: #aa916633;
  --White: #ffffff;
  --transition: 0.3s all linear;
  --Grey: #b1b1b1;
  --Light: #f5f1ed;
  --Brown: #473b3d;
  --Text-Color-Black: #131d28;
}

/* header */

.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  background-color: rgba(34, 34, 34, 0.24);
  backdrop-filter: blur(5px);
  transition: background-color 0.5s ease;
  padding: 20px 0;
}

.header.bg {
  background-image: url("/wp-content/themes/kyrgpass/images/header_bg.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 145px;
}

.header_logo {
  width: 155px;
  min-width: 155px;
  aspect-ratio: 155 / 65;
}

.header_logo svg {
  width: 100%;
  height: 100%;
}

.header_burger {
  display: none;
}

.header_content {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.header_numbers {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header_numbers li {
  display: flex;
  gap: 10px;
}

.header_numbers span {
  color: var(--Gold);
  font-size: calc(20px - 6 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 600;
  line-height: 120%;
}

.header_numbers a {
  color: var(--White);
  font-size: calc(20px - 6 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  line-height: 120%;
}

.header_socials {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header_socials a {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--White);
  font-size: calc(20px - 6 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  line-height: 130%;
}

.header .menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

.header .menu a {
  color: var(--White);
  font-size: calc(20px - 6 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  line-height: 140%;
  position: relative;
}

.header .menu a:after {
  content: "";
  position: absolute;
  top: 120%;
  left: 50%;
  width: 0%;
  height: 1px;
  background-color: var(--Gold);
  transition: var(--transition);
}

.header .menu a[aria-current]:after {
  left: 0;
  width: 100%;
}

.header .menu a:hover:after {
  left: 0;
  width: 100%;
}

/* header */

/* footer */

.footer {
  width: 100%;
  padding: 90px 0 20px 0;
  background-color: var(--Black);
}

.footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 50px 20px;
}

.footer_logo svg {
  width: 100%;
  max-width: 235px;
  aspect-ratio: 235 / 100;
}

#menu-footer-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

#menu-footer-menu a {
  color: var(--White);
  font-size: calc(20px - 4 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  line-height: 140%;
}

#menu-footer-menu a[aria-current] {
  position: relative;
}

#menu-footer-menu a[aria-current]:after {
  content: "";
  position: absolute;
  top: 120%;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--Gold);
}

.footer_contacts {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer_contacts span {
  color: var(--Gold, #aa9166);
  font-size: calc(20px - 6 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 900;
  line-height: 120%;
}

.footer_contacts > li {
  display: flex;
  gap: 10px;
}

.footer_contacts_child {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer_contacts_child li {
  max-width: 290px;
}

.footer_contacts_child,
.footer_contacts_child a {
  color: var(--White);
  font-size: calc(20px - 6 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  line-height: 120%;
}

.footer_quality {
  color: var(--White);
  font-size: calc(20px - 6 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  line-height: 130%;
  margin-left: 30px;
  max-width: 290px;
  width: fit-content;
  padding: 10px;
  border: 1px solid #aa9166;
}
.footer_socials {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.footer_socials a,
.footer_socials li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--White);
  font-size: calc(20px - 6 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  line-height: 130%;
}

.footer_socials li {
  gap: 15px;
}

.footer_copy {
  width: 100%;
  padding-top: 20px;
  border-top: 1px solid var(--Gold);
  text-align: center;
  color: var(--White);
  font-size: 13px;
  font-weight: 400;
  line-height: 150%;
}

/* footer */

/* popup */

.popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 17;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px;
  transition: var(--transition);
  transition-behavior: allow-discrete;
  scale: 0;
  opacity: 0;
}

.popup:target {
  display: flex;
  scale: 1;
  opacity: 1;
}

.popup_body {
  position: relative;
  width: 100%;
  max-width: 1170px;
  display: flex;
  padding: 50px 60px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}

.popup_body form {
  background: var(--Gold);
}

.popup_body::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.popup_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
  color: var(--White);
  padding: 20px 50px;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.popup_title {
  font-size: calc(24px + 16 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  line-height: 140%;
  position: relative;
  padding-bottom: 25px;
  font-family: "Lora";
}

.popup_title::before,
.popup_title::after {
  content: "";
  width: 80%;
  position: absolute;
  height: 1px;
}

.popup_title::before {
  background-color: var(--Gold);
  top: 100%;
  left: 0;
}

.popup_title::after {
  top: 110%;
  right: 0;
  background: var(--Grey);
}

.popup_text {
  position: relative;
  font-size: calc(18px + 6 * ((100vw - 320px) / (1920 - 320)));
  font-weight: 400;
  line-height: 33.6px;
  line-height: 140%;
}

.popup_close {
  position: absolute;
  z-index: 1;
  width: 15px;
  height: 15px;
  top: 30px;
  right: 30px;
  cursor: pointer;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup_close::before,
.popup_close::after {
  content: "";
  height: 2px;
  width: 100%;
  background: var(--White);
  position: absolute;
  border-radius: 20px;
}

.popup_close::after {
  transform: rotate(-45deg);
}

.popup_close::before {
  transform: rotate(45deg);
}

.popup > span {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* popup */

/* popup-contacts */

#popup-contacts {
  padding: 15px;
}

#popup-contacts > span {
  backdrop-filter: blur(5px);
}

.popup_contacts_body {
  width: 100%;
  max-width: 370px;
  padding: 60px 30px;
  background-color: var(--White);
  position: relative;
}

.popup_contacts_body .popup_close {
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
}

.popup_contacts_body .popup_close::before,
.popup_contacts_body .popup_close::after {
  background: var(--Gold);
}

.popup_contacts_title {
  font-family: "Lora";
  font-size: 24px;
  font-weight: 700;
  line-height: 140%;
  text-align: center;
  display: block;
  text-transform: uppercase;
  margin-bottom: 55px;
}

.popup_contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 35px;
}

.popup_contacts > li {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.popup_contacts span {
  font-size: 20px;
  font-weight: 900;
  line-height: 24px;
  color: var(--Gold);
}

.popup_contacts_child {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.popup_contacts_child a {
  font-size: 24px;
  font-weight: 400;
  line-height: 28.8px;
  color: var(--Black);
}

.popup_socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.popup_socials a {
  transition: var(--transition);
}

.popup_socials a:hover {
  opacity: 0.8;
}

.popup_socials svg {
  width: 35px;
  height: 35px;
}

/* popup-contacts */

/* popup-form */

#popup-form {
  padding: 15px;
}

#popup-form > span {
  backdrop-filter: blur(5px);
}

.popup_form_body {
  width: 100%;
  max-width: 370px;
  position: relative;
}

.popup_form_body .popup_close {
  top: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
  z-index: 3;
}

.popup_form_body .popup_close::before,
.popup_form_body .popup_close::after {
  background: var(--White);
}

/* popup-form */

/* call_bottons */

.call_bottons {
  position: fixed;
  right: 110px;
  bottom: 30px;
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
  z-index: 3;
  transition: var(--transition);
  scale: 0;
  opacity: 0;
  height: 0;
}

.call_bottons.active {
  scale: 1;
  opacity: 1;
  height: auto;
}

.call_bottons button {
  border: none;
  width: 80px;
  height: 80px;
  aspect-ratio: 1 / 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

/* .call_bottons button:nth-child(-n + 3) {
  background-color: var(--Gold);
  display: none;
} */

.call_bottons button:nth-child(-n + 2) {
  background-color: var(--Gold);
  display: none;
}

.call_bottons svg {
  width: 45px;
  height: 45px;
}

.call_bottons .phone {
  background-color: var(--Brown);
}

.call_bottons #phone_svg {
  display: none;
}

.call_bottons .send {
  background-color: var(--Gold);
}

.call_bottons .send:hover {
  background-color: var(--Brown) !important;
}

.call_bottons button:nth-child(-n + 3):hover {
  background-color: var(--Brown);
  opacity: 0.8;
}

.call_bottons button:nth-child(n + 4):hover {
  background-color: var(--Gold);
  opacity: 0.8;
}

/* call_bottons */

@media screen and (max-width: 1200px) {
  /* header */

  .header .container {
    gap: 20px;
  }

  .header_logo {
    width: 100%;
    min-width: 100px;
    max-width: 100px;
  }

  /* header */

  /* footer */

  #menu-footer-menu {
    order: 2;
    width: calc(100% / 2 - (10px));
  }

  .footer_contacts {
    order: 3;
    width: calc(100% / 2 - (10px));
    align-items: flex-end;
  }

  .footer_quality {
    margin-left: 30px;
    width: 100%;
  }

  .footer_copy {
    order: 5;
  }

  /* footer */
}

@media screen and (max-width: 1023px) {
  /* header */

  .header {
    padding: 15px 0;
  }

  .header .container {
    position: relative;
  }

  .header_content {
    flex-direction: column-reverse;
    position: absolute;
    top: 100%;
    left: 0px;
    padding: 0 15px;
    width: 100%;
    gap: 40px;
    max-height: 0;
    transition: 0.2s all linear;
    overflow: hidden;
    backdrop-filter: blur(5px);
    background-color: rgba(0, 0, 0, 0.7);
  }

  .header.active .header_content {
    max-height: 100vh;
    padding: 40px 15px 55px 15px;
    overflow: auto;
    flex-wrap: nowrap;
  }

  .header.active {
    backdrop-filter: none;
    background-color: transparent;
  }

  .header.active::before {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    backdrop-filter: blur(5px);
    background-color: rgba(34, 34, 34, 0.24);
  }

  .header .menu,
  .header_numbers {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .header_socials {
    order: -1;
    gap: 15px;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .header_logo {
    width: 100%;
    min-width: 100px;
    max-width: 100px;
  }

  .header_burger {
    display: block;
    width: 40px;
    height: 30px;
    position: relative;
    cursor: pointer;
  }

  .header_burger:after,
  .header_burger:before {
    content: "";
    display: block;
  }

  .header_burger span,
  .header_burger::after,
  .header_burger::before {
    position: absolute;
    width: 100%;
    height: 3px;
    border-radius: 10px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: 0.2s all linear;
  }

  .header_burger:before {
    top: 0px;
  }

  .header_burger:after {
    top: 50%;
    transform: translateY(-50%);
  }

  .header.active .header_burger::after {
    opacity: 0;
  }

  .header.active .header_burger::before {
    rotate: 45deg;
    top: 50%;
  }

  .header.active .header_burger span {
    rotate: -45deg;
    top: 50%;
  }

  /* header */
}

@media screen and (max-width: 992px) {
  /* popup */

  .popup_content {
    padding: 20px;
  }

  /* popup */
}

@media screen and (max-width: 768px) {
  /* footer */

  .footer_logo {
    width: 100%;
  }

  .footer_quality {
    align-self: flex-start;
    margin-left: 0;
  }

  .footer_logo,
  .footer .container > ul,
  #menu-footer-menu {
    width: 100%;
  }

  .footer_contacts {
    align-items: flex-start;
  }

  .footer_socials {
    order: 4;
  }

  /* footer */

  /* popup */

  .popup {
    padding: 75px 0 15px 0;
  }

  .popup_body {
    padding: 65px 15px;
    flex-direction: column;
    background-position: 35% center;
    align-items: center;
  }

  .popup_body form {
    max-width: 100%;
    background: var(--GoldTransparent);
  }

  .popup_content {
    padding: 30px 40px 30px 0;
  }

  .popup_title {
    padding-bottom: 15px;
  }

  .popup_close {
    width: 20px;
    height: 20px;
  }

  .popup_close::before,
  .popup_close::after {
    height: 3.2px;
  }

  /* popup */

  /* call_bottons */

  .call_bottons {
    right: 15px;
    left: 15px;
    bottom: 15px;
    flex-direction: row;
    justify-content: center;
    gap: 10px;
  }

  .call_bottons button {
    width: 60px;
    height: 50px;
  }

  .call_bottons button:nth-child(-n + 3) {
    display: flex;
  }

  .call_bottons .send:hover {
    background-color: var(--Gold) !important;
  }

  .call_bottons button:nth-child(n + 4) {
    background-color: var(--Brown);
  }

  .call_bottons #message_svg {
    display: none;
  }

  .call_bottons #phone_svg {
    display: block;
  }

  .call_bottons svg {
    width: 25px;
    height: 25px;
  }

  /* call_bottons */
}

@media screen and (max-width: 550px) {
  /* footer */

  .footer {
    padding: 80px 0 30px 0;
  }

  .footer .container {
    gap: 40px;
  }

  .footer_logo {
    margin-bottom: 20px;
  }

  .footer_logo svg {
    max-width: 190px;
  }

  #menu-footer-menu {
    gap: 15px;
  }

  .footer_socials {
    gap: 20px;
  }

  .footer_socials li {
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer_copy {
    padding-top: 40px;
  }

  /* footer */

  /* call_bottons */

  .call_bottons {
    justify-content: space-between;
  }
  /* call_bottons */
}

@media screen and (max-width: 360px) {
  /* popup_contacts */
  .popup_contacts_body {
    padding: 60px 15px;
  }

  .popup_contacts_child a {
    font-size: 20px;
  }
  /* popup_contacts */
}
