:root {
    font-size: 10px;

    --accent: #e9ab50;
    --grey: #efefef;
    --deep-grey: #b4b4b4;
    --blue: #1f3e9b;

    --text-color: #000;
    --text-font-size: 1.6rem;
    --line-height: 1.65;
    --text-font-family: noto-sans, sans-serif;
    --title-font-family: noto-sans, sans-serif;
    --border-radius: 0.625em;
    --transition: 0.1s linear;
    --mt-section: 6.25em;
    /* --systemfont: -apple-system, BlinkMacSystemFont, Arial, sans-serif; */
}

/* BOOTSTRAP SETTINGS SECTION */

/* gutter 20px (10px + 10px). Comment this code for default gutter start at 1.5rem (24px) wide. */
.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    --bs-gutter-x: 0.625rem;
}
.row,
.row > * {
    --bs-gutter-x: 1.25rem;
}

/* FONTS LOAD SECTION */

@font-face {
    src: url("assets/fonts/noto-sans-regular.woff2") format("woff2");
    font-family: "noto-sans";
    font-weight: 400;
    font-style: normal;
}
@font-face {
    src: url("assets/fonts/noto-sans-bold.woff2") format("woff2");
    font-family: "noto-sans";
    font-weight: 700;
    font-style: normal;
}

/* GENERAL CSS SETTINGS */

::placeholder {
    color: #666;
}
::selection {
    background-color: var(--accent);
    color: #fff;
}
input,
textarea {
    outline: none;
}
input:focus:required:invalid,
textarea:focus:required:invalid {
    border-color: red;
}
input:required:valid,
textarea:required:valid {
    border-color: green;
}

body {
    font-family: var(--text-font-family);
    font-size: var(--text-font-size);
    line-height: var(--line-height);
    color: var(--text-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--title-font-family);
    font-weight: 700;
}
h1 {
    font-size: 3em;
}
h2 {
    font-size: 2.5em;
}
h3 {
    font-size: 2em;
}
h4 {
    font-size: 1.5em;
}

ul {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity var(--transition);
}
a:hover {
    color: inherit;
}
.no-touch a:hover,
a:active {
    color: inherit;
    opacity: 0.8;
}

button {
    border: none;
    background: none;
}

/* USER STYLES */

.wrapper {
    min-width: 320px;
    min-height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
}
.help-height {
    height: 100vh;
}
.overflow-hidden {
    overflow: hidden;
}

/* BURGER BTN */

.burger-btn {
    display: none;
    font-size: 1.8em;
    transition: opacity var(--transition);
}
.no-touch .burger-btn:hover,
.burger-btn:active {
    opacity: 0.5;
}

/* HEADER */

.header {
    border-bottom: 1px solid var(--deep-grey);
}
.header__content {
    padding: 1em 0 0.5em;
    display: flex;
}
.header__content > * {
    margin-left: 2em;
}
.header__logo {
    margin-left: 0;
    flex: 1;
}
.header__logo a {
    display: inline-block;
}
.header__logo img {
    height: 4em;
}
.header__address a {
    text-decoration: underline;
}
.header__soc img {
    height: 1.5em;
}

/* NAV */

.nav {
    font-size: 0.875em;
}
.nav a {
    padding: 1em 0.5em;
    display: inline-block;
}

/* NAV TOP */

.nav__top {
    color: #fff;
    background-color: var(--blue);
}
.nav__top ul {
    display: flex;
    align-items: center;
}
.nav__top li + li {
    margin-left: 1em;
}
.nav__top li:last-child {
    margin-left: auto;
}

/* SEARCH */

.nav .aws-container {
    min-width: 18em;
}
.nav .aws-container .aws-search-form {
    padding-bottom: 0.1em;
    height: initial;
    border-bottom: 1px solid #fff;
}
.nav .aws-container .aws-search-field {
    padding: 0 2.8em 0 0;
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    background-color: initial;
    border: initial;
}
.nav .aws-container .aws-search-field::placeholder {
    color: inherit;
    opacity: 0.8;
}
.nav .aws-container .aws-search-form .aws-form-btn {
    background-color: initial;
    border: initial;
}
.nav .aws-container .aws-search-form .aws-search-btn svg {
    fill: #fff;
    transform: translateX(20%);
}
.nav .aws-container .aws-search-form .aws-loader {
    top: 60%;
    border-width: 0.15em;
}
.nav .aws-container .aws-search-form .aws-loader,
.aws-container .aws-search-form .aws-loader:after {
    width: 1.4em;
    height: 1.4em;
}
.nav .aws-container .aws-search-form .aws-search-clear {
    color: inherit;
    opacity: 0.8;
}

/* NAV BOTTOM */

.nav__bottom-list {
    display: flex;
    /* align-items: center; */
}
.nav__bottom-item {
    position: relative;
    display: flex;
    align-items: center;
}
.nav__bottom a,
.nav__bottom span {
    display: flex;
    align-items: center;
}
.nav__bottom span {
    padding: 1em 0.5em;
    cursor: default;
}
.nav__bottom img {
    margin-right: 0.2em;
    height: 100%;
}
.nav__bottom-sublist {
    padding: 2.8em 2.8em 7.1em;
    position: absolute;
    bottom: -1px;
    left: 0;
    z-index: 1;
    display: none;
    gap: 7.1em;
    background-color: #fff;
    border-right: 1px solid var(--deep-grey);
    border-bottom: 1px solid var(--deep-grey);
    border-left: 1px solid var(--deep-grey);
    transform: translateY(100%);
}
.nav__bottom-item:first-child .nav__bottom-sublist {
    left: -50%;
}
.nav__bottom-item:hover .nav__bottom-sublist {
    display: flex;
}
.nav__bottom-sublist ul {
    width: 20em;
}
.nav__bottom-sublist a {
    padding: 0.5em 0;
}

/* NAV-M */

.nav-m {
    padding: 1em 0;
    position: fixed;
    inset: 4.7em 0 0 0;
    z-index: 110;
    display: none;
    background-color: #fff;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10%);
    transition: opacity var(--transition), transform var(--transition),
        visibility var(--transition);
}
.nav-m.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}
.nav-m a {
    padding: 0.5em 0;
}
.nav-m__menu-list a {
    display: block;
    border-bottom: 1px solid var(--grey);
}
.nav-m__address {
    margin-top: 1.5em;
}
.nav-m__address a,
.nav-m__phones a {
    margin-top: 0.5em;
    padding: 0.5em 1em;
    display: inline-block;
    border-radius: var(--border-radius);
    background-color: var(--accent);
}
.nav-m__schedule {
    margin-top: 1.5em;
}
.nav-m__soc a {
    display: inline-block;
    margin-right: 1em;
}
.nav-m__soc img {
    height: 3em;
}

/* BREADCRUMBS */

.breadcrumbs {
    margin-top: 3.5em;
    font-size: 0.875em;
    color: var(--deep-grey);
}
.breadcrumbs ul {
    display: flex;
    flex-wrap: wrap;
}
.breadcrumbs span {
    margin: 0 0.2em;
}

/* HOME */

.home {
    margin: 4em 0em 8em;
}

/* FIRST SCREEN */

.first-screen__content {
    position: relative;
}
.first-screen__content img {
    width: 100%;
    height: 18em;
    /* height: 100%; */
    /* position: absolute; */
    /* z-index: -1; */
    object-fit: cover;
    border-radius: var(--border-radius);
}
.first-screen__title {
    margin-top: 1em;
    text-align: center;
    color: var(--blue);
}

/* H-CATALOG */

.h-catalog {
    /* margin-top: var(--mt-section); */
    margin-top: 2em;
}
.h-catalog__title {
    text-align: center;
}
.h-catalog__content {
    margin-top: 3em;
}
.h-catalog .row,
.h-catalog .row > * {
    --bs-gutter-x: 3rem;
}
.h-catalog__item {
    height: 100%;
    border-radius: var(--border-radius);
    background-color: var(--grey);
    background-repeat: no-repeat;
}
.h-catalog__item--bg:nth-child(1) .h-catalog__item {
    padding: 2.5em 5em;
    background-size: 25%;
    background-position: 100% 0%;
}
.h-catalog__item--bg:nth-child(2) .h-catalog__item {
    padding: 5em 5em 2em 5em;
    background-size: 45%;
    background-position: 95% 110%;
}
.h-catalog__item--bg:nth-child(3) .h-catalog__item {
    padding: 5em 5em 2em 5em;
    background-size: 50%;
    background-position: 115% 0%;
}
.h-catalog__item--bg:nth-child(4) .h-catalog__item {
    padding: 1.25em 2.5em 6em;
    background-size: 50%;
    background-position: 90% 100%;
}
.h-catalog__item--bg:nth-child(5) .h-catalog__item {
    padding: 1.25em 2.5em 6em;
    background-size: 45%;
    background-position: 100% 100%;
}
.h-catalog__item--bg:nth-child(6) .h-catalog__item {
    padding: 1.25em 2em 5em;
    background-size: 60%;
    background-position: 60% 100%;
}
.h-catalog__item--bg:nth-child(7) .h-catalog__item {
    padding: 1.25em 16em 3.75em 2.5em;
    background-size: 40%;
    background-position: 90% 100%;
}
.h-catalog__item--bg:nth-child(8) .h-catalog__item {
    padding: 1.25em 3.75em 2em 2.5em;
    background-size: 30%;
    background-position: 100% 240%;
}
.h-catalog__item--bg:nth-child(9) .h-catalog__item {
    padding: 1.25em 10em 4em 2.5em;
    background-size: 40%;
    background-position: 90% 80%;
}
.h-catalog__item--bg:nth-child(10) .h-catalog__item {
    padding: 1.25em 10em 4em 2.5em;
    background-size: 40%;
    background-position: 80% 50%;
}
.h-catalog__item--bg:nth-child(11) .h-catalog__item {
    padding: 1.25em 10em 4em 2.5em;
    background-size: 45%;
    background-position: 105% 100%;
}
.h-catalog__item--bg:nth-child(12) .h-catalog__item {
    padding: 1.25em 14em 5em 2.5em;
    background-size: 50%;
    background-position: 95% 100%;
}
.h-catalog__item--bg:nth-child(13) .h-catalog__item {
    padding: 1.25em 10em 5em 2.5em;
    background-size: 40%;
    background-position: 105% 100%;
}
.h-catalog__item--bg:nth-child(6) .h-catalog__item-title,
.h-catalog__item--bg:nth-child(13) .h-catalog__item-title {
    font-size: 1.5em;
}
.h-catalog__item-title a {
    color: var(--blue);
    transition: color var(--transition);
}
.no-touch .h-catalog__item-title a:hover,
.h-catalog__item-title a:active {
    color: var(--accent);
}
.h-catalog__item-list {
    margin-top: 1.25em;
    display: flex;
    flex-wrap: wrap;
    gap: 1.25em;
    font-size: 1.25em;
    line-height: 1.2;
}
.h-catalog__item-list li {
    max-width: 14em;
}
.h-catalog__item-list a {
    padding: 0.2em 0;
    display: block;
}
.h-catalog img {
    display: none;
}

/* STEPS */

.steps {
    margin-top: var(--mt-section);
}
.steps__title {
    text-align: center;
}
.steps__content {
    margin-top: 2.5em;
}
.steps__item {
    padding: 1.6em;
    height: 100%;
    display: flex;
    gap: 0.625em;
    background-color: var(--accent);
    border-radius: var(--border-radius);
    box-shadow: 0px 10px 10px 0px var(--grey);
}
.steps__item p {
    font-size: 0.875em;
}

/* H-ABOUT */

.h-about {
    margin-top: var(--mt-section);
}
.h-about__title {
    margin: 0.5em 0 0.75em 0;
}
.h-about__item {
    height: 100%;
}
.h-about__item p {
    margin-top: 1em;
    font-size: 1.25em;
}
.h-about__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius);
}

/* FORM */

.form {
    margin-top: var(--mt-section);
}
.form__img {
    position: relative;
    height: 100%;
}
.form__img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.form form {
    padding: 5em;
    color: #fff;
    background-color: var(--blue);
    border-radius: var(--border-radius);
}
.form__title {
    margin-bottom: 1em;
    font-size: 2.25em;
}
.form fieldset {
    display: flex;
    gap: 2em;
    color: var(--grey);
}
.form__group {
    flex: 1 1 50%;
}
.form__group * {
    width: 100%;
}
.form__group label {
    margin-bottom: 0.75em;
}
.form input,
.form textarea {
    padding: 1em;
    border: none;
    border-radius: var(--border-radius);
}
.form textarea {
    margin-top: 1.5em;
    width: 100%;
    display: block;
}
.form input[type="submit"] {
    margin: 1.25em 0 1.5em;
    min-width: calc(50% - 2em);
    display: block;
    background-color: var(--accent);
    color: #fff;
    transition: opacity var(--transition);
}
.no-touch .form input[type="submit"]:hover,
.form input[type="submit"]:active {
    opacity: 0.9;
}
.form fieldset.form__privacy {
    align-items: baseline;
    gap: 1em;
}
.form__privacy input {
    margin-right: 0.5em;
    cursor: pointer;
    transform: scale(1.5);
}

/* FOOTER */

.footer {
    padding: 4em 0;
    font-size: 1.125em;
    color: #fff;
    background-color: #222222;
}
.footer__col li + li {
    margin-top: 1em;
}
.footer__col li.mt {
    margin-top: 2em;
}
.footer__scheme {
    text-decoration: underline;
}

/* CATALOG */

.catalog {
    margin: 2.5em 0em 5em;
}
.catalog__list {
    margin-top: 2.5em;
}
.catalog__list .g-5,
.gy-5 {
    --bs-gutter-y: 5rem;
}
.catalog__item {
    padding: 0 0.5em;
}
.catalog__item-img img {
    height: 6em;
    display: block;
}
.catalog__item-title {
    margin-top: 1em;
    font-size: 1.25em;
}
.catalog__item-list {
    margin-top: 1em;
}
.catalog__item-list li + li {
    /* margin-top: 0.625em; */
    padding: 0.4em 0;
}
.catalog__info {
    margin-top: var(--mt-section);
}
.catalog__info > * + * {
    margin-top: 1.5em;
}
.catalog__item-list .open::after {
    content: "\2039";
    margin-left: 0.2em;
    display: inline-block;
    font-size: 1.6em;
    line-height: 1;
    transform: rotate(-90deg) translateX(-50%);
}
.catalog__item-list .open,
.catalog__item-list .close {
    display: inline-block;
    cursor: pointer;
}
.catalog__item-list .hidden {
    display: none;
}

/* CATEGORY */

.category {
    margin: 2.5em 0em 5em;
}
.category__content {
    margin-top: 4.3em;
    display: flex;
    column-gap: 1.25em;
}
.category__products .row,
.category__products .row > * {
    --bs-gutter-x: 3rem;
}
.category__product {
    padding: 2em 1.25em;
    height: 100%;
    border-radius: var(--border-radius);
    background-color: var(--grey);
}
.category__product img {
    margin: 0 auto;
    height: 10em;
    max-width: 100%;
    display: block;
}
.category__product-title {
    margin-top: 2.5em;
    font-size: 1em;
}
.category__info {
    margin-top: 5em;
}
.category__faq {
    margin-top: 2.5em;
    padding-right: 3em;
}
.category__faq .dropdown__toggle {
    padding: 0.5em 0;
    justify-content: space-between;
    border-bottom: 1px solid var(--grey);
}
.category__faq .dropdown__body {
    margin-top: 1em;
    padding-left: 1em;
    border-left: 1px solid var(--accent);
}

/* SIDEBAR */

.sidebar {
    width: 16em;
    min-width: 16em;
}
.sidebar .dropdown__toggle {
    font-weight: bold;
}
.sidebar .dropdown__body {
    margin-top: 0.5em;
    font-size: 0.875em;
}
.sidebar li + li {
    margin-top: 0.625em;
}
.sidebar a {
    transition: color var(--transition);
}
.sidebar a:hover {
    color: var(--blue);
}
.sidebar a.active {
    color: var(--blue);
}

/* DROPDOWN */

.dropdown + .dropdown {
    margin-top: 1em;
}
.dropdown__toggle {
    display: flex;
    align-items: center;
    column-gap: 1em;
}
.dropdown__toggle-btn {
    height: 100%;
    position: relative;
    /* top: -0.1em; */
    font-size: 1.8em;
    line-height: 1;
    transition: opacity var(--transition);
}
.dropdown__toggle-btn::before {
    content: "\002B";
}
.dropdown__toggle-btn.open::before {
    content: "\2212";
}
.no-touch .dropdown__toggle-btn:hover,
.dropdown__toggle-btn:active {
    opacity: 0.8;
}
.dropdown__body {
    display: none;
}
.dropdown__body.open {
    display: block;
}

/* ABOUT */

.about {
    margin: 2.5em 0em 5em;
}

/* DEPARTMENT */

.department {
    margin-top: 7em;
}
.department__title {
    text-align: center;
}
.department__content {
    margin-top: 2.5em;
}
.department__content li {
    display: flex;
    align-items: center;
    column-gap: 0.625em;
}
.department__content img {
    height: 1.5em;
}
.department__nav a {
    padding: 0.5em 0;
}
.department__address li {
    padding: 0.5em 0;
}
.department__address address {
    margin-bottom: 0;
}

/* MAP */

.map {
    margin-top: 7em;
}
.map__title {
    text-align: center;
}
.map__content {
    margin-top: 2.5em;
}
.map__frame {
    height: 18.75em;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.map__frame + .map__frame {
    margin-top: 2em;
}
.map__frame--img {
    height: initial;
}
.map__frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* REQUISITES */

.requisites {
    margin-top: 7em;
}
.requisites__title {
    text-align: center;
}
.requisites__content {
    margin-top: 2.5em;
}
.requisites__list li + li {
    margin-top: 1em;
}
.requisites__btn {
    padding: 1em 3em;
    width: fit-content;
    display: flex;
    align-items: center;
    font-size: 1.25em;
    background-color: var(--accent);
    border-radius: var(--border-radius);
}
.requisites__btn img {
    margin-right: 0.5em;
    height: 1.5em;
}

/* PRODUCT */

.product {
    margin: 2.5em 0em 5em;
}
.product__content {
    display: flex;
}
.product__top {
    padding-left: 2em;
}
.product__title {
    margin-bottom: 1.6em;
    font-size: 2.5em;
}
.product__img {
    padding: 0.625em;
    border: 1px solid #000;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.product__img img {
    width: 100%;
}
.product__contacts {
    padding-left: 3.5em;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.product__phones span {
    font-size: 1.25em;
    line-height: 1;
    color: #3e3e3e;
}
.product__phones p {
    margin-bottom: 2.5em;
}
.product__gost {
    width: fit-content;
    font-size: 1.5em;
}
.product__descr {
    margin-top: 2em;
}
.product__faq {
    margin-top: 4em;
}
.product__faq .dropdown__toggle {
    padding: 0.5em 0;
    justify-content: space-between;
    border-bottom: 1px solid var(--grey);
}
.product__faq .dropdown__body {
    margin-top: 1em;
    padding-left: 1em;
    border-left: 1px solid var(--accent);
}
