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

html, body, div, span, object, iframe, figure, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, code, em, img, small, strike, strong, tt, b, u, i, ol, ul, li, fieldset, form, label, table, caption, tbody, tfoot, thead, tr, th, td, main, canvas, embed, footer, header, nav, section, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: none;
}

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

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input {
  -webkit-appearance: none;
  border-radius: 0;
  outline: none;
}

ul {
  list-style: none;
}

button {
  outline: none;
  border: none;
}

a {
  text-decoration: none;
}

html, body {
  overflow-x: clip;
}

body {
  font-family: "Plus Jakarta Sans";
  color: #4F4F4F;
}

.accent {
  color: #6C040C;
}

.italic {
  font-style: italic;
}

.h1 {
  font-size: 60px;
  line-height: 1.3;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.h2 {
  font-size: 48px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
}

.h3 {
  font-size: 35px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.h4 {
  font-size: 22px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 700;
}

@media (max-width: 768px) {
  .h1 {
    font-size: 35px;
    line-height: 1.4;
  }
  .h2 {
    font-size: 30px;
    line-height: 1.35;
  }
  .h3 {
    font-size: 28px;
  }
  .h4 {
    font-size: 20px;
  }
}
.body {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-weight: 500;
}

.body-sm {
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.03em;
  font-weight: 400;
}

.button {
  font-size: 16px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  font-family: 600px;
}

.tag {
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 600;
}

.quote {
  font-size: 45px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 500;
}

.quote-medium {
  font-size: 32px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  font-weight: 500;
}

strong {
  font-weight: 700;
  color: black;
}

i {
  font-style: italic;
}

@media (max-width: 768px) {
  .body {
    font-weight: 400;
  }
  .quote {
    font-size: 28px;
  }
  .quote-medium {
    font-size: 22px;
  }
  .tag {
    font-size: 14px;
  }
}
.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  position: relative;
  display: flex;
  justify-content: center;
  width: max-content;
  transition: ease 0.3s;
  padding: 15px 32px;
  border-radius: 30px;
  background-color: #6C040C;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  font-family: "Plus Jakarta Sans";
}
.btn::after {
  content: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path fill='%23FFFFFF' d='M9.355 0H1.798a.645.645 0 0 0 0 1.29h5.998L.19 8.897a.645.645 0 1 0 .912.913L8.71 2.2v6a.645.645 0 0 0 1.289 0V.645A.64.64 0 0 0 9.355 0'/></svg>");
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-left: 6px;
}
.btn:hover {
  background-color: #A30613;
}

.btn-stroke {
  display: flex;
  justify-content: center;
  border: 1px solid #6C040C;
  width: max-content;
  transition: ease 0.3s;
  padding: 15px 32px;
  border-radius: 30px;
  color: #6C040C;
  font-size: 16px;
  font-weight: 600;
  height: fit-content;
  cursor: pointer;
}
.btn-stroke:hover {
  background-color: #FDE6E9;
}

.btn-link {
  display: flex;
  position: relative;
  width: fit-content;
  font-weight: 700;
  color: #6C040C;
  transition: ease 0.3s;
}
.btn-link::before {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #6C040C;
  content: "";
  transition: ease 0.3s;
}
.btn-link::after {
  content: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='11' viewBox='0 0 15 11'><path fill='%236C040C' d='M14.471 5.02 9.805.354a.667.667 0 0 0-.943.942l3.529 3.53H.667a.667.667 0 0 0 0 1.332H12.39l-3.529 3.53a.667.667 0 1 0 .943.942l4.666-4.667a.667.667 0 0 0 0-.943Z'/></svg>");
  position: absolute;
  right: -23px;
  width: 15px;
  height: 11px;
  transition: ease 0.3s;
}
.btn-link:hover {
  color: #2E0205;
}
.btn-link:hover::before {
  background-color: #2E0205;
  width: 0;
  left: 50%;
}
.btn-link:hover::after {
  content: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' width='15' height='11' viewBox='0 0 15 11'><path fill='%232E0205' d='M14.471 5.02 9.805.354a.667.667 0 0 0-.943.942l3.529 3.53H.667a.667.667 0 0 0 0 1.332H12.39l-3.529 3.53a.667.667 0 1 0 .943.942l4.666-4.667a.667.667 0 0 0 0-.943Z'/></svg>");
  right: -26px;
  transform: scale(0.86) translateY(1px);
}

.btn-form {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  transition: ease 0.3s;
  padding: 12px;
  border-radius: 5px;
  background-color: #6C040C;
  color: white;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
}
.btn-form:hover {
  background-color: #A30613;
}

@media (max-width: 470px) {
  .btns {
    gap: 12px;
  }
  .btn {
    width: 100%;
  }
  .btn-stroke {
    width: 100%;
  }
}
.label {
  background-color: #FDE6E9;
  border-radius: 5px;
  color: #6C040C;
  width: fit-content;
  padding: 4px 12px;
  margin-bottom: 12px;
  font-weight: 600;
}

.highlight {
  position: relative;
  background-color: #FEF7F8;
  padding: 10px 20px;
  margin: 12px 0;
  border-radius: 10px;
  overflow: hidden;
}
.highlight::before {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 4px;
  background-color: #6C040C;
}

@media (max-width: 768px) {
  .highlight {
    padding: 10px 16px;
    border-radius: 5px;
  }
  .highlight br {
    display: none;
  }
}
.form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.input:not([type=checkbox]):not([type=radio]) {
  padding: 15px;
  color: #333333;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  border: 0;
  background-color: #FEF7F8;
  font-family: "Plus Jakarta Sans";
  width: 100%;
  height: fit-content;
}
.input:not([type=checkbox]):not([type=radio])::placeholder {
  color: #4F4F4F;
  transition: ease 0.6s;
  font-weight: 400;
}
.input:not([type=checkbox]):not([type=radio]):focus::placeholder {
  opacity: 0;
}

.form-box:has(input:required), .form-box:has(select:required), .form-box:has(textarea:required) {
  position: relative;
}
.form-box:has(input:required)::after, .form-box:has(select:required)::after, .form-box:has(textarea:required)::after {
  content: "*";
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 1;
  font-size: 16px;
  color: #A30613;
}

.textarea {
  padding: 15px;
  color: #333333;
  font-size: 16px;
  font-weight: 500;
  border-radius: 5px;
  border: 0;
  background-color: #FEF7F8;
  font-family: "Plus Jakarta Sans";
  width: 100%;
  outline: none;
  resize: vertical;
}
.textarea::placeholder {
  color: #4F4F4F;
  transition: ease 0.6s;
  font-weight: 400;
}
.textarea:focus::placeholder {
  opacity: 0;
}

.form-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-box {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.form-row .form-box {
  width: 100%;
}

.select {
  position: relative;
  width: 100%;
  padding: 15px;
  color: #4F4F4F;
  font-size: 16px;
  border-radius: 5px;
  border: 0;
  background-color: #FEF7F8;
  font-family: "Plus Jakarta Sans";
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' fill='none' viewBox='0 0 14 8'%3E%3Cpath fill='%236c040c' d='M7.004 8.004a1 1 0 0 1-.71-.29l-6-6a1.004 1.004 0 1 1 1.42-1.42l5.29 5.3 5.29-5.29a1 1 0 0 1 1.41 1.41l-6 6a1 1 0 0 1-.7.29'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px auto;
  cursor: pointer;
}

.error {
  display: none;
  color: #A30613;
}
.error.visible {
  display: block;
}

.form-select-mod {
  position: relative;
}
.form-select-mod .select-div {
  position: relative;
}
.form-select-mod .select-div::after {
  content: "*";
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 1;
  font-size: 16px;
  color: #A30613;
}

.select-mod-inner {
  height: var(--height);
  margin-bottom: 12px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 16px;
  transition: 0.3s;
  overflow: hidden;
}
.select-mod-inner.open {
  height: 0;
  margin-bottom: 0;
}
.select-mod-inner .custom-file-label {
  display: block;
  margin-bottom: 8px;
}
.select-mod-inner .checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
  gap: 8px;
}
.select-mod-inner .checkbox-group .custom-file-label {
  grid-column: 1/3;
  margin-bottom: 0;
}

.quantity-selector {
  width: 128px;
  border: 1px solid #FDE6E9;
  display: flex;
  align-items: center;
  gap: 16px;
}

.quantity-btn {
  width: 32px;
  height: 32px;
  background: white;
  transition: 0.3s;
  font-family: Regular;
  font-size: 18px;
  cursor: pointer;
}
.quantity-btn:hover {
  background: #FDE6E9;
}

.quantity-input {
  width: 32px;
  background: white;
  border: none;
  font-family: "Plus Jakarta Sans";
  font-size: 18px;
  text-align: center;
}

.quantity-input::-webkit-inner-spin-button,
.quantity-input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input {
  -moz-appearance: textfield;
}

.checkbox-group {
  width: 100%;
}
.checkbox-group .checkbox-label {
  display: flex;
  margin-bottom: 12px;
}

.checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.checkbox-item input[type=checkbox] {
  appearance: auto;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #6C040C;
  border: 2px solid #4F4F4F;
  border-radius: 4px;
  background-color: white;
}
.checkbox-item input[type=checkbox]:checked {
  background-color: #6C040C;
  border-color: #6C040C;
}

input[type=checkbox] {
  appearance: none;
  position: relative;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .select-mod-inner {
    grid-template-columns: 2fr 1fr;
    gap: 16px;
  }
  .select-mod-inner .checkbox-group {
    grid-template-columns: 0.5fr;
  }
  .select-mod-inner .checkbox-item {
    width: max-content;
  }
}
.spinner-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.5);
}
.spinner-bg.hidden {
  display: none;
}

.spinner-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 101;
}

.spinner {
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-top: 4px solid #6C040C;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.form-alert {
  position: fixed;
  top: 100px;
  right: 32px;
  z-index: 100;
  transform: translateX(64px);
  opacity: 0;
  padding: 8px 16px;
  background: white;
  border: 1px solid #6C040C;
  border-radius: 10px;
  transition: 0.3s;
}
.form-alert.visible {
  transform: translateX(0);
  opacity: 1;
}

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus_jakarta_sans.woff2") format("woff2-variations");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
header {
  position: fixed;
  width: 100%;
  max-width: 1920px;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  z-index: 10;
  padding: 0 32px;
}

.header {
  max-width: 1420px;
  margin: 0 auto;
  border-bottom: 1px solid #E0E1DD;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  display: flex;
  width: 109px;
  height: 26px;
  fill: #6C040C;
}

.menu {
  display: flex;
  align-items: center;
  gap: 64px;
  flex-wrap: wrap;
}

.nav-link {
  position: relative;
  padding: 30px 0;
  color: #333333;
  transition: ease-out 0.6s;
}
.nav-link::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  content: "";
  height: 4px;
  width: 100%;
  background-color: #6C040C;
  border-top-right-radius: 5px;
  border-top-left-radius: 5px;
  opacity: 0;
  transition: ease 0.3s;
}
.nav-link:visited {
  color: #333333;
}
.nav-link:hover {
  color: #6C040C;
}
.nav-link:hover::after {
  opacity: 1;
}
.nav-link.active {
  color: #6C040C;
}
.nav-link.active::after {
  opacity: 1;
}

.log-in-btn {
  position: relative;
  font-size: 16px;
  letter-spacing: 0.02em;
  font-weight: 600;
  color: #6C040C;
}
.log-in-btn::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #6C040C;
  content: "";
  transition: ease 0.3s;
}
.log-in-btn:visited {
  color: #6C040C;
}
.log-in-btn:hover {
  color: #2E0205;
}
.log-in-btn:hover::after {
  left: 50%;
  width: 0;
}

.he-btns {
  display: flex;
  align-items: center;
  gap: 20px;
}

.btn-header {
  padding: 10px 35px;
  background-color: #6C040C;
  color: white;
}
.btn-header:hover {
  background-color: #A30613;
  border: 1px solid #A30613;
}

.is-moving .nav-link {
  padding: 20px 0;
}

.burger {
  display: none;
}

@media (max-width: 1300px) {
  .menu {
    gap: 32px;
  }
}
@media (max-width: 1100px) {
  .log-in-btn {
    display: none;
  }
}
@media (max-width: 1000px) {
  .menu-wrap {
    display: none;
    flex-direction: column;
    gap: 16px;
  }
  .header {
    padding: 10px 0;
  }
  .burger {
    display: flex;
    flex-direction: column;
    gap: 4.5px;
    cursor: pointer;
  }
  .burger span {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background-color: #6C040C;
    transition: ease 0.3s;
  }
  .btn-header {
    padding: 6px 22px;
    font-size: 14px;
  }
  .is-open .burger span:nth-child(1) {
    transform: translate(0, 3.2px) rotate(45deg);
  }
  .is-open .burger span:nth-child(2) {
    display: none;
  }
  .is-open .burger span:nth-child(3) {
    transform: translate(0, -4.2px) rotate(-45deg);
  }
  .is-open .menu-wrap {
    position: absolute;
    display: flex;
    left: 0;
    top: 0;
    right: 0;
    padding: 32px;
    background-color: white;
    margin-top: 52px;
    height: 100vh;
    border-top: 1.5px solid #E0E1DD;
    overflow-y: scroll;
  }
  .is-open .menu-wrap .log-in-btn {
    display: flex;
  }
  .log-in-btn {
    justify-content: center;
    border: 1px solid #6C040C;
    transition: ease 0.3s;
    padding: 15px 32px;
    border-radius: 30px;
    color: #6C040C;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 32px;
  }
  .log-in-btn::after {
    display: none;
  }
  .nav-link {
    padding: 16px 0;
    font-size: 22px;
    font-weight: 600;
  }
  .nav-link::after {
    width: 3px;
    height: 60%;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 0;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    left: -16px;
  }
  .nav-link:hover {
    opacity: 1;
  }
  .nav-link:hover::after {
    opacity: 1;
  }
  .nav-link .nav-link.active::after {
    display: block;
  }
  .is-moving .nav-link {
    padding: 16px 0;
  }
  .menu {
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }
}
@media (max-width: 768px) {
  header {
    padding: 0 16px;
  }
  .logo {
    width: 93px;
    height: 22px;
  }
  .is-open .menu-wrap {
    padding: 32px 16px 32px;
  }
}
.foo-cta {
  max-width: 1920px;
  padding: 150px 32px 0;
  margin: 0 auto;
  background-color: #F7F7F7;
}

.cta {
  position: relative;
  overflow: hidden;
  max-width: 1420px;
  background-color: white;
  border-radius: 10px;
  margin: 0 auto -100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.cta .h2 {
  color: #333333;
}
.cta .h2 span {
  font-style: italic;
}
.cta .body {
  margin: 32px 0;
}

.cta-wrap {
  padding: 100px 56px;
  max-width: min(44vw, 640px);
}

.cta-right {
  position: relative;
}

.cta-images {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  gap: 12px;
}

.cta-image {
  aspect-ratio: 200/300;
  overflow: hidden;
  border-radius: 5px;
  display: flex;
  width: 200px;
}
.cta-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-image-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta-image-row1 .cta-image:nth-child(1) img {
  object-position: 6% center;
}
.cta-image-row1 .cta-image:nth-child(2) img {
  object-position: 76% center;
}
.cta-image-row1 .cta-image:nth-child(3) img {
  object-position: 43% center;
}

.cta-image-row2 {
  transform: translateY(150px);
}
.cta-image-row2 .cta-image:nth-child(2) img {
  object-position: 80% center;
}

.cta-image-row3 .cta-image:nth-child(1) img {
  object-position: 48% center;
}
.cta-image-row3 .cta-image:nth-child(2) img {
  object-position: 90% center;
}
.cta-image-row3 .cta-image:nth-child(3) img {
  object-position: 60% center;
}

@media (max-width: 1200px) {
  .cta {
    flex-direction: column;
  }
  .cta-wrap {
    max-width: unset;
  }
  .cta-images {
    position: unset;
    transform: unset;
    flex-direction: column;
  }
  .cta-image-row2 {
    justify-content: center;
    transform: unset;
  }
  .cta-image-row2 .cta-image:nth-child(3) {
    display: none;
  }
  .cta-image-row {
    flex-direction: row;
  }
  .cta-image {
    aspect-ratio: 250/120;
    width: 370px;
  }
  .cta-image-row1 .cta-image:nth-child(1) img {
    object-position: center 0;
  }
}
@media (max-width: 768px) {
  .cta {
    margin: 0 auto -150px;
    border-radius: 5px;
  }
  .cta .body {
    margin: 12px 0;
  }
  .cta-wrap {
    padding: 48px 16px;
  }
  .cta-image {
    max-width: max(250px, 46vw);
  }
  .cta-images, .cta-image-row {
    gap: 10px;
  }
  .foo-cta {
    padding: 100px 16px 0;
  }
}
footer {
  background-color: #2E0205;
  max-width: 1920px;
  margin: 0 auto;
  padding: 200px 32px 20px;
}

.foo {
  max-width: 1420px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.foo-logo {
  display: flex;
  fill: white;
  width: 118px;
  height: 28px;
}

.foo-title {
  color: white;
  border-bottom: 1px solid rgba(224, 225, 221, 0.3);
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.foo .btn-stroke {
  border: 1px solid white;
  color: white;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
}
.foo .btn-stroke:hover {
  background: #6C040C;
}

.foo-block {
  min-width: 136px;
}

.foo-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.foo-quick-links-block {
  display: flex;
  flex-wrap: wrap;
  row-gap: 12px;
}
.foo-quick-links-block .foo-link {
  width: 50%;
}

.foo-link {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.75);
  transition: ease 0.3s;
}
.foo-link:hover {
  color: white;
}

.quick-foo-link {
  width: 50%;
}

.foo-quick-links {
  max-width: 245px;
}

address {
  font-style: normal;
  color: rgba(255, 255, 255, 0.75);
}

.foo-move-block {
  display: none;
}

.foo-bottom {
  display: flex;
  max-width: 1420px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(224, 225, 221, 0.3);
  justify-content: space-between;
  gap: 12px;
}

.foo-bottom-link {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.5);
  transition: ease 0.3s;
}
.foo-bottom-link:hover {
  color: white;
}

.author {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  transition: ease 0.3s;
  font-size: 14px;
  font-weight: 500;
  width: fit-content;
}
.author span {
  flex: 1;
}
.author:visited {
  color: white;
}

.golem {
  transition: ease 0.3s;
  width: 72px;
  height: 16px;
  fill: white;
  aspect-ratio: 72/16;
}

@media (max-width: 1000px) {
  .foo {
    flex-direction: column;
    align-items: center;
    max-width: 340px;
    gap: 32px;
  }
  .foo-move-block {
    display: flex;
    gap: 56px;
  }
  .foo-quick-links, .foo-move-block {
    max-width: 100%;
    width: 100%;
  }
  #fooSocial {
    width: 39%;
  }
  #fooAddress {
    width: 61%;
  }
  .foo-block {
    min-width: unset;
  }
}
@media (max-width: 768px) {
  footer {
    padding: 200px 16px 24px;
  }
  .foo-bottom {
    margin: 32px 0 0;
    flex-direction: column;
    align-items: center;
  }
}
@media (max-width: 460px) {
  .foo-block-btn {
    width: 100%;
  }
  .author {
    padding-top: 6px;
  }
}
.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0);
  z-index: 1000;
  transition: opacity 0.6s ease, background-color 0.3s ease, visibility 0.3s ease;
}

.modal.open {
  visibility: visible;
  opacity: 1;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  padding: 48px 96px;
  border-radius: 8px;
  max-width: 610px;
  width: calc(100% - 32px);
  position: relative;
  transform: scale(0.8);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.6s ease;
}
.modal-content .h4 {
  text-align: center;
  color: black;
}
.modal-content .body {
  text-align: center;
  margin: 12px auto 32px;
}

.modal.open .modal-content {
  transform: scale(1);
  opacity: 1;
}

.modal-close {
  position: absolute;
  top: 0;
  right: 15px;
  font-size: 42px;
  cursor: pointer;
  transition: ease 0.3s;
  color: #6C040C;
}

.modal-close:hover {
  color: #A30613;
}

.form-login {
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

.form-register-btn {
  margin: 32px auto 0;
}
.form-register-btn::before {
  bottom: 0;
}

.wide-modal {
  max-width: 800px;
}

@media (max-width: 768px) {
  .form {
    gap: 8px;
  }
  .modal-content {
    padding: 42px 16px 16px;
    max-height: 90vh;
    overflow-y: scroll;
  }
  .modal-content .body {
    margin: 12px auto 20px;
  }
  .form-register-btn {
    margin: 20px auto 0;
  }
}