@font-face {
  font-family: iconfont;
  src: url(/local/templates/frontside_new/build/fonts/iconfont/iconfont.eot);
  src:
    url(/local/templates/frontside_new/build/fonts/iconfont/iconfont.eot?#iefix)
      format("eot"),
    url(/local/templates/frontside_new/build/fonts/iconfont/iconfont.woff)
      format("woff"),
    url(/local/templates/frontside_new/build/fonts/iconfont/iconfont.ttf)
      format("truetype"),
    url(/local/templates/frontside_new/build/fonts/iconfont/iconfont.svg#iconfont)
      format("svg");
}

/* ===== CSS ПЕРЕМЕННЫЕ ===== */
:root {
  --bg-color: #fcfcfc;
  --text-color: #121212;
  --text-muted: #666666;
  --border-color: #e0e0e0;
  --logo-bg: #fcfcfc;
  --card-bg: #f5f5f5;
}

body.led-active {
  --bg-color: #050505;
  --text-color: #ffffff;
  --text-muted: #888888;
  --border-color: #222222;
  --logo-bg: #050505;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg-color);
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  line-height: 1.2;
  overflow-x: hidden;
  transition:
    background-color 0.6s ease,
    color 0.6s ease;
}

/* ===== АНИМАЦИИ ===== */
.reveal-element {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.2, 0.9, 0.4, 1),
    transform 0.8s cubic-bezier(0.2, 0.9, 0.4, 1);
  will-change: opacity, transform;
}

.reveal-active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}
.delay-2 {
  transition-delay: 0.2s;
}
.delay-3 {
  transition-delay: 0.3s;
}
.delay-4 {
  transition-delay: 0.4s;
}
.delay-5 {
  transition-delay: 0.5s;
}
.delay-6 {
  transition-delay: 0.6s;
}
.delay-7 {
  transition-delay: 0.7s;
}
.delay-8 {
  transition-delay: 0.8s;
}

.bg-lines-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.6s ease;
}

.bg-line {
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background-color: #ef4836;
  opacity: 0.15;
  transform-origin: top;
  transform: scaleY(0);
}

body.led-active .bg-lines-container {
  opacity: 0.05;
}

/* ===== ШАПКА ===== */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: opacity 0.6s ease;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo svg {
  height: 100px;
  width: auto;
  transition: height 0.3s ease;
}

.logo rect[fill="white"] {
  fill: transparent;
  transition: fill 0.6s ease;
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.btn-header {
  background: #ef4836;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-family: "Inter";
  cursor: pointer;
  transition: 0.3s;
}

.btn-header:hover {
  background: #d03a2a;
}

/* ===== ТИПОГРАФИКА ===== */
.text-giant {
  font-size: clamp(2.5rem, 11vw, 6.5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}

.text-massive {
  font-size: clamp(1.6rem, 6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.text-small {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  transition: color 0.6s ease;
}

.text-accent {
  color: #ef4836;
}

.text-body {
  font-size: clamp(0.9rem, 3.5vw, 1rem);
  line-height: 1.5;
  color: var(--text-color);
  font-weight: 400;
  opacity: 0.9;
  transition: color 0.6s ease;
}

.signature-line {
  width: 50px;
  height: 2px;
  background: #ef4836;
  margin: 1rem 0;
}

.dimmable {
  transition: opacity 0.6s ease;
}

body.led-active .dimmable {
  opacity: 0.15;
  pointer-events: none;
}

.lazy-image {
  opacity: 0;
  transition: opacity 0.8s ease;
  background: var(--card-bg);
}

.lazy-image.loaded {
  opacity: 1;
}

.desktop-text {
  display: inline;
}
.mobile-text {
  display: none;
}

/* ===== ГИГАНТСКИЙ ФОНОВЫЙ ТЕКСТ ===== */
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100vw;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  opacity: 0.03;
  color: #121212;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  transition:
    color 0.6s ease,
    opacity 0.6s ease;
}

body.led-active .hero-bg-text {
  color: #ffffff;
  opacity: 0.02;
}

.hero-bg-text .bg-word {
  font-size: 26vw;
  line-height: 0.8;
  margin: 0;
  padding: 0;
  letter-spacing: -0.04em;
  text-align: left;
}

.footer-bg-text {
  position: absolute;
  font-family: "Inter", sans-serif;
  font-weight: 900;
  color: #121212;
  opacity: 0.03;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition:
    color 0.6s ease,
    opacity 0.6s ease;
  display: flex;
  justify-content: space-between;
  width: 100vw;
  left: 0;
  padding: 0;
  margin: 0;
  font-size: 16vw;
  line-height: 0.75;
  bottom: -3vw;
}

body.led-active .footer-bg-text {
  color: #ffffff;
  opacity: 0.02;
}

/* ===== ПЕРВЫЙ ЭКРАН ===== */
.hero-v1 {
  position: relative;
  width: 100vw;
  min-height: 100svh;
  padding-top: 130px;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

.hero-v1-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.hero-v1-video {
  position: absolute;
  right: 2%;
  top: 50%;
  width: 600px;
  height: 600px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
  transform: translateY(-50%);
}

.hero-v1-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-v1-content {
  position: relative;
  z-index: 2;
  width: 100%;
  pointer-events: none;
}

.hero-v1-title {
  font-size: clamp(2.2rem, 9.5vw, 7.5rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin: 1.5rem 0 3rem 0;
  pointer-events: auto;
  color: var(--text-color);
  text-align: left;
}

.hero-title-line {
  display: block;
  position: relative;
  z-index: 3;
  opacity: 0;
  transform: translateY(60px);
  transition:
    opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-shadow:
    0 0 40px rgba(252, 252, 252, 0.95),
    0 0 15px rgba(252, 252, 252, 0.8);
}

.hero-v1-title.reveal-active .hero-title-line {
  opacity: 1;
  transform: translateY(0);
}

body.led-active .hero-title-line {
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.9);
}

.hero-v1-line1 {
  padding-left: 0;
}
.hero-v1-line2 {
  padding-left: 0;
}
.hero-v1-line3 {
  padding-left: 0;
  color: #ef4836;
}

.hero-v1-bottom {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  pointer-events: auto;
  gap: 2.5rem;
  max-width: 90%;
}

/* ===== КРЕАТИВНЫЕ ТЕГИ ===== */
.hero-solutions-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-solution-tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem 1.2rem 0.8rem 1rem;
  border: 1px solid var(--border-color);
  font-family: "Inter", sans-serif;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
  background: rgba(252, 252, 252, 0.8);
  backdrop-filter: blur(10px);
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  z-index: 1;
}

.hero-solution-tag::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ef4836;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
  z-index: -1;
}

body.led-active .hero-solution-tag {
  background: rgba(0, 0, 0, 0.6);
  border-color: #333;
}

.hero-solution-tag:hover::before {
  transform: scaleX(1);
}

.hero-solution-tag:hover {
  border-color: #ef4836;
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(239, 72, 54, 0.2);
}

.tag-num {
  font-size: 1.2rem;
  font-weight: 900;
  color: #ef4836;
  transition: color 0.4s;
  line-height: 1;
}

.hero-solution-tag:hover .tag-num {
  color: #fff;
}

.tag-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
}

.tag-desc {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  transition: color 0.4s;
}

body.led-active .tag-desc {
  color: #888;
}

.tag-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-color);
  transition: color 0.4s;
  letter-spacing: -0.02em;
  line-height: 1;
}

body.led-active .tag-title {
  color: #fff;
}

.hero-solution-tag:hover .tag-desc,
.hero-solution-tag:hover .tag-title {
  color: #fff;
}

.tag-arrow {
  font-size: 1.1rem;
  color: #ef4836;
  opacity: 0;
  transform: translateX(-15px) rotate(45deg);
  transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1);
  margin-left: 0.5rem;
}

.hero-solution-tag:hover .tag-arrow {
  color: #fff;
  opacity: 1;
  transform: translateX(0) rotate(45deg);
}

.page {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 2rem 0 2rem;
  background: transparent;
}

/* ===== СЕТКИ И БЛОКИ ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin: 4rem 0 8rem 0;
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem 0;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: border-color 0.6s ease;
}

.accent-block {
  margin: 4rem 0;
}

.tag-pill {
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 50px;
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 6px 6px 0 0;
  color: #666;
  transition: all 0.3s ease;
}

/* ===== ЭФФЕКТ ПЕРЕЛИВАНИЯ RGB ===== */
@keyframes rgb-cycle {
  0% {
    color: #ff3333;
  }
  20% {
    color: #ff33ff;
  }
  40% {
    color: #3333ff;
  }
  60% {
    color: #33ffff;
  }
  80% {
    color: #33ff33;
  }
  100% {
    color: #ff3333;
  }
}

.rgb-text {
  animation: rgb-cycle 4s linear infinite;
  font-weight: 800;
}

/* ===== ГОРИЗОНТАЛЬНЫЙ СКРОЛЛ ===== */
.horizontal-section {
  position: relative;
  width: 100vw;
  height: 400vh;
  margin-left: calc(-50vw + 50%);
  margin-top: 4rem;
  margin-bottom: 4rem;
  z-index: 5;
}

.sticky-wrapper {
  position: sticky;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.h-track {
  position: relative;
  display: flex;
  height: 100%;
  will-change: transform;
  align-items: center;
  padding-left: max(2rem, calc((100vw - 1280px) / 2 + 2rem));
}

.h-intro {
  width: 30vw;
  min-width: 350px;
  flex-shrink: 0;
  padding-right: 4rem;
  transition: opacity 0.6s ease;
}

.h-slide {
  width: 65vw;
  max-width: 1000px;
  height: 75vh;
  flex-shrink: 0;
  margin-right: 4vw;
  display: flex;
}

.h-spacer {
  width: 10vw;
  flex-shrink: 0;
}

.h-card {
  width: 100%;
  height: 100%;
  background: #ffffff;
  color: #121212;
  border: 1px solid #e0e0e0;
  display: flex;
  overflow: hidden;
  transition:
    background 0.6s ease,
    border-color 0.6s ease,
    transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1),
    opacity 0.6s ease;
  scroll-margin-top: 2rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.h-card:hover .tag-pill {
  border-color: #121212;
  color: #121212;
}

.h-card .catalog-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0.5rem 0;
  text-transform: uppercase;
  color: #121212;
  transition: color 0.6s ease;
}

.h-card .text-body {
  color: #444;
}

.h-card-img {
  width: 50%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #000;
  border-right: 1px solid #e0e0e0;
  transition: border-color 0.6s ease;
}

.h-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.h-card:hover .h-card-img img {
  transform: scale(1.05);
}

.h-card-info {
  width: 50%;
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.catalog-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Inter";
}

.catalog-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: #ef4836;
  letter-spacing: -1px;
}

.btn-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.5rem;
  border: 1px solid #121212;
  color: #121212;
  text-decoration: none;
  font-weight: 700;
  font-family: "Inter";
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
  cursor: pointer;
  width: max-content;
  margin-top: 0.5rem;
}

.btn-card:hover {
  background: #ef4836;
  border-color: #ef4836;
  color: #ffffff;
}

#card-led {
  background: #111111;
  color: #ffffff;
  border-color: transparent !important;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1);
}

#card-led .catalog-title {
  color: #ef4836;
}

#card-led .text-body {
  color: #aaa;
}

#card-led .tag-pill {
  border-color: #444;
  color: #888;
}

#card-led .h-card-img {
  border-color: transparent !important;
}

#card-led:hover .tag-pill {
  border-color: #fff;
  color: #fff;
}

#card-led .btn-card {
  border-color: #ef4836;
  color: #ef4836;
}

#card-led .btn-card:hover {
  background: #ef4836;
  color: #ffffff;
}

body.led-active .h-card:not(#card-led) {
  opacity: 0.15;
  pointer-events: none;
}

body.led-active #card-led {
  box-shadow: 0 20px 80px rgba(239, 72, 54, 0.15);
  background: #0a0a0a;
}

/* ===== ЗАВОД ===== */
.factory-block {
  margin: 6rem 0;
  padding: 4rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  transition: border-color 0.6s ease;
}

/* ===== ПРОЕКТЫ ===== */
.projects-section {
  margin: 8rem 0;
}

.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.project-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  text-decoration: none;
}

.project-img-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--card-bg);
  aspect-ratio: 4 / 3;
  margin-bottom: 1.5rem;
  transition: background 0.6s ease;
}

.project-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.4, 1);
}

.project-card:hover .project-img-wrap img {
  transform: scale(1.05);
}

.project-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #ef4836;
  margin-bottom: 0.5rem;
}

.project-title {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--text-color);
  transition: color 0.6s ease;
}

.project-card:hover .project-title {
  color: #ef4836;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 2px solid var(--text-color);
  color: var(--text-color);
  text-decoration: none;
  font-weight: 700;
  font-family: "Inter";
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
  cursor: pointer;
}

.btn-outline:hover {
  background: #ef4836;
  border-color: #ef4836;
  color: #ffffff;
}

.projects-footer-mobile {
  display: none;
}

/* ===== МЕГА-СПИСОК ===== */
.spheres-showcase {
  margin: 8rem 0;
}

.spheres-header {
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
}

.spheres-mega-list {
  display: flex;
  flex-direction: column;
  transition: border-color 0.6s ease;
}

.sphere-row {
  display: grid;
  grid-template-columns: 60px auto 300px;
  align-items: center;
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: border-color 0.4s ease;
}

.sphere-row:hover {
  border-bottom-color: var(--text-color);
}

.sphere-num {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.3s;
}

.sphere-title-wrap {
  display: flex;
  align-items: center;
}

.sphere-arrow {
  color: #ef4836;
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-width 0.4s cubic-bezier(0.2, 0.9, 0.4, 1),
    opacity 0.4s ease,
    margin-right 0.4s ease;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  white-space: nowrap;
}

.sphere-title {
  font-size: clamp(1.8rem, 4vw, 3.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--text-color);
  transition: color 0.3s ease;
}

.sphere-desc {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-muted);
  transition: color 0.3s;
}

.sphere-row:hover .sphere-num {
  color: #ef4836;
}

.sphere-row:hover .sphere-arrow {
  max-width: 50px;
  opacity: 1;
  margin-right: 1.5rem;
}

/* ===== ФОРМА ===== */
.form-section {
  margin: 6rem 0;
  background-color: #343538;
  padding: 5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.form-section .text-massive,
.form-section .text-body {
  color: #ffffff !important;
  opacity: 1;
}

.form-section .text-small {
  color: rgba(255, 255, 255, 0.7) !important;
}

.form-section .signature-line {
  background: #ffffff;
}

.form-section .input-line {
  width: 100%;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding: 1rem 0;
  font-family: "Inter";
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
  transition: 0.3s;
  background: transparent;
  color: #ffffff;
}

.form-section .input-line:focus {
  outline: none;
  border-bottom-color: #ffffff;
}

.form-section .input-line::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.file-upload-wrapper {
  margin-bottom: 2.5rem;
}

.file-upload-label {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  transition: 0.3s;
  font-family: "Inter";
  font-weight: 600;
  font-size: 0.95rem;
}

.file-upload-label:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.file-upload-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-formats-text {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.8rem;
  font-weight: 400;
}

.file-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
}

.file-item {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  padding: 0.5rem 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  color: #fff;
  animation: slideIn 0.3s ease;
}

.file-remove {
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  padding: 0 4px;
}

.file-remove:hover {
  color: #fff;
  transform: scale(1.1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-wrapper input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  width: 22px;
  height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
  flex-shrink: 0;
}

.checkbox-wrapper:hover input ~ .checkmark {
  border-color: #fff;
}

.checkbox-wrapper input:checked ~ .checkmark {
  background-color: #fff;
  border-color: #fff;
}

.checkmark::after {
  content: "✓";
  color: #ef4836;
  font-size: 16px;
  display: none;
  font-weight: 900;
}

.checkbox-wrapper input:checked ~ .checkmark::after {
  display: block;
}

.checkbox-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
}

.link-line {
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: 0.3s;
}

.link-line:hover {
  opacity: 0.7;
}

.btn-submit {
  background: #ef4836;
  color: #ffffff;
  border: none;
  width: 100%;
  padding: 1.5rem;
  font-weight: 700;
  font-family: "Inter";
  font-size: 1.1rem;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:not(:disabled):hover {
  background: #ffffff;
  color: #ef4836;
}

.btn-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===== FOOTER ===== */
footer {
  position: relative;
  overflow: hidden;
  margin-top: 6rem;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 3rem;
  transition:
    border-color 0.6s ease,
    color 0.6s ease;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.footer-top {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  max-width: calc(1280px - 4rem);
  margin: 0 auto;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col .text-small {
  margin-bottom: 0.5rem;
}

.footer-link,
.footer-text {
  font-size: 1rem;
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  line-height: 1.5;
}

.footer-link:hover {
  color: #ef4836;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
  width: 100%;
  max-width: calc(1280px - 4rem);
  margin: 0 auto;
}

.footer-policy {
  color: var(--text-muted);
  text-decoration: underline;
  transition: color 0.3s;
}

.footer-policy:hover {
  color: #ef4836;
}

.swal-modal .swal-footer {
  text-align: center;
}

/* ===== АДАПТИВ (ОПТИМИЗИРОВАННЫЕ ОТСТУПЫ) ===== */
@media (max-width: 1024px) {
  .sphere-row {
    grid-template-columns: 60px auto 250px;
    padding: 2.5rem 0;
  }
}

@media (max-width: 900px) {
  header {
    padding: 1.2rem;
  }
  .logo svg {
    height: 45px;
  }
  .btn-header {
    padding: 0.6rem 1rem;
    font-size: 0.8rem;
  }
  .header-contact span {
    display: none;
  }

  .page {
    padding: 1.5rem 1.2rem 0 1.2rem;
  }

  .hero-v1 {
    min-height: auto;
    padding-top: 90px;
    padding-bottom: 2rem;
  }
  .hero-v1-container {
    padding: 0 1.2rem;
  }

  .hero-v1-video {
    width: 120vw;
    height: 120vw;
    max-width: none;
    right: -30%;
    top: 0;
    opacity: 0.6;
    box-shadow: none;
    transform: none;
  }

  .hero-v1-title {
    font-size: clamp(2rem, 11vw, 5rem);
    margin: 0 0 1.5rem 0;
    line-height: 1;
  }
  .hero-v1-bottom {
    gap: 1.5rem;
  }

  .hero-solutions-wrapper {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0.8rem;
  }
  .hero-solution-tag {
    width: 100%;
    justify-content: flex-start;
    padding: 1rem 1.2rem;
    border-radius: 6px;
  }
  .tag-arrow {
    margin-left: auto;
    opacity: 1;
    transform: rotate(45deg);
    color: var(--text-muted);
  }
  .hero-solution-tag:hover .tag-arrow {
    color: #fff;
    transform: translateY(-2px) rotate(45deg);
  }

  .accent-block {
    margin: 2rem 0;
  }
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }
  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 2rem 0;
  }
  .factory-block {
    margin: 2rem 0;
    padding: 2rem 0;
  }
  .projects-section {
    margin: 3rem 0;
  }
  .spheres-showcase {
    margin: 3rem 0;
  }
  .spheres-header {
    margin-bottom: 2rem;
  }
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .desktop-text {
    display: none;
  }
  .mobile-text {
    display: inline;
  }

  .horizontal-section {
    height: auto !important;
    width: 100%;
    margin-left: 0;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  .sticky-wrapper {
    position: static;
    height: auto;
  }
  .h-track {
    flex-direction: column;
    padding: 0 !important;
    width: 100%;
    align-items: flex-start;
  }
  .h-intro {
    width: 100%;
    padding: 0 1.2rem 1.5rem 1.2rem;
  }
  .h-slide {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 1.5rem;
    padding: 0 1.2rem;
    display: block;
  }
  .h-card {
    flex-direction: column;
    height: auto;
  }
  .h-card-img {
    width: 100%;
    aspect-ratio: 4/3;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
  }
  #card-led .h-card-img {
    border-bottom-color: transparent !important;
  }
  .h-card-info {
    width: 100%;
    padding: 2rem 1.5rem;
  }
  .h-spacer {
    display: none;
  }

  .sphere-row {
    grid-template-columns: 1fr;
    padding: 1.2rem 0;
    gap: 0.5rem;
  }
  .sphere-num {
    margin-bottom: -0.5rem;
  }
  .sphere-arrow {
    display: none;
  }

  .form-section {
    grid-template-columns: 1fr;
    padding: 2rem 1.2rem;
    gap: 1.5rem;
    margin: 2rem 0;
  }

  .btn-desktop-only {
    display: none !important;
  }
  .projects-footer-mobile {
    display: flex;
    margin-top: 2rem;
    justify-content: center;
  }
  .projects-footer-mobile .btn-outline {
    width: 100%;
  }

  footer {
    margin-top: 3rem;
    padding: 2.5rem 0 1.5rem;
    gap: 2rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: calc(100% - 2.4rem);
  }
  .footer-bottom {
    flex-direction: column;
    max-width: calc(100% - 2.4rem);
    padding-top: 1.5rem;
  }

  .footer-bg-text {
    font-size: 16.5vw;
    bottom: -1vw;
  }
}

@media (max-width: 400px) {
  .hero-v1-title {
    font-size: clamp(1.8rem, 10vw, 4rem);
  }
}

/* FORM */

input {
  margin: 0;
  outline: 0;
  -webkit-appearance: none;
}

.input {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
  border-bottom: 1px solid #343538;
  padding: 10px 0;
  vertical-align: middle;
  background: 0 0;
  font:
    18px/1.66 solomon,
    Verdana,
    sans-serif;
  transition: all 0.5s ease;
}

.input:-ms-input-placeholder {
  color: #231f20;
  font-size: 18px;
  font-family: solomon, Verdana, sans-serif;
}

.input:-moz-placeholder {
  color: #231f20;
  font-size: 18px;
  font-family: solomon, Verdana, sans-serif;
}

.input::-moz-placeholder {
  color: #231f20;
  font-size: 18px;
  font-family: solomon, Verdana, sans-serif;
}

.input::-webkit-input-placeholder {
  color: #231f20;
  font-size: 18px;
  font-family: solomon, Verdana, sans-serif;
}

.input::-moz-placeholder {
  color: #231f20;
  font-size: 18px;
  font-family: solomon, Verdana, sans-serif;
}

.input::-ms-input-placeholder {
  color: #231f20;
  font-size: 18px;
  font-family: solomon, Verdana, sans-serif;
}

.input::placeholder {
  color: #231f20;
  font-size: 18px;
  font-family: solomon, Verdana, sans-serif;
}

.input:focus {
  border-color: #ccc;
  outline: 0;
}

.input.input-validation-error {
  border-color: #f50000;
}

.input.input-validation-error::-moz-placeholder {
  color: #f50000;
}

.input.input-validation-error::-ms-input-placeholder {
  color: #f50000;
}

.input.input-validation-error::placeholder {
  color: #f50000;
}

.input--theme_white {
  color: #fff;
  border-color: #e8e9ea;
}

.input--theme_white::-moz-placeholder {
  color: #fff;
}

.input--theme_white::-ms-input-placeholder {
  color: #fff;
}

.input--theme_white::placeholder {
  color: #fff;
}

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

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

input {
  -webkit-appearance: none;
}

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

input[type="number"] {
  -moz-appearance: textfield;
}

.floatl {
  position: relative;
}

.floatl .floatl__input {
  height: 60px;
  padding: 14px 0;
}

.floatl__label {
  display: inline-block;
  visibility: hidden;
  opacity: 0;
  position: absolute;
  top: 3px;
  left: -2px;
  padding: 6px 3px 3px;
  font-size: 11px;
  line-height: 1em;
  color: #231f20;
  transition: all 0.2s ease;
}

.floatl.floatl--multiline input {
  height: 100%;
}

.floatl.floatl--multiline .floatl__input {
  height: 60px;
}

.floatl.floatl--multiline .floatl__input:not(:-moz-placeholder-shown) {
  height: 124px;
}

.floatl.floatl--multiline .floatl__input:not(:placeholder-shown) {
  height: 124px;
}

.floatl--focused .floatl__label {
  color: #231f20;
}

.floatl--active .floatl__label {
  visibility: visible;
  opacity: 1;
  top: 1px;
}

.floatl--active .floatl__input {
  padding: 21px 0 7px;
}

.floatl--active.floatl--multiline .floatl__label {
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.95) 0,
    rgba(255, 255, 255, 0.95) 80%,
    rgba(255, 255, 255, 0) 100%
  );
  background-color: #fff;
}

.btn {
  display: inline-block;
  font-size: 20px;
  line-height: 1.2;
  position: relative;
  font-family: var(--sec-font);
  font-weight: 600;
  color: #ef4836;
  cursor: pointer;
  transition: color 0.2s;
  vertical-align: middle;
  white-space: nowrap;
  text-transform: uppercase;
  overflow: visible;
  letter-spacing: 1.4px;
}

.btn.btn--head_red {
  background-color: var(--Red);
  color: #fff;
}

.btn:after {
  content: "\f007";
}

.btn:after {
  display: inline-block;
  font-size: 16px;
  margin-left: 10px;
  transition: transform 0.2s;
}

.btn:focus,
.btn:hover {
  color: #c61907;
}

.btn:focus:after,
.btn:hover:after {
  transform: translateX(4px);
}

.btn--arrow_none:after {
  display: none;
}

.btn-lg {
  position: relative;
  color: #231f20;
  transition: color 0.2s;
  overflow: visible;
}

.btn-lg:after {
  content: "\e002";
}

.btn-lg:after {
  display: inline-block;
  transition: transform 0.2s;
  font-size: 28px;
  margin-left: 20px;
  margin-right: 20px;
  transform: translateY(-3px);
}

.btn-lg:focus,
.btn-lg:hover {
  color: #ef4836;
}

.btn-lg:focus:after,
.btn-lg:hover:after {
  transform: translateX(4px) translateY(-6px);
}

.btn-status {
  position: relative;
  display: inline-flex;
}

.btn-status--ajax {
  background: 0 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  pointer-events: none;
  cursor: default;
}

.btn-status--ajax:after {
  opacity: 0;
}

.btn-status--ajax .btn-status__text {
  opacity: 0;
}

.btn-status--ajax .btn-status__spinner {
  opacity: 1;
}

.btn-status__text {
  display: block;
  transition: opacity 0.2s;
}

.btn-status__spinner {
  opacity: 0;
  width: 30px;
  height: 30px;
  border: 5px solid rgba(239, 72, 54, 0.25);
  border-top-color: #ef4836;
  border-radius: 50%;
  position: relative;
  -webkit-animation: loader-rotate 1s linear infinite;
  animation: loader-rotate 1s linear infinite;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -15px;
  margin-left: -15px;
  transition: opacity 0.2s;
}

.form__submit {
  margin-top: 60px;
}

.form {
  max-width: 570px;
}

.form__row:nth-child(1n + 2) {
  margin-top: 20px;
}

.form__privacy {
  max-width: 480px;
  margin-top: 40px;
}

.form__submit {
  margin-top: 60px;
}

.form__row.form__row-fake {
  display: none;
}

a {
  font-size: inherit;
  text-decoration: none;
}

a,
input,
textarea {
  color: inherit;
  font-family: inherit;
}

.link-line,
.partner__name:not(span),
.static-content a {
  border-bottom: 1px solid currentColor;
  transition: all 0.2s;
}

.link-line:focus,
.link-line:hover,
.partner__name:focus:not(span),
.partner__name:hover:not(span),
.static-content a:focus,
.static-content a:hover {
  color: #ef4836;
  border-color: #ef4836;
}

label.checkbox {
  line-height: 20px;
  letter-spacing: 0.42px;
  overflow: hidden;
  font-size: 14px;
  color: #231f20;
}

label.checkbox input.input-validation-error + span:before {
  border-color: #f50000 !important;
}

label.checkbox [type="checkbox"]:checked,
label.checkbox [type="checkbox"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

label.checkbox [type="checkbox"]:checked + span,
label.checkbox [type="checkbox"]:not(:checked) + span {
  position: relative;
  display: inline-block;
  padding-left: 25px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

label.checkbox [type="checkbox"]:checked + span:before,
label.checkbox [type="checkbox"]:not(:checked) + span:before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 12px;
  height: 12px;
  border: 1px solid #231f20;
  background: 0 0;
}

label.checkbox [type="checkbox"]:checked + span:after,
label.checkbox [type="checkbox"]:not(:checked) + span:after {
  content: "✓";
}

label.checkbox [type="checkbox"]:checked + span:after,
label.checkbox [type="checkbox"]:not(:checked) + span:after {
  position: absolute;
  top: 6px;
  left: 3px;
  font-size: 10px;
  line-height: 0.8;
  color: #ef4836;
  transition: all 0.2s;
}

label.checkbox [type="checkbox"]:not(:checked) + span:after {
  opacity: 0;
  transform: scale(0);
}

label.checkbox [type="checkbox"]:checked + span:after {
  opacity: 1;
  transform: scale(1);
}

label.checkbox [type="checkbox"]:disabled:checked + span:before,
label.checkbox [type="checkbox"]:disabled:not(:checked) + span:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}

label.checkbox [type="checkbox"]:disabled:checked + span:after {
  color: #999;
}

label.checkbox [type="checkbox"]:disabled + span {
  color: #aaa;
}

.section__form {
  color: #231f20;
}

@media screen and (max-width: 480px) {
  .form__submit {
    margin-top: 40px;
  }
}

@media screen and (max-width: 1024px) {
  .btn {
    font-size: 16px;
  }
  .btn:after {
    font-size: 12px;
  }
  .btn-lg:after {
    font-size: 22px;
    margin-left: 14px;
    margin-right: 14px;
  }
}

@media screen and (max-width: 1481px) {
  .input {
    font-size: 16px;
  }
  .input:-ms-input-placeholder {
    font-size: 16px;
  }
  .input:-moz-placeholder {
    font-size: 16px;
  }
  .input::-moz-placeholder {
    font-size: 16px;
  }
  .input::-webkit-input-placeholder {
    font-size: 16px;
  }
  .input::-moz-placeholder {
    font-size: 16px;
  }
  .input::-ms-input-placeholder {
    font-size: 16px;
  }
  .input::placeholder {
    font-size: 16px;
  }
}

@media screen and (min-width: 1482px) {
  .form__row:nth-child(1n + 2) {
    margin-top: 30px;
  }
}
