:root {
  --clr-primary-900: #1A1816;
  --clr-primary-100: #FEFEFE;
  --clr-red: #62554A;
  --clr-beige: #B9B3AA;
  --clr-darkgrey: #A0BBB6;
}

body {
  color: var(--clr-primary-900);
  background-color: var(--clr-primary-100);
}

html {
  font-size: 100%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  scrollbar-gutter: stable;
}

*,
*::before,
*::after {
  -webkit-box-sizing: inherit;
          box-sizing: inherit;
  line-height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  scrollbar-gutter: stable;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

.container {
  width: 100%;
  padding: 0 5.2% 0 5.2%;
  max-width: 1720px;
  margin: 0 auto;
}

.H1 {
  font-family: "Mulish", sans-serif;
  font-weight: 800;
  font-size: var(--fs-900);
}

.H2 {
  font-family: "Mulish", sans-serif;
  font-weight: 700;
  font-size: var(--fs-700);
}

.H3 {
  font-family: "Mulish", sans-serif;
  font-weight: 400;
  font-size: var(--fs-500);
}

.txt {
  font-family: "Mulish", sans-serif;
  font-weight: 300;
  font-size: var(--fs-300);
  line-height: 110%;
}

.mini {
  font-size: 14px;
}

:root {
  --fs-900: 40px;
  --fs-700: 32px;
  --fs-500: 20px;
  --fs-300: 16px;
  --fs-100: 16px;
}

h1,
h2,
h3 {
  margin: 0;
}

a,
a:visited,
a:active {
  text-decoration: none;
  color: inherit;
}

button {
  padding: 0;
  border: none;
  font: inherit;
  color: inherit;
  background-color: transparent;
  cursor: pointer;
}

.btn {
  font-weight: 600;
  color: var(--clr-red) !important;
  padding: 0.9375rem 1.875rem;
  border: 1px solid;
  border-radius: 15px;
  display: inline-block;
  line-height: 100%;
  -webkit-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
  -webkit-transition: background-color 0.2s ease-in-out;
  -o-transition: background-color 0.2s ease-in-out;
  transition: background-color 0.2s ease-in-out;
}

.btn:hover {
  color: var(--clr-primary-100) !important;
  background-color: var(--clr-red) !important;
}

a {
  -webkit-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
}

a:hover {
  color: var(--clr-red);
}

header {
  z-index: 999;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  position: fixed;
  background-color: var(--clr-primary-100);
  width: 100%;
}

nav img {
  display: block;
  max-width: 150px;
  margin: 0 auto;
  margin-bottom: 0.625rem;
}

.menu_links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.625rem;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

footer {
  margin-bottom: 3.75rem;
}

footer .H2 {
  margin-bottom: 1.875rem;
  margin-top: 3.75rem;
}

footer img {
  display: block;
}

footer .form {
  background-color: #F3EEEC;
  border-radius: 20px;
  padding: 1.25rem;
  margin-bottom: 1.875rem;
  margin-top: 1.875rem;
}

footer .form .H3 {
  margin-bottom: 1.25rem;
}

footer .form .txt {
  margin-bottom: 0.9375rem;
}

footer .form .btn {
  margin: 0;
}

.contacts_left_info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.25rem;
}

.contacts_links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.contacts_social {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1.25rem;
}

.contacts_social img {
  width: 2.1875rem;
  -webkit-transition: opacity 0.2s ease-in-out;
  -o-transition: opacity 0.2s ease-in-out;
  transition: opacity 0.2s ease-in-out;
}

.contacts_social img:hover {
  opacity: 80%;
}

.kaspi {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.625rem;
}

.kaspi .H3 {
  color: #62554A;
}

.kaspi img {
  width: 2.1875rem;
}

.kaspi p {
  -webkit-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
}

.kaspi p:hover {
  color: #81776E;
}

.policy {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 1.25rem;
}

body {
  position: relative;
}

.input-text {
  border-radius: 10px;
  border: 1px solid var(--clr-red);
  padding: 5px 10px;
}

.form-modal {
  display: none;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: fixed;
  overflow-x: hidden;
  overflow-y: auto;
  pointer-events: none;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.form-modal.active {
  pointer-events: auto;
  opacity: 100%;
  display: block;
  /* background-color: rgba(0, 0, 0, 0.9); */
}

.form-window {
  background-color: var(--clr-primary-100);
  padding: 30px 5.2% 0 5.2%;
  border-radius: 0 0 1.25rem 1.25rem;
  position: relative;
  gap: 1.875rem;
  max-width: 1000px;
}

.form-window form {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.875rem;
  margin-bottom: 1.875rem;
}

.form-window .H3 {
  margin-bottom: 1.25rem;
}

.form-window .txt-mini {
  font-size: 0.875rem;
  padding-bottom: 1.875rem;
}

.form-window .form-link {
  color: var(--clr-secondary-700);
  -webkit-transition: color 0.2s ease-in-out;
  -o-transition: color 0.2s ease-in-out;
  transition: color 0.2s ease-in-out;
}

.form-window .form-link:hover {
  color: var(--clr-secondary-900);
}

.form-close {
  background-image: url(/wp-content/uploads/2023/11/close_big_calc.svg);
  display: block;
  position: absolute;
  top: 30px;
  right: 5.2%;
  width: 1.5rem;
  height: 1.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  cursor: pointer;
  -webkit-transition: background-image 0.2s ease-in-out;
  -o-transition: background-image 0.2s ease-in-out;
  transition: background-image 0.2s ease-in-out;
}

.form-close:hover {
  background-image: url(/wp-content/uploads/2023/11/close_big_hover.svg);
}

.form-modal-wrapper {
  background-color: rgba(0, 0, 0, 0.9);
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.form-modal-wrapper.active {
  display: block;
  z-index: 1000;
}

.hero_block {
  padding-top: 7.5rem;
}

.hero_block .H1 {
  display: inline-block;
}

.hero_block .H1:last-of-type {
  color: var(--clr-red);
}

.hero_block h1 {
  margin-top: 1.875rem;
  margin-bottom: 0.9375rem;
}

/* .hero_block h2:first-of-type {
  margin-bottom: 0.9375rem;
} */

.hero_block h2:last-of-type {
  margin-bottom: 1.875rem;
}

.hero_block a {
  margin-bottom: 1.875rem;
}

.hero_block img {
  max-height: 25rem;
  display: block;
  margin: 0 auto;
}

.about {
  margin-top: 3.75rem;
}

.about .H2 {
  margin-bottom: 1.875rem;
}

.about_img .H3 {
  font-weight: 700;
  margin-bottom: 0.9375rem;
}

.about_subgrid {
  display: grid;
  row-gap: 1.25rem;
}

.about_subgrid_item {
  padding: 0.625rem;
  background-color: #F3EEEC;
  border-radius: 20px;
  position: relative;
}

.about_subgrid_item p {
  position: inherit;
  z-index: 2;
}

.about_subgrid_item:before {
  content: "";
  background-image: url("/./img/under_number.svg");
  background-repeat: no-repeat;
  background-size: 48px;
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

.about_subgrid_item_head {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 0.625rem;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 0.625rem;
}

.about_subgrid_item_head .H3 {
  font-weight: 700;
  line-height: 110%;
  z-index: 2;
}

.about_number {
  width: 20px;
  aspect-ratio: 1;
  z-index: 2;
}

.products {
  margin-top: 3.75rem;
}

.products .H2 {
  margin-bottom: 1.875rem;
}

.product_card {
  padding-top: 1.875rem;
  padding-bottom: 1.875rem;
}

.product_card img {
  margin-bottom: 1.25rem;
}

.product_card .H3 {
  margin-bottom: 1.25rem;
}

.product_card p {
  margin-bottom: 0.9375rem;
}

.product_card ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 0.3125rem;
  margin-bottom: 1.25rem;
}

.product_card:first-of-type {
  background-color: #D0BCB4;
}

.product_card:nth-of-type(2) {
  background-color: #DCCDC7;
}

.product_card:nth-of-type(3) {
  background-color: #E7DDD9;
}

.product_card:nth-of-type(4) {
  background-color: #F3EEEC;
}

.product_card:nth-of-type(5) {
  background-color: #FAF7F6;
}

.product_card:last-of-type {
  background-color: #FCFBFA;
}

/*
Theme Name:
*/

@media (min-width: 85.375em) {
  :root {
    --fs-900: 54px !important;
    --fs-700: 46px !important;
    --fs-500: 32px !important;
  }

  .hero_block img {
    max-height: 690px !important;
  }
}

@media (min-width: 30em) {
  .container {
    padding: 0 2.5rem 0 2.5rem;
  }
}

@media (min-width: 480px) {
  .hero_block {
    padding-top: 7.5rem;
  }
}

@media (min-width: 640px) {
  nav img {
    margin: 0;
    max-width: 200px;
  }

  nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .menu_links {
    gap: 1.25rem;
  }
}

@media (min-width: 768px) {
  .mini {
    font-size: 16px;
  }

  nav img {
    max-width: 250px;
  }

  footer .form {
    -ms-flex-item-align: start;
        align-self: start;
    margin: 0;
  }

  .contacts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.875rem;
  }

  .policy {
    margin-bottom: 3.75rem;
  }

  .form-modal.active {
    top: 25%;
  }

  .form-window {
    min-height: auto;
    width: 80%;
    top: 25%;
    margin: 0 auto;
    border-radius: 20px;
  }

  .form-close {
    width: 2rem;
    height: 2rem;
  }

  .about_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: 1.25rem;
       -moz-column-gap: 1.25rem;
            column-gap: 1.25rem;
  }

  .about_img {
    grid-column: 2;
  }

  .about_subgrid {
    grid-row: 1;
  }

  .products .right img {
    grid-column: 1;
    padding-right: 0;
    padding-left: 40px;
    max-height: 750px;
  }

  .products .right .product_card_info {
    padding-left: 0;
    padding-right: 40px;
  }

  .product_card {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr;
  }

  .product_card img {
    -ms-flex-item-align: center;
        align-self: center;
    padding-left: 0;
  }

  .product_card .product_card_info {
    padding-right: 0;
  }
}

@media (min-width: 48em) {
  .hero_block {
    display: grid;
    grid-template-columns: 1fr 40%;
  }

  a {
    -ms-flex-item-align: start;
        align-self: start;
    justify-self: start;
  }

  img {
    grid-column: 2;
    grid-row-start: 1;
    grid-row-end: 7;
  }
}

@media (min-width: 64em) {
  .container {
    padding: 0 3.125rem 0 3.125rem;
  }

  :root {
    --fs-500: 24px;
    --fs-300: 20px;
  }

  .hero_block {
    grid-template-columns: repeat(3, 1fr);
    -webkit-column-gap: 1.5625rem;
       -moz-column-gap: 1.5625rem;
            column-gap: 1.5625rem;
  }

  .hero_block .H1 {
    -ms-flex-item-align: end;
        align-self: end;
  }

  .hero_block .H1:last-of-type {
    text-align: right;
  }

  .hero_block h1 {
    grid-row-start: 2;
    grid-row-end: 4;
    margin: 0;
    align-self: center;
  }

  .hero_block h2 {
    text-align: right;
    margin: 0;
  }

  .hero_block h2:first-of-type {
    -ms-flex-item-align: end;
        align-self: end;
    margin-bottom: 0.625rem;
  }

  .hero_block h2:last-of-type {
    grid-column: 3;
  }

  .hero_block a {
    grid-column: 1;
    grid-row: 4;
    margin-bottom: 0;
  }

  .hero_block img {
    grid-row-end: 5;
    max-height: 100%;
  }
}

@media (min-width: 1024px) {
  .menu_links {
    gap: 1.875rem;
  }

  .form-window {
    padding: 2.6%;
  }

  .hero_block {
    padding-top: 7.5rem;
  }

  .about_subgrid_item {
    padding: 1.25rem;
  }

  .about_subgrid_item:before {
    background-size: 80px;
  }

  .about_subgrid_item_head {
    margin-bottom: 1.25rem;
    gap: 1.25rem;
    margin-left: 3.4375rem;
  }

  .about_number {
    width: 40px;
    height: 40px;
    position: absolute;
    left: 10px;
  }

  .product_card {
    padding-top: 3.125rem;
    padding-bottom: 3.125rem;
  }
}

@media (min-width: 1366px) {
  nav img {
    max-width: 300px;
  }

  footer .H2 {
    margin-bottom: 3.75rem;
    margin-top: 9.375rem;
  }

  footer .form {
    max-width: 560px;
    justify-self: end;
    padding: 40px;
  }

  .contacts {
    -webkit-column-gap: 1.25rem;
       -moz-column-gap: 1.25rem;
            column-gap: 1.25rem;
  }

  .contacts_left {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-column-gap: 1.25rem;
       -moz-column-gap: 1.25rem;
            column-gap: 1.25rem;
  }

  .contacts_left_info {
    gap: 1.875rem;
  }

  .contacts_links {
    margin-bottom: 0;
    gap: 2.5rem;
  }

  .contacts_social {
    margin-bottom: 0;
  }

  .contacts_social img {
    width: 3.125rem;
  }

  .kaspi img {
    width: 3.125rem;
  }

  .policy {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }

  .about .H2 {
    margin-bottom: 5rem;
  }

  .about {
    margin-top: 9.375rem;
  }

  .about_img {
    grid-column: 1;
    grid-row: 1;
  }

  .about_subgrid_item_head .H3 {
    font-size: 24px;
  }

  .products {
    margin-top: 9.375rem;
  }

  .products .H2 {
    margin-bottom: 5rem;
  }

  .product_card .H3 {
    margin-bottom: 2.5rem;
  }

  .product_card p {
    margin-bottom: 1.25rem;
  }

  .product_card ul {
    margin-bottom: 2.5rem;
  }

  .product_card_info {
    -ms-flex-item-align: center;
        align-self: center;
        max-width: 740px;
  }
}

@media (min-width: 1440px) {
  .about_grid {
    grid-template-columns: 1fr 2fr;
  }

  .about_img img {
    max-height: 480px;
  }

  .about_subgrid {
    grid-template-columns: repeat(2, 1fr);
    -webkit-column-gap: 1.25rem;
       -moz-column-gap: 1.25rem;
            column-gap: 1.25rem;
    row-gap: 2.5rem;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: start;
  }
}

@media (min-width: 100em) {
  :root {
    --fs-900: 68px !important;
  }
}