/* Reset and base styles  */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */

a, a:link, a:visited  {
    text-decoration: none;
}

a:hover  {
    text-decoration: none;
}

/* Common */

aside, nav, footer, header, section, main {
	display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
	font-weight: inherit;
}

ul, ul li {
	list-style: none;
}

img {
	vertical-align: top;
}

img, svg {
	max-width: 100%;
	height: auto;
}

address {
  font-style: normal;
}

/* Form */

input, textarea, button, select {
	font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}

input::-ms-clear {
	display: none;
}

button, input[type="submit"] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}

input:focus, input:active,
button:focus, button:active {
    outline: none;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

input[type='file'] {
	max-width: 100%;
}



:root {
	--main-white: #fff;
	--background-gray: #efefef;
	--background-darkgray: #c4c4c4;
	--pink: #ff3eb5;
	--text-gray: #727272;
	--black: #000;
	--black2: #232323;
	--mobile: 500px;
}

html {
  /* fix */
	/* font-size: calc(1vw / 14.4); */
  font-size: 0.9259259259vw;
}

body {
	font-family: var(--font-family), sans-serif;
	font-size: 16px;
}
footer .container {
	margin: 0 auto;
	width: 100%;
	max-width: 1440px;
	padding: 0 60px;
}

.header__logo {
  position: absolute;
  width: 1.75rem;
  height: 2.625rem;
  left: 50%;
  transform: translateX(-50%);
}
.header__row {
    transition: .3s ease-in;
    
    --glass-blur: 24px;
    --glass-sat: 1.35;
    --glass-fill-1: rgba(255, 255, 255, 0.25);
    --glass-fill-2: rgba(255, 255, 255, 0.10);
    --glass-border: rgba(255, 255, 255, 0.35);
    --glass-shadow: rgba(0, 0, 0, 0.15);

    position: fixed;
    inset: 0 auto auto 0;
    z-index: 1000;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: linear-gradient(180deg, var(--glass-fill-1), var(--glass-fill-2));
    border: 1px solid var(--glass-border);
    background-clip: padding-box;
    box-shadow: 
        0 8px 24px var(--glass-shadow),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);

    backdrop-filter: 
        blur(var(--glass-blur)) 
        saturate(var(--glass-sat));
    -webkit-backdrop-filter: 
        blur(var(--glass-blur)) 
        saturate(var(--glass-sat));

    padding: 1.188rem 3.75rem;
}

.header__row_contacts {
    display: flex;
    gap: 1.25rem;
    font-size: 1.125rem;
}

.header__row_contacts a {
    text-transform: uppercase;
    color: var(--black);
    transition: .2s ease-in;
    text-decoration: none;
    font-weight: 500;
    line-height: normal;
}

.header__row_contacts a:nth-child(1):hover {
    color: var(--pink);
}
.header__row_contacts a:nth-child(2) {
    background-image: linear-gradient(var(--black), var(--black));
    background-position: 0 bottom;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    transition: background-size 0.3s ease;
}
.header__row_contacts a:nth-child(2):hover {
    background-size: 0% 1px;
}

.nav {
    --glass-blur: 24px;         
    --glass-sat: 1.35;          
    --glass-fill-1: rgba(255,255,255,0.14);
    --glass-fill-2: rgba(255,255,255,0.06);
    --glass-border: rgba(255,255,255,0.28);
    --glass-shadow: rgba(0,0,0,0.20);
    position: absolute;
    position: fixed;
    top: 3.875rem;
    left: 3.875rem;
    opacity: 0;
    z-index: 1000;
    pointer-events: none;
    transition: .3s ease-in;
    background: linear-gradient(180deg, var(--glass-fill-1), var(--glass-fill-2));
    border: 1px solid var(--glass-border);
    background-clip: padding-box;
    box-shadow:
        0 8px 24px var(--glass-shadow),
        inset 0 1px 0 rgba(255,255,255,0.25);
    backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(var(--glass-sat));
    border-top: none;
    padding: 1.25rem;
    font-size: 1rem;
}

.nav--visible {
  opacity: 1;
  pointer-events: all;
}

.nav__list {
    display: flex;
    flex-direction: column;
    gap: 0.938rem;
}
.nav__list a {
  line-height: normal;
  transition: .2s ease;
  text-transform: uppercase;
  color: var(--black);
}
.nav__list li:nth-child(9) {
  margin-top: 1.25rem;
}
.nav__list li:nth-child(10) {
  margin-bottom: 1.25rem;
}
.nav__list a:hover {
  color: var(--pink);
  text-decoration: underline;
}

.nav__list a:active {
    color: var(--pink);
    text-decoration: underline!important;
}

.sandwich {
    height: 100%;
    width: 100%;
}
.sandwich span {
    transition: .3s ease-in;
    display: inline-block;
    position: absolute;
    border-radius: 0.125rem;
    left: 0;
    width: 100%;
    height: 0.188rem;
    background-color: var(--black);
}
.sandwich span:nth-child(1) {
    top: 0;
}
.sandwich span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}
.sandwich span:nth-child(3) {
    bottom: 0;
}

.sandwich--active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}
.sandwich--active span:nth-child(2) {
    opacity: 0;
}
.sandwich--active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

.footer {
  margin-top: 120px;
}
.footer-new {
  background-color: var(--black);
  width: 100%;
  position: fixed;
  bottom: 0;
  z-index: 999;
}

.footer__logo {
  position: relative;
  width: 590px;
  height: 127px;
  margin-bottom: 60px;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
}

.footer__content_left {
  display: flex;
  flex-direction: column;
  color: var(--text-gray);
}

.footer__content_left p,
.footer__content_left address {
  font-size: 16px;
}

.footer__content_left address {
  margin-bottom: 20px;
}

.footer__content_left__buttons {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.footer__content_left__buttons button {
  width: 100%;
}

.footer__bottom {
  color: var(--main-white);
  padding: 1.25rem 3.75rem;
  font-size: 1rem;
  /* margin-top: 60px; */
  /* background: var(--black); */
}

.footer__bottom a {
  line-height: normal;
  color: var(--main-white);
  font-size: 0.875rem;
  text-transform: uppercase;
  transition: 0.2s ease-in;
  background-image: linear-gradient(var(--main-white), var(--main-white));
  background-position: 0 bottom;
  background-repeat: no-repeat;
  background-size: 100% 1px;
  -webkit-transition: background-size 0.3s ease;
  transition: background-size 0.3s ease;
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.footer__bottom a:hover {
  background-size: 0% 1px;
}

.footer__bottom_content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__bottom_content__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer__bottom_content__right {
  font-size: 0.875rem;
  line-height: 86%;
  max-width: 28.313rem;
}

.footer__bottom_logo {
  width: 7.875rem;
  height: 1.688rem;
  position: relative;
}
.footer__bottom_logo img {
  width: 100%;
  height: 100%;
}
.contact_form {
  display: grid;
}

.contact_form label:nth-child(1) {
  margin-bottom: 40px;
}

.contact_form label:nth-child(2) {
  margin-bottom: 65px;
}

.contact_form__agree {
  font-size: 14px;
  color: var(--text-gray);
  margin-bottom: 20px;
}

.contact_form__agree a {
  color: var(--text-gray);
  text-decoration: underline;
  text-decoration-skip-ink: none;
}

.contact_form button {
  width: 100%;
}

.form_input {
  text-transform: uppercase;
  color: var(--black);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--black);
}

.form_input input {
  text-transform: uppercase;
  color: var(--black);
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 16px;
}

.form_input input::placeholder {
  color: var(--black);
}

.btn {
  border: 1px solid var(--black2);
  border-radius: 20px;
  padding: 10px 0;
  text-transform: uppercase;
  color: var(--black2);
  background: transparent;
  cursor: pointer;
  transition: 0.2s ease-in;
  font: inherit;
  width: 100%;
  text-align: center;
}

.btn:hover {
  background-color: var(--black2);
  color: var(--main-white);
}
.cookie__btns button {
  padding-top: 0;
  padding-bottom: 0;
  min-width: 6.5rem;
  line-height: 1.2;
  border-radius: 0;
  border-color: white;
  color: white;
}

.sandwich {
  position: relative;
  width: 2rem;
  height: 1.5rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.sandwich span {
  display: block;
  height: 0.188rem;
  background: #000;
  border-radius: 0.125rem;
}

@media only screen and (max-width: 1023px) {
  html {
    font-size: 4.0712468193vw;
  }
  .elector {
    padding-top: 4.625rem;
  }
  .footer-new {
    position: unset;
  }
  .header__row {
    padding: 19px 20px;
  }
  .nav {
    left: 0;
    top: 62px;
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 16px;
    padding: 20px;
  }
  .nav__list {
    gap: 15px;
  }
  .nav__list li:nth-child(9) {
    margin-top: 20px;
  }
  .nav__list li:nth-child(10) {
    margin-bottom: 20px;
  }
  .header__logo {
    left: auto;
    right: 1.25rem;
    width: 28px;
    height: 42px;
  }
  .footer__logo {
    width: 100%;
    height: 75px;
  }
  .sandwich {
    height: 24px;
    width: 32px;
  }
  .sandwich span {
    height: 3px;
  }
  .footer__content {
    grid-template-columns: none;
  }

  .footer__content_left p {
    text-align: center;
  }

  .footer__content_left__buttons {
    margin-top: 20px;
  }

  .footer__content address {
    text-align: center;
  }

  .footer__bottom {
    padding: 40px 20px;
    font-size: 16px;
  }

  .footer__bottom_logo {
    width: 126px;
    height: 27px;
  }
  .footer__bottom a {
    font-size: 14px;
  }
  .footer__bottom_content {
    flex-direction: column;
    gap: 20px;
  }
  .footer__bottom_content__right {
    font-size: 14px;
    max-width: 453px;
  }

  .footer__bottom_content__left {
    width: 100%;
    justify-content: space-between;
  }

  .contact_form label:nth-child(2) {
    margin-bottom: 40px;
  }
  .header__row_contacts {
    display: none;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.inputError {
  color: var(--pink)!important;
}
