/* ===== Глобальные переменные и темы ===== */
:root {
  --image-viewer-background: #000000AA;
  --letter-spacing: -.22px;
}

.dark-theme {
  --background-color: #121214;
  --neutral-50: #FEFEFE;
  --neutral-100: #EFEFEF;
  --neutral-200: #DCDCDC;
  --neutral-300: #BDBDBD;
  --neutral-500: #7C7C7C;
  --neutral-600: #656565;
  --neutral-950: #292929;
  --neutral-1000: #212124;
  --primary-200: #BFD7FE;
  --primary-300: #93BBFD;
  --primary-400: #609AFA;
  --background-color-rgb: 18, 18, 20;
  --neutral-100-rgb: 239, 239, 239;
  --neutral-300-rgb: 189, 189, 189;
  --primary-400-rgb: 96, 154, 250;
  --background-enumerator-color: #292929;
  --white-color: #EFEFEF;
  --white-color-rgb: 239, 239, 239;
}

.light-theme {
  --background-color: #FAFAFE;
  --neutral-50: #292929;
  --neutral-100: #3D3D3D;
  --neutral-200: #464646;
  --neutral-300: #525252;
  --neutral-500: #7C7C7C;
  --neutral-600: #989898;
  --neutral-950: #FEFEFE;
  --neutral-1000: #2570EB;
  --primary-200: #93BBFD;
  --primary-300: #609AFA;
  --primary-400: #2570EB;
  --background-color-rgb: 250, 250, 254;
  --neutral-100-rgb: 61, 61, 61;
  --neutral-300-rgb: 82, 82, 82;
  --background-enumerator-color: #609AFA;
  --white-color: #FEFEFE;
  --white-color-rgb: 254, 254, 254;
}

/* ===== Общие сбросы ===== */
* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

body {
  width: 100vw;
  height: 100vh;
  background-color: var(--background-color);
  color: var(--neutral-300);
  overflow-x: hidden;
}

.body-scroll-disabled {
  overflow-y: hidden;
}

svg {
  align-self: center;
  fill: var(--neutral-300);
}

/* ===== Шрифты ===== */
.manrope-medium {
  font-family: Manrope, system-ui;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.manrope-semibold {
  font-family: Manrope, system-ui;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
}
.manrope-bold {
  font-family: Manrope, system-ui;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}
.manrope-extrabold {
  font-family: Manrope, system-ui;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: normal;
}

/* ===== Стили для шапки (header) ===== */
header {
  display: flex;
  position: relative;
  padding: 24px 96px;
  gap: 32px;
  background: var(--background-color);
  border-bottom: 1px solid var(--neutral-950);
  z-index: 10;
}
@media not (min-width: 1280px) {
  header {
    border-bottom: 0;
    padding: 0;
  }
}

header .container {
  display: flex;
  height: 24px;
  width: 100%;
  justify-content: space-between;
}
@media not (min-width: 1280px) {
  header .container {
    height: auto;
    padding: 0 20px;
  }
}

.control-container {
  display: flex;
  position: relative;
  width: auto;
  align-items: center;
  justify-content: space-between;
  z-index: 11;
}
@media not (min-width: 1280px) {
  .control-container {
    width: 100%;
    padding: 16px 0;
    border-bottom: 1px solid var(--neutral-950);
  }
}

.control-buttons {
  display: none;
  gap: 8px;
}
@media not (min-width: 1280px) {
  .control-buttons {
    display: flex;
  }
}

.dropdown-button {
  display: block;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border-width: 0;
  background-color: rgba(var(--neutral-100-rgb), 4%);
  cursor: pointer;
}
.dropdown-button svg {
  width: 13px;
  height: 11px;
}

.dropdown-frame {
  display: flex;
  width: 100%;
}
@media not (min-width: 1280px) {
  .dropdown-frame {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-top: 85px;
    background-color: var(--background-color);
  }
  .dropdown-opened {
    display: flex;
    flex-direction: column;
  }
}

.dropdown-container {
  display: flex;
  width: 100%;
  gap: 32px;
}
@media not (min-width: 1280px) {
  .dropdown-container {
    flex-direction: column;
    flex-grow: 1;
    justify-content: space-between;
    padding-bottom: 20px;
    gap: 32px;
  }
}

.navigation-container {
  display: flex;
  padding-left: 32px;
  align-items: center;
  margin-right: auto;
  gap: 32px;
}
@media not (min-width: 1280px) {
  .navigation-container {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
  }
}

.contacts-container {
  display: flex;
  align-items: center;
  gap: 20px;
}
@media not (min-width: 1280px) {
  .contacts-container {
    flex-direction: column;
    align-items: flex-start;
    padding-left: 20px;
    gap: 24px;
  }
}
.contacts-container span {
  color: var(--neutral-100);
  font-size: 12px;
  line-height: 12px;
}
@media not (max-width: 1920px) {
  .contacts-container span {
    font-size: 18px;
    line-height: 18px;
  }
}
.contacts-container div {
  display: flex;
}
@media not (min-width: 1280px) {
  .contacts-container div {
    display: none;
  }
}

.theme-switcher-container {
  height: 36px;
  display: flex;
  padding: 6px;
  gap: 12px;
  border-radius: 8px;
  background-color: rgba(var(--neutral-100-rgb), 4%);
}

.theme-switch {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  fill: var(--neutral-500);
}
.theme-switch > svg {
  width: 24px;
  height: 24px;
  fill: inherit;
}
.light-theme-enabled {
  background-color: var(--primary-400);
  fill: var(--white-color);
}
.dark-theme-enabled {
  background-color: rgba(var(--neutral-100-rgb), 12%);
  fill: var(--white-color);
}

/* ===== Стили для навигационных списков (navbar-list) ===== */
.list-category {
  display: flex;
  -webkit-user-select: none;
  user-select: none;
  color: var(--neutral-300);
  align-items: center;
  font-size: 14px;
  line-height: 21px;
  text-decoration: none;
  text-align: left;
  gap: 8px;
  transition: color .6s;
}
.list-category:hover {
  color: var(--neutral-100);
}
@media not (min-width: 1280px) {
  .list-category {
    cursor: pointer;
  }
}
@media not (max-width: 1920px) {
  .list-category {
    font-size: 21px;
    line-height: 32px;
  }
}
.list-category svg {
  display: flex;
  width: 8px;
  height: 8px;
  fill: var(--primary-400);
  transition: transform .6s;
}
@media not (max-width: 1920px) {
  .list-category svg {
    width: 12px;
    height: 12px;
  }
}
.list-category:hover svg {
  transform: rotate(-45deg);
}

.list-container {
  width: 340px;
  display: none;
  position: absolute;
}
@media (min-width: 1280px) {
  .header {
    padding-top: 51px;
  }
  .footer {
    padding-bottom: 51px;
    bottom: 24px;
  }
}
@media not (min-width: 1280px) {
  .list-container {
    width: 340px;
    position: relative;
  }
  .dropdown-opened {
    display: flex;
    flex-direction: column;
  }
}
.list-container:hover {
  display: flex;
  flex-direction: column;
}

.list-content {
  border-width: 1px;
  border-color: rgba(var(--neutral-100-rgb), 4%);
  border-radius: 8px;
  border-style: solid;
  padding: 12px;
  gap: 4px;
  -webkit-backdrop-filter: blur(96px);
  backdrop-filter: blur(96px);
}

.list-item {
  display: flex;
  border-width: 1px;
  border-radius: 8px;
  border-color: transparent;
  border-style: solid;
  padding: 8px;
  gap: 20px;
  background-color: inherit;
  -webkit-user-select: none;
  user-select: none;
  text-decoration: none;
  transition: all .6s;
}
.list-item:hover {
  background-color: rgba(var(--neutral-100-rgb), 2%);
  border-color: rgba(var(--neutral-100-rgb), 8%);
}
.list-item-image {
  display: flex;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
  gap: 10px;
  justify-content: center;
  background-color: rgba(var(--neutral-100-rgb), 4%);
}
.list-item-image svg {
  height: 16px;
  transition: fill .6s;
}
.list-item:hover .list-item-image {
  background-color: rgba(var(--neutral-100-rgb), 6%);
}
.list-item:hover > .list-item-image svg {
  fill: var(--neutral-100);
}
.list-item span {
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  display: flex;
  align-items: center;
  text-align: left;
  color: var(--neutral-300);
  letter-spacing: var(--letter-spacing);
  transition: color .6s;
}
.list-item:hover span {
  color: var(--neutral-100);
}
@media not (min-width: 1280px) {
  .list-item span {
    font-size: 14px;
    line-height: 21px;
  }
}
@media not (max-width: 1920px) {
  .list-item span {
    font-size: 21px;
    line-height: 32px;
  }
}

.link {
  display: flex;
  font-size: 14px;
  line-height: 21px;
  color: var(--neutral-300);
  text-decoration: none;
  gap: 12px;
  -webkit-user-select: none;
  user-select: none;
  transition: color .6s;
}
.link:hover {
  color: var(--neutral-100);
}
@media not (max-width: 1920px) {
  .link {
    font-size: 21px;
    line-height: 32px;
  }
}

.company-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  -webkit-user-select: none;
  user-select: none;
}

/* ===== Стили для компонента контактов ===== */
.contacts {
  padding: 112px 96px;
}
@media not (min-width: 1280px) {
  .contacts {
    padding: 32px 20px 64px;
  }
}

.contacts .container {
  display: flex;
  gap: 96px;
}
@media not (min-width: 1280px) {
  .contacts .container {
    flex-direction: column;
    gap: 64px;
  }
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media not (min-width: 1280px) {
  .content {
    gap: 32px;
  }
}

.content .list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.content .list-item {
  display: flex;
  gap: 16px;
}
.content .list-item svg {
  display: flex;
  width: 16px;
  height: 16px;
  align-self: center;
  align-content: center;
  justify-content: center;
  transition: fill .6s;
}
.content .list-item span {
  font-size: 16px;
  line-height: 24px;
  color: var(--neutral-300);
  letter-spacing: var(--letter-spacing);
  transition: color .6s;
}
.content .list-item:hover svg {
  fill: var(--neutral-100);
}
.content .list-item:hover span {
  color: var(--neutral-100);
}
@media not (max-width: 1920px) {
  .content .list-item span {
    font-size: 21px;
    line-height: 32px;
  }
}

/* ===== Формы ===== */
.form-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-item {
  display: flex;
  height: 58px;
  border-width: 1px;
  border-color: rgba(var(--neutral-100-rgb), 6%);
  border-radius: 16px;
  border-style: solid;
  padding-right: 8px;
  padding-left: 24px;
  gap: 48px;
  background-color: rgba(var(--neutral-300-rgb), 2%);
  transition: background-color .6s;
}
.form-item:hover {
  background-color: rgba(var(--neutral-300-rgb), 4%);
}
.form-textarea {
  height: 180px;
  min-height: 180px;
  padding: 24px;
}
.form-item ::placeholder {
  color: var(--neutral-300);
  opacity: 1;
  transition: color .6s;
}
.form-item input,
.form-item textarea {
  font-size: 15px;
  line-height: 22.5px;
  border: 0;
  outline: 0;
  width: 100%;
  background-color: transparent;
  color: var(--neutral-300);
  letter-spacing: var(--letter-spacing);
  transition: color .6s;
}
.form-item:hover ::placeholder {
  color: var(--neutral-200);
}
@media not (max-width: 1920px) {
  .form-item input,
  .form-item textarea {
    font-size: 20px;
    line-height: 30px;
  }
}
.form-item textarea {
  resize: none;
  height: 100%;
  vertical-align: top;
}
.form-actions {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.form-checkbox {
  display: flex;
  gap: 8px;
}
.form-checkbox input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  border-radius: 50%;
  border-width: 1px;
  border-color: rgba(var(--neutral-100-rgb), 6%);
  border-style: solid;
  background-color: rgba(var(--neutral-300-rgb), 2%);
  margin: 0;
  appearance: none;
  outline: none;
  cursor: pointer;
  align-self: center;
}
.form-checkbox input:checked {
  background-color: var(--primary-400);
}
.form-checkbox span {
  font-size: 14px;
  line-height: 21px;
  text-decoration-color: var(--primary-400);
  letter-spacing: var(--letter-spacing);
}
.form-checkbox a {
  color: var(--primary-400);
  text-decoration-color: var(--primary-400);
}
@media not (max-width: 1920px) {
  .form-checkbox span {
    font-size: 24px;
    line-height: 36px;
  }
}
.form-submit {
  height: 44px;
}
.form-submit button {
  height: 100%;
  border-radius: 16px;
  border-width: 1px;
  border-color: var(--primary-400);
  border-style: solid;
  padding: 0 24px;
  background-color: var(--primary-400);
  color: var(--background-color);
  letter-spacing: var(--letter-spacing);
  cursor: pointer;
  transition: background-color .6s;
}
.form-submit:hover button {
  background-color: var(--primary-300);
}
.form-submit:active button {
  background-color: var(--primary-200);
}
@media not (min-width: 1280px) {
  .form-submit button {
    width: 100%;
  }
}

/* ===== Подвал (footer) ===== */
footer {
  display: flex;
  flex-direction: column;
  padding: 64px 96px;
  gap: 80px;
  background: url(/assets/footer.svg);
  background-size: cover;
}
@media not (min-width: 1280px) {
  footer {
    padding: 0 20px 32px;
    gap: 48px;
  }
}

footer .navigation-container {
  display: flex;
  justify-content: space-between;
  position: relative;
}
@media not (min-width: 1280px) {
  footer .navigation-container {
    flex-direction: column;
    border-top: 1px solid var(--neutral-950);
    padding-top: 32px;
    gap: 32px;
  }
}

footer .navigation {
  display: flex;
  justify-content: space-between;
  gap: 32px;
}
@media not (min-width: 1280px) {
  footer .navigation {
    flex-direction: column;
  }
}

.legal-container {
  display: flex;
  padding-top: 32px;
  border-top: 1px solid var(--neutral-950);
  justify-content: space-between;
  gap: 16px;
}
@media not (min-width: 1280px) {
  .legal-container {
    flex-direction: column;
  }
}
.legal-container span {
  -webkit-user-select: none;
  user-select: none;
  font-size: 14px;
  line-height: 21px;
  color: var(--neutral-300);
  letter-spacing: var(--letter-spacing);
  transition: color .6s;
}
.legal-container span:hover {
  color: var(--neutral-100);
}
@media not (max-width: 1920px) {
  .legal-container span {
    font-size: 21px;
    line-height: 32px;
  }
}
.legal {
  display: flex;
  gap: 24px;
}
@media not (min-width: 1280px) {
  .legal {
    flex-direction: column;
    gap: 16px;
  }
}
.legal a {
  -webkit-user-select: none;
  user-select: none;
  font-size: 14px;
  line-height: 21px;
  color: var(--neutral-300);
  letter-spacing: var(--letter-spacing);
  transition: color .6s;
}
.legal a:hover {
  color: var(--neutral-100);
}
@media not (max-width: 1920px) {
  .legal a {
    font-size: 21px;
    line-height: 32px;
  }
}

/* ===== Дополнительные стили для компонентов (заголовки, списки, галереи) ===== */
/* Заголовок с квадратом */
.heading {
  display: flex;
  gap: 24px;
}
.heading svg {
  width: 10.5px;
  height: 10.5px;
  fill: var(--primary-400);
}
.heading span {
  font-size: 32px;
  line-height: 32px;
  color: var(--neutral-100);
  letter-spacing: var(--letter-spacing);
}
@media not (min-width: 1280px) {
  .heading span {
    font-size: 24px;
    line-height: 24px;
  }
}
@media not (max-width: 1920px) {
  .heading span {
    font-size: 40px;
    line-height: 40px;
  }
}

/* Текстовые блоки */
.text-block p {
  font-family: Manrope, system-ui;
  font-optical-sizing: auto;
  font-weight: 600;
  font-style: normal;
  font-size: 20px;
  line-height: 30px;
  color: var(--neutral-300);
  letter-spacing: var(--letter-spacing);
  white-space: pre-wrap;
}
@media not (min-width: 1280px) {
  .text-block p {
    font-size: 16px;
    line-height: 24px;
  }
}
@media not (max-width: 1920px) {
  .text-block p {
    font-size: 24px;
    line-height: 36px;
  }
}

/* Список с кружками */
.list-bullet {
  display: flex;
  flex-direction: column;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--neutral-950);
  gap: 32px;
}
.list-bullet .item {
  display: flex;
  gap: 32px;
}
.list-bullet .item svg {
  width: 12px;
  min-width: 12px;
  fill: var(--primary-400);
}
.list-bullet .item p {
  font-size: 20px;
  line-height: 30px;
  color: var(--neutral-100);
  letter-spacing: var(--letter-spacing);
}
@media not (min-width: 1280px) {
  .list-bullet .item p {
    font-size: 16px;
    line-height: 24px;
  }
}
@media not (max-width: 1920px) {
  .list-bullet .item p {
    font-size: 24px;
    line-height: 36px;
  }
}

/* Галерея (карусель) */
.gallery-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
@media not (min-width: 1280px) {
  .gallery-container {
    gap: 32px;
  }
}
.gallery-slider {
  display: flex;
  height: 400px;
  gap: 12px;
}
.gallery-slider img {
  height: 400px;
  object-fit: scale-down;
}
.gallery-buttons {
  display: flex;
  gap: 16px;
}
.gallery-button {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-width: 1px;
  border-radius: 8px;
  border-color: transparent;
  border-style: hidden;
  background: linear-gradient(0deg, rgba(var(--white-color-rgb), 8%), rgba(var(--white-color-rgb), 0%));
  padding: 1px;
  transition: background .6s;
}
.gallery-button:hover {
  background: linear-gradient(0deg, rgba(var(--white-color-rgb), 10%), rgba(var(--white-color-rgb), 2%));
}
.gallery-button .btn-inner {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border-width: 0;
  border-style: solid;
  color: var(--white-color);
  background-color: var(--neutral-1000);
  justify-content: center;
  align-items: center;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: var(--letter-spacing);
  transition: background-color .6s;
}
.gallery-button .btn-inner svg {
  fill: var(--white-color);
}
.gallery-button .btn-inner:hover {
  background-color: var(--background-enumerator-color);
}

/* ===== Glide.js (карусель) ===== */
.glide {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.glide * {
  box-sizing: inherit;
}
.glide__track {
  overflow: hidden;
}
.glide__slides {
  position: relative;
  width: 100%;
  list-style: none;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  touch-action: pan-Y;
  overflow: hidden;
  margin: 0;
  padding: 0;
  white-space: nowrap;
  display: flex;
  flex-wrap: nowrap;
  will-change: transform;
}
.glide__slides--dragging {
  -webkit-user-select: none;
  user-select: none;
}
.glide__slide {
  width: 100%;
  height: 100%;
  flex-shrink: 0;
  white-space: normal;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}
.glide__slide a {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.glide__arrows,
.glide__bullets {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  user-select: none;
}
.glide--rtl {
  direction: rtl;
}
.glide__arrow {
  position: absolute;
  display: block;
  top: 50%;
  z-index: 2;
  color: #fff;
  text-transform: uppercase;
  padding: 9px 12px;
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, .5);
  border-radius: 4px;
  box-shadow: 0 .25em .5em #0000001a;
  text-shadow: 0 .25em .5em rgba(0, 0, 0, .1);
  opacity: 1;
  cursor: pointer;
  transition: opacity .15s ease, border .3s ease-in-out;
  transform: translateY(-50%);
  line-height: 1;
}
.glide__arrow:focus {
  outline: none;
}
.glide__arrow:hover {
  border-color: #fff;
}
.glide__arrow--left {
  left: 2em;
}
.glide__arrow--right {
  right: 2em;
}
.glide__arrow--disabled {
  opacity: .33;
}
.glide__bullets {
  position: absolute;
  z-index: 2;
  bottom: 2em;
  left: 50%;
  display: inline-flex;
  list-style: none;
  transform: translate(-50%);
}
.glide__bullet {
  background-color: #ffffff80;
  width: 9px;
  height: 9px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  transition: all .3s ease-in-out;
  cursor: pointer;
  line-height: 0;
  box-shadow: 0 .25em .5em #0000001a;
  margin: 0 .25em;
}
.glide__bullet:focus {
  outline: none;
}
.glide__bullet:hover,
.glide__bullet:focus {
  border: 2px solid white;
  background-color: #ffffff80;
}
.glide__bullet--active {
  background-color: #fff;
}
.glide--swipeable {
  cursor: grab;
  cursor: -moz-grab;
  cursor: -webkit-grab;
}
.glide--dragging {
  cursor: grabbing;
  cursor: -moz-grabbing;
  cursor: -webkit-grabbing;
}

/* ===== Общий контейнер для страниц (app-root) ===== */
.app-container {
  display: flex;
  flex-direction: column;
  padding: 64px 96px 112px;
}
@media not (min-width: 1280px) {
  .app-container {
    padding: 32px 20px;
  }
}

/* ===== Шаблон для страниц (template-container) ===== */
.template-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.template-container .template-container {
  gap: 32px;
}
@media not (min-width: 1280px) {
  .template-container {
    gap: 32px;
  }
  .template-container .template-container {
    gap: 24px;
  }
}

/* ===== Стили для главной страницы (home) ===== */
.home-container {
  display: flex;
  flex-direction: column;
  gap: 64px;
  margin: -96px;
  padding: 96px 96px 480px;
  background-image: radial-gradient(circle at 100%, rgba(var(--background-color-rgb), 100%), rgba(var(--background-color-rgb), 40%)), url(/assets/background.svg);
  background-size: auto 100%;
  background-position-x: right;
  background-repeat: no-repeat;
}
@media not (min-width: 1280px) {
  .home-container {
    gap: 48px;
    margin: -20px;
    padding: 20px 20px 40%;
    background-position-x: right, 40%;
  }
}
.home-title-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
@media not (min-width: 1280px) {
  .home-title-container {
    gap: 24px;
  }
}
.home-title {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.home-title span {
  font-size: 56px;
  line-height: 56px;
  letter-spacing: var(--letter-spacing);
}
@media not (min-width: 1280px) {
  .home-title span {
    font-size: 28px;
    line-height: 28px;
  }
}
@media not (max-width: 1920px) {
  .home-title span {
    font-size: 72px;
    line-height: 72px;
  }
}
.home-description {
  font-size: 16px;
  line-height: 24px;
  color: var(--neutral-200);
  letter-spacing: var(--letter-spacing);
}
@media not (min-width: 1280px) {
  .home-description {
    font-size: 14px;
    line-height: 21px;
  }
}
@media not (max-width: 1920px) {
  .home-description {
    font-size: 21px;
    line-height: 32px;
  }
}
.home-form-container {
  display: flex;
  gap: 16px;
}
@media not (min-width: 1280px) {
  .home-form-container {
    flex-direction: column;
  }
}
.home-form-inputs {
  height: 52px;
  display: flex;
  border-radius: 16px;
  border-width: 1px;
  border-color: var(--neutral-950);
  border-style: solid;
  padding-right: 8px;
  padding-left: 24px;
  gap: 48px;
  background-color: rgba(var(--neutral-100-rgb), 4%);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background-color .6s;
}
.home-form-inputs:hover {
  background-color: rgba(var(--neutral-300-rgb), 6%);
}
.home-form-inputs ::placeholder {
  color: var(--neutral-300);
  opacity: 1;
  transition: color .6s;
}
.home-form-inputs:hover ::placeholder {
  color: var(--neutral-200);
}
@media not (min-width: 1280px) {
  .home-form-inputs {
    width: 100%;
    padding-right: 24px;
  }
}
.home-form-inputs input {
  min-width: 287px;
  font-size: 15px;
  line-height: 22.5px;
  border: 0;
  outline: 0;
  text-overflow: ellipsis;
  background-color: transparent;
  color: var(--neutral-300);
  letter-spacing: var(--letter-spacing);
}
@media not (min-width: 1280px) {
  .home-form-inputs input {
    width: 100%;
  }
}
@media not (max-width: 1920px) {
  .home-form-inputs input {
    min-width: 420px;
    font-size: 21px;
    line-height: 32px;
  }
}
.home-button-container {
  display: flex;
  padding: 8px 0;
  min-width: 152px;
  gap: 8px;
}
@media not (min-width: 1280px) {
  .home-button-container {
    display: none;
  }
}
.home-button {
  width: 100%;
  font-size: 14px;
  line-height: 21px;
  border-radius: 16px;
  border-width: 1px;
  border-color: var(--primary-400);
  border-style: solid;
  outline: 0;
  background-color: var(--primary-400);
  color: var(--background-color);
  cursor: pointer;
  transition: background-color .6s;
}
@media not (max-width: 1920px) {
  .home-button {
    font-size: 18px;
    line-height: 27px;
    padding: 1px 8px;
  }
}
.home-button:hover {
  background-color: var(--primary-300);
}
.home-button:active {
  background-color: var(--primary-200);
}
.home-mobile-button {
  height: 44px;
  min-height: 44px;
  display: none;
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
@media not (min-width: 1280px) {
  .home-mobile-button {
    display: flex;
  }
}
.home-gallery-container {
  display: flex;
  flex-direction: column;
  padding: 48px 0;
  gap: 48px;
}
.home-gallery-container span {
  font-size: 18px;
  line-height: 18px;
  color: var(--neutral-100);
  letter-spacing: var(--letter-spacing);
}
@media not (min-width: 1280px) {
  .home-gallery-container {
    padding: 32px 0;
    gap: 24px;
  }
  .home-gallery-container span {
    font-size: 14px;
    line-height: 14px;
  }
}
@media not (max-width: 1920px) {
  .home-gallery-container span {
    font-size: 21px;
    line-height: 21px;
  }
}
.home-gallery {
  height: 120px;
  display: flex;
  gap: 48px;
}
.home-gallery img {
  height: 100%;
}
@media not (min-width: 1280px) {
  .home-gallery {
    height: 80px;
  }
}

/* ===== Сетка (двойной список) ===== */
.double-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  justify-content: space-between;
}
@media not (min-width: 1280px) {
  .double-grid {
    grid-template-columns: 1fr;
  }
}
.double-grid > div:last-child:nth-child(odd) {
  grid-column-start: 1;
  grid-column-end: 3;
}
@media not (min-width: 1280px) {
  .double-grid > div:last-child:nth-child(odd) {
    grid-column-end: 2;
  }
}
.double-grid .item {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border-width: 0;
  border-style: solid;
  padding: 24px;
  gap: 32px;
  background-color: rgba(var(--neutral-100-rgb), 2%);
  transition: background-color .6s;
}
.double-grid .item:hover {
  background-color: rgba(var(--neutral-100-rgb), 4%);
}
.double-grid .item-gradient {
  width: 40px;
  height: 40px;
  min-width: 40px;
  min-height: 40px;
  border-width: 1px;
  border-radius: 8px;
  border-color: transparent;
  border-style: hidden;
  background: linear-gradient(0deg, rgba(var(--white-color-rgb), 8%), rgba(var(--white-color-rgb), 0%));
  padding: 1px;
  transition: background .6s;
}
.double-grid .item:hover .item-gradient {
  background: linear-gradient(0deg, rgba(var(--white-color-rgb), 10%), rgba(var(--white-color-rgb), 2%));
}
.double-grid .item-number {
  display: flex;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  border-width: 0;
  border-style: solid;
  color: var(--white-color);
  background-color: var(--neutral-1000);
  justify-content: center;
  align-items: center;
  font-size: 16px;
  line-height: 16px;
  letter-spacing: var(--letter-spacing);
  transition: background-color .6s;
}
.double-grid .item:hover .item-number {
  background-color: var(--background-enumerator-color);
}
.double-grid .item p {
  color: var(--neutral-200);
  font-size: 18px;
  line-height: 27px;
  letter-spacing: var(--letter-spacing);
}
@media not (min-width: 1280px) {
  .double-grid .item p {
    font-size: 15px;
    line-height: 22.5px;
  }
}
@media not (max-width: 1920px) {
  .double-grid .item p {
    font-size: 24px;
    line-height: 36px;
  }
}
/* ===== Fixed header и footer ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--background-color);
  border-bottom: 1px solid var(--neutral-950);
  /* остальные стили уже есть, они переопределятся */
}

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--background-color);
  /* остальные стили уже есть */
}

/* Отступы для основного контента, чтобы не перекрывался */
body {
  padding-top: 80px;    /* примерная высота шапки */
  padding-bottom: 200px; /* примерная высота подвала */
}

/* На мобильных устройствах высота шапки может быть больше */
@media not (min-width: 1280px) {
  body {
    padding-top: 120px; /* увеличенный отступ для мобильной шапки */
  }
}

/* Если подвал на мобилке выше, можно увеличить padding-bottom */
@media not (min-width: 1280px) {
  body {
    padding-bottom: 280px;
  }
}

/* ===== Переопределение фона подвала ===== */
footer {
  /* Убираем старую картинку и делаем фон прозрачным */
  background: transparent !important;
  /* Убираем background-image, если он был */
  background-image: none !important;
  /* Оставляем остальные свойства (position: fixed и т.д.) без изменений */
}

/* Блок с логотипом и навигацией (верхняя часть) — остаётся прозрачным */
footer .navigation-container {
  /* Можно добавить небольшой отступ снизу, чтобы градиент не налезал на меню */
  padding-bottom: 20px; /* чтобы градиент начинался ниже меню */
  background: transparent;
}

/* Нижний блок (копирайт, ссылки) — чёрный фон */
footer .legal-container {
  background: var(--background-color); /* чёрный (или цвет фона вашей темы) */
  border-top: 1px solid var(--neutral-950); /* тонкая линия-сепаратор */
  position: relative; /* для позиционирования псевдоэлемента */
  padding-top: 32px; /* отступ сверху, чтобы контент не прилипал к линии */
}

/* Псевдоэлемент для градиентного перехода (20px от прозрачного к чёрному) */
footer .legal-container::before {
  content: '';
  position: absolute;
  top: -20px; /* поднимаем на 20px вверх от верхней границы .legal-container */
  left: 0;
  width: 100%;
  height: 20px; /* ровно 20px высоты градиента */
  background: linear-gradient(to bottom, transparent, var(--background-color));
  pointer-events: none; /* чтобы не мешать кликам */
}