.hero {
  position: relative;
  isolation: isolate;
  height: clamp(410px, 45vh, 480px);
  padding-top: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  background: var(--dark);
}

.hero-media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  video.hero-media {
    display: none;
  }
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 70% 80% at 32% 52%,
      rgba(4, 14, 26, 0.72) 0%,
      rgba(4, 14, 26, 0.35) 55%,
      transparent 100%
    ),
    linear-gradient(
      103deg,
      var(--hero-grad1) 0%,
      var(--hero-grad2) 52%,
      var(--hero-grad3) 100%
    );
}

.hero-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(
      rgba(69, 154, 240, 0.07) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(69, 154, 240, 0.07) 1px,
      transparent 1px
    );
  background-size: 52px 52px;
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  pointer-events: auto;
  transform: translateY(-10px);
}

.hero-content {
  max-width: var(--max);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--fm);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8cc4f8;
  background: rgba(4, 14, 26, 0.62);
  border: 1px solid rgba(69, 154, 240, 0.55);
  backdrop-filter: blur(6px);
  padding: 7px 14px;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--blue-l);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(69, 154, 240, 0.25);
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #fff;
  margin-bottom: 22px;
  text-shadow: 0 2px 24px rgba(4, 14, 26, 0.8);
}

.hero h1 .hl {
  color: var(--blue-l);
}

.hero-sub {
  max-width: 590px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  line-height: 1.58;
  text-shadow: 0 1px 16px rgba(4, 14, 26, 0.85);
}

.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}

.trust {
  background: var(--dark);
  border-top: 1px solid rgba(69, 154, 240, 0.15);
}

.trust-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.trust-item {
  padding: 26px 28px;
  border-right: 1px solid rgba(69, 154, 240, 0.14);
}

.trust-item:last-child {
  border-right: none;
}

.trust-v {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.trust-v .u {
  color: var(--blue-l);
}

.trust-k {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 6px;
  font-weight: 500;
}

.welcome {
  background: var(--bg);
}

.welcome-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}

.welcome-text p {
  font-size: 1.05rem;
  color: var(--ink2);
  line-height: 1.78;
  margin-bottom: 16px;
}

.welcome-text p strong {
  color: var(--ink);
  font-weight: 600;
}

.welcome-visual {
  position: relative;
}

.welcome-visual img {
  border-radius: var(--r-lg);
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.welcome-badge {
  position: absolute;
  bottom: -18px;
  left: -18px;
  background: var(--blue);
  color: #fff;
  padding: 22px 26px;
  border-radius: var(--r);
  box-shadow: 0 16px 40px rgba(2, 117, 237, 0.35);
}

.welcome-badge .wb-v {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}
.welcome-badge .wb-k {
  font-size: 0.78rem;
  opacity: 0.85;
  margin-top: 5px;
  font-weight: 500;
}
.services {
  background: var(--off);
}
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px;
  transition: 0.22s;
  position: relative;
  overflow: hidden;
  display: block;
}
.svc-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.3s;
}
.svc-card:hover {
  box-shadow: 0 16px 44px var(--shadow);
  transform: translateY(-4px);
  border-color: var(--blue-soft2);
}
.svc-card:hover::before {
  transform: scaleX(1);
}
.svc-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-soft);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 18px;
}
.svc-icon svg {
  width: 26px;
  height: 26px;
}
.svc-num {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--fm);
  font-size: 0.78rem;
  color: var(--mute2);
}
.svc-card h3 {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 9px;
  color: var(--ink);
}
.svc-card p {
  font-size: 0.9rem;
  color: var(--ink2);
  line-height: 1.62;
}
.industries {
  background: var(--bg);
}
.ind-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.ind-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 230px;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  color: #fff;
}
.ind-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
  z-index: 0;
}
.ind-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8, 26, 50, 0.92),
    rgba(8, 26, 50, 0.35) 60%,
    rgba(8, 26, 50, 0.15)
  );
  z-index: 1;
}
.ind-card:hover img {
  transform: scale(1.06);
}
.ind-content {
  position: relative;
  z-index: 2;
}
.ind-content h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.ind-content p {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}
.ind-tag {
  position: absolute;
  top: 22px;
  left: 22px;
  z-index: 2;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(2, 117, 237, 0.9);
  color: #fff;
  padding: 5px 11px;
  border-radius: 20px;
}
.quality {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quality::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(69, 154, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 154, 240, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
}
.quality .wrap {
  position: relative;
  z-index: 1;
}
.quality .sh {
  color: #fff;
}
.quality .sl {
  color: rgba(255, 255, 255, 0.68);
}
.qual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
.qual-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(69, 154, 240, 0.18);
  border-radius: var(--r);
  padding: 24px 26px;
  transition: 0.2s;
}
.qual-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(69, 154, 240, 0.4);
}
.qual-label {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-l);
  margin-bottom: 14px;
}
.qual-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.qtag {
  font-family: var(--fm);
  font-size: 11.5px;
  padding: 6px 12px;
  border: 1px solid rgba(69, 154, 240, 0.25);
  border-radius: 5px;
  color: rgba(255, 255, 255, 0.75);
}
.gallery {
  background: var(--off);
}
.gal-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}
.gal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: 10px;
}
.gal-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  background: var(--dark);
}
.gal-item.big {
  grid-column: span 2;
  grid-row: span 2;
}
.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}
.gal-item:hover img {
  transform: scale(1.05);
}
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 26, 50, 0.85), transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: 0.28s;
  z-index: 1;
}
.gal-item:hover .gal-overlay {
  opacity: 1;
}
.gal-cap {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}
.configurator {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.configurator::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(69, 154, 240, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 154, 240, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}
.configurator .wrap {
  position: relative;
  z-index: 1;
}
.configurator .sh {
  color: #fff;
}
.configurator .sl {
  color: rgba(255, 255, 255, 0.65);
}
.cfg-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--fm);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-l);
  background: rgba(2, 117, 237, 0.14);
  border: 1px solid rgba(69, 154, 240, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.cfg-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--blue-l);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(69, 154, 240, 0.25);
}
.cfg-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
  border: 1px solid rgba(69, 154, 240, 0.2);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}
.cfg-stage {
  position: relative;
  height: 360px;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(2, 117, 237, 0.08),
    transparent 65%
  );
}
.cfg-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.cfg-stage canvas:active {
  cursor: grabbing;
}
.cfg-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--fm);
  font-size: 9.5px;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.06em;
  pointer-events: none;
}
.cfg-start {
  position: absolute;
  inset: 0;
  background-color: rgba(8, 22, 37, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  padding: 20px;
  text-align: center;
}

.cfg-start-icon {
  color: var(--blue-l);
}

.cfg-start-icon svg {
  width: 54px;
  height: 54px;
  margin-bottom: 16px;
}

.cfg-start-text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
  max-width: 280px;
  line-height: 1.6;
}
.cfg-panel {
  border-left: 1px solid rgba(69, 154, 240, 0.2);
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cfg-grp-title {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-l);
  margin-bottom: 8px;
}
.cfg-opts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.cfg-opt {
  font-family: var(--fm);
  font-size: 10.5px;
  padding: 7px 11px;
  border: 1px solid rgba(69, 154, 240, 0.22);
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: 0.16s;
  border-radius: 5px;
}
.cfg-opt:hover {
  border-color: var(--blue-l);
  color: var(--blue-l);
}
.cfg-opt.active {
  background: rgba(2, 117, 237, 0.18);
  border-color: var(--blue-l);
  color: var(--blue-l);
}
.cfg-spec {
  border-top: 1px solid rgba(69, 154, 240, 0.18);
  padding-top: 12px;
  margin-top: 2px;
  font-family: var(--fm);
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.9;
}
.cfg-spec b {
  color: var(--blue-l);
  font-weight: 600;
}
.cfg-cta {
  margin-top: auto;
  font-family: var(--fs);
  font-size: 0.82rem;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  padding: 11px 16px;
  border-radius: var(--r);
  text-align: center;
  transition: 0.18s;
}
.cfg-cta:hover {
  background: var(--blue-d);
}

[data-theme="light"] .configurator {
  background: var(--off);
  color: var(--ink);
}
[data-theme="light"] .configurator::before {
  background-image:
    linear-gradient(rgba(2, 117, 237, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(2, 117, 237, 0.04) 1px, transparent 1px);
}
[data-theme="light"] .configurator .sh {
  color: var(--ink);
}
[data-theme="light"] .configurator .sl {
  color: var(--ink2);
}
[data-theme="light"] .cfg-grid {
  border-color: var(--line2);
  background: var(--card);
}
[data-theme="light"] .cfg-stage {
  background: radial-gradient(circle at 50% 30%, #0e2b4d, #081625);
}
[data-theme="light"] .cfg-panel {
  border-left-color: var(--line);
}
[data-theme="light"] .cfg-grp-title {
  color: var(--blue);
}
[data-theme="light"] .cfg-opt {
  border-color: var(--line2);
  color: var(--ink2);
}
[data-theme="light"] .cfg-opt:hover {
  border-color: var(--blue);
  color: var(--blue);
}
[data-theme="light"] .cfg-opt.active {
  background: var(--blue-soft);
  border-color: var(--blue);
  color: var(--blue);
}
[data-theme="light"] .cfg-spec {
  border-top-color: var(--line);
  color: var(--ink2);
}
[data-theme="light"] .cfg-spec b {
  color: var(--blue);
}

.contact {
  background: var(--bg);
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 52px;
}
.contact-info-card {
  background: var(--dark);
  color: #fff;
  border-radius: var(--r-lg);
  padding: 38px;
  position: relative;
  overflow: hidden;
  height: 100%;
}
[data-theme="light"] .contact-info-card {
  background: linear-gradient(160deg, #0a1f38, #123055);
}
.contact-info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(69, 154, 240, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(69, 154, 240, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cic-inner {
  position: relative;
  z-index: 1;
}
.contact-info-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.contact-info-card > .cic-inner > p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  line-height: 1.65;
  margin-bottom: 28px;
}
.ci-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 15px 0;
  border-bottom: 1px solid rgba(69, 154, 240, 0.15);
}
.ci-row:last-child {
  border-bottom: none;
}
.ci-icon {
  width: 38px;
  height: 38px;
  background: rgba(2, 117, 237, 0.18);
  border: 1px solid rgba(69, 154, 240, 0.3);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-l);
  flex-shrink: 0;
}
.ci-icon svg {
  width: 17px;
  height: 17px;
}
.ci-k {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute2);
  margin-bottom: 3px;
}
.ci-v {
  font-size: 0.96rem;
  color: #fff;
}
.ci-v a:hover {
  color: var(--blue-l);
}

.form-card {
  background: var(--off);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px;
}
.form-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--ink);
}
.form-intro {
  font-size: 0.9rem;
  color: var(--mute);
  margin-bottom: 26px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-grp.full {
  grid-column: 1/-1;
}
.form-grp label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink2);
  margin-bottom: 6px;
}
.form-ctrl {
  width: 100%;
  font-size: 0.92rem;
  font-family: var(--fs);
  color: var(--ink);
  padding: 12px 14px;
  border: 1.5px solid var(--line2);
  border-radius: var(--r);
  background: var(--bg);
  transition: 0.18s;
}
.form-ctrl:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(2, 117, 237, 0.1);
}
textarea.form-ctrl {
  resize: vertical;
  min-height: 120px;
}
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  height: 0;
  overflow: hidden;
}
.checkbox-grp label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.82rem;
  color: var(--ink2);
  line-height: 1.55;
}
.checkbox-grp input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--blue);
  cursor: pointer;
}
.checkbox-grp a {
  color: var(--blue);
  text-decoration: underline;
  cursor: pointer;
}
.captcha-wrap {
  min-height: 78px;
}
.captcha-placeholder {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  
  border: 1.5px dashed var(--line2);
  border-radius: var(--r);
  padding: 18px;
  text-align: center;
  font-size: 0.84rem;
  color: var(--mute);
  line-height: 1.5;
  margin-top: 20px;
}

.captcha-placeholder.visible {
  display: block;
  opacity: 1;
}

.captcha-placeholder button {
  margin-top: 10px;
  font-size: 0.82rem;
  padding: 9px 16px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: var(--fs);
  font-weight: 600;
  transition: background 0.2s;
}

.captcha-placeholder button:hover {
  background: var(--blue-dark, #0056b3);
}
.form-btn {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 0.98rem;
  margin-top: 20px;
}
.form-note {
  font-size: 0.76rem;
  color: var(--mute2);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}
.form-error {
  display: none;
  background: #fdecec;
  border: 1px solid #f5c2c2;
  color: #c0392b;
  border-radius: var(--r);
  padding: 12px 16px;
  font-size: 0.85rem;
  margin-top: 14px;
}
[data-theme="dark"] .form-error {
  background: rgba(192, 57, 43, 0.15);
  border-color: rgba(192, 57, 43, 0.4);
  color: #ff9e9e;
}
.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success .fs-icon {
  width: 64px;
  height: 64px;
  background: var(--blue-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--blue);
}
.form-success .fs-icon svg {
  width: 32px;
  height: 32px;
}
.form-success h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--ink);
}
.form-success p {
  color: var(--ink2);
  font-size: 0.94rem;
  max-width: 340px;
  margin: 0 auto 22px;
  line-height: 1.6;
}