.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);
}
@media (max-width: 820px) {
  .cfg-grid {
    grid-template-columns: 1fr;
  }
  .cfg-panel {
    border-left: none;
    border-top: 1px solid rgba(69, 154, 240, 0.2);
  }
  .cfg-stage {
    height: 280px;
  }
}

.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;
}
.chat-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 28px rgba(2, 117, 237, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.chat-fab:hover {
  background: var(--blue-d);
  transform: scale(1.06);
}
.chat-fab svg {
  width: 25px;
  height: 25px;
}
.chat-fab .ic-close {
  display: none;
}
.chat-fab.open .ic-chat {
  display: none;
}
.chat-fab.open .ic-close {
  display: block;
}
.chat-win {
  position: fixed;
  bottom: 88px;
  right: 20px;
  z-index: 120;
  width: 370px;
  max-width: calc(100vw - 32px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: var(--bg);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px rgba(6, 18, 34, 0.4);
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
}
.chat-win.open {
  display: flex;
}
.chat-head {
  background: var(--dark);
  color: #fff;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.chat-av {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.chat-av img {
  width: 26px;
  height: auto;
}
.chat-av .on {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 10px;
  height: 10px;
  background: #1f9d57;
  border-radius: 50%;
  border: 2px solid var(--dark);
}
.ch-name {
  font-size: 0.95rem;
  font-weight: 700;
}
.ch-status {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
}
.chat-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px;
  background: var(--off);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.msg {
  max-width: 85%;
  padding: 11px 14px;
  border-radius: 13px;
  font-size: 0.88rem;
  line-height: 1.5;
}
.msg-bot {
  align-self: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-bottom-left-radius: 4px;
  color: var(--ink);
}
.msg-user {
  align-self: flex-end;
  background: var(--blue);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.msg-bot a {
  color: var(--blue);
  text-decoration: underline;
}
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 12px 18px;
  background: var(--off);
  border-top: 1px solid var(--line);
}
.chip {
  font-size: 0.78rem;
  border: 1px solid var(--line2);
  background: var(--card);
  color: var(--ink2);
  padding: 7px 12px;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.18s;
}
.chip:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.chat-foot {
  display: flex;
  gap: 8px;
  padding: 14px;
  background: var(--bg);
  border-top: 1px solid var(--line);
  flex-shrink: 0;
}
.chat-input {
  flex: 1;
  border: 1.5px solid var(--line2);
  border-radius: 22px;
  padding: 10px 16px;
  font-size: 0.88rem;
  font-family: var(--fs);
  background: var(--bg);
  color: var(--ink);
}
.chat-input:focus {
  outline: none;
  border-color: var(--blue);
}
.chat-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-send svg {
  width: 17px;
  height: 17px;
}
.chat-disc {
  font-size: 0.66rem;
  color: var(--mute2);
  text-align: center;
  padding: 8px 14px;
  background: var(--bg);
}
.typing {
  align-self: flex-start;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 13px;
  border-bottom-left-radius: 4px;
  padding: 13px 16px;
  display: flex;
  gap: 4px;
}
.typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mute2);
  animation: blink 1.3s infinite;
}
.typing span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%,
  60%,
  100% {
    opacity: 0.3;
  }
  30% {
    opacity: 1;
  }
}
@media (max-width: 980px) {
  .welcome-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .welcome-visual img {
    height: 340px;
  }
  .svc-grid,
  .ind-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-inner {
    grid-template-columns: 1fr 1fr;
  }
  .trust-item:nth-child(2) {
    border-right: none;
  }
  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid rgba(69, 154, 240, 0.14);
  }
  .qual-grid {
    grid-template-columns: 1fr;
  }
  .gal-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }
}
@media (max-width: 560px) {
  .svc-grid,
  .ind-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .gal-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .gal-item.big {
    grid-column: span 2;
    grid-row: span 1;
  }
  .trust-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero {
    height: auto;
    min-height: 0;
    padding: 100px 0 56px;
  }
}
@media (max-width: 760px) {
  .hero {
    height: auto;
    min-height: 500px;
    padding-top: 86px;
    padding-bottom: 48px;
  }

  .hero-inner {
    transform: none;
  }

  .hero-sub {
    font-size: 1rem;
    line-height: 1.6;
  }
}
.welcome-text p {
  max-width: 590px;
  margin-bottom: 14px;
  color: var(--ink2);
  font-size: 1rem;
  line-height: 1.72;
}

.welcome-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--blue);
  font-size: 0.94rem;
  font-weight: 700;
}

.welcome-link span {
  transition: transform 0.18s ease;
}

.welcome-link:hover span {
  transform: translateX(4px);
}
