:root {
  --bg: #07111d;
  --bg-deep: #030912;
  --panel: rgba(13, 29, 46, 0.9);
  --panel-soft: rgba(17, 39, 61, 0.78);
  --line: rgba(115, 167, 230, 0.22);
  --text: #f5f8fc;
  --muted: #b5c2d2;
  --blue: #1f7af2;
  --blue-soft: #46a8ff;
  --card-text: #cdd8e6;
  --eyebrow: #bfd9ff;
  --hero-copy: #d7e2ef;
  --hero-point: #ffffff;
  --header-bg: rgba(5, 13, 22, 0.84);
  --header-scrolled: rgba(5, 13, 22, 0.96);
  --container: min(1500px, calc(100% - 56px));
  --shadow: 0 24px 80px rgba(0, 65, 150, 0.18);
}


* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", Arial, sans-serif;
  overflow-x: clip;
  background:
    radial-gradient(circle at 78% 8%, rgba(22, 118, 255, 0.28), transparent 34rem),
    radial-gradient(circle at 2% 44%, rgba(43, 134, 255, 0.14), transparent 30rem),
    linear-gradient(180deg, #091827 0%, #07111d 46%, #06101b 100%);
}


body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(112deg, transparent 0 16%, rgba(57, 146, 255, 0.18) 18%, transparent 22%),
    linear-gradient(112deg, transparent 0 58%, rgba(118, 190, 255, 0.12) 60%, transparent 64%),
    linear-gradient(112deg, transparent 0 76%, rgba(31, 122, 242, 0.16) 78%, transparent 81%);
  background-size: 1800px 100%, 1500px 100%, 2100px 100%;
  filter: blur(0.2px);
  opacity: 0.42;
  animation: ambient-lines 18s linear infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at -6% 30%, rgba(31, 122, 242, 0.26), transparent 34rem),
    radial-gradient(ellipse at 106% 18%, rgba(42, 140, 255, 0.28), transparent 36rem),
    linear-gradient(90deg, rgba(31, 122, 242, 0.12), transparent 20%, transparent 80%, rgba(31, 122, 242, 0.12));
  filter: blur(22px);
  opacity: 0.86;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

[hidden] {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(360px, 1fr) 316px;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 clamp(18px, 3vw, 46px);
  background: var(--header-bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(18px);
  transition: min-height 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  min-height: 68px;
  background: var(--header-scrolled);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(22, 118, 255, 0.72));
}

.logo strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0;
}

.logo strong span,
h1 span,
h2 span {
  color: var(--blue);
}

.logo small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.nav-link {
  position: relative;
  padding: 10px 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}





.nav-link.active::after {
  transform: scaleX(1);
}

.header-phone {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.round-icon,
.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, rgba(22, 118, 255, 0.44), rgba(22, 118, 255, 0.14));
  border: 1px solid rgba(81, 158, 255, 0.72);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(22, 118, 255, 0.32);
}

.round-icon img,
.btn img,
.float-btn.call img,
.service-icon img {
  filter: brightness(0) invert(1);
}

img[src*="assets/icons/soft/"],
img[src*="assets/icons/pro/"] {
  filter: none;
}

.btn img[src*="assets/icons/soft/"],
.round-icon img[src*="assets/icons/soft/"],
.float-btn.call img[src*="assets/icons/soft/"],
.btn img[src*="assets/icons/pro/"],
.round-icon img[src*="assets/icons/pro/"],
.float-btn.call img[src*="assets/icons/pro/"] {
  filter: none;
}

.round-icon img {
  width: 28px;
  height: 28px;
}

.header-phone strong {
  display: block;
  font-size: 18px;
  white-space: nowrap;
}

.header-phone small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

main,
.footer {
  position: relative;
  width: var(--container);
  margin: 0 auto;
}

.logo .brand-logo {
  width: min(311px, 100%);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(22, 118, 255, 0.34));
  transform-origin: center;
  animation: brand-logo-float 5.5s ease-in-out infinite;
  will-change: transform, filter;
}

main::before,
main::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: -1;
  width: clamp(90px, 12vw, 260px);
  pointer-events: none;
  opacity: 0.74;
  filter: blur(22px);
}

main::before {
  left: 0;
  background: linear-gradient(90deg, rgba(24, 97, 180, 0.32), transparent);
}

main::after {
  right: 0;
  background: linear-gradient(270deg, rgba(24, 97, 180, 0.34), transparent);
}

section {
  scroll-margin-top: 92px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(480px, 0.85fr) minmax(520px, 1.15fr);
  align-items: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 58px max(28px, calc((100vw - 1500px) / 2)) 42px;
  min-height: calc(100vh - 76px);
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  z-index: 0;
  background: var(--hero-bg-image, url("assets/photos/hero-white-service.png")) center right / cover no-repeat;
  opacity: 0.98;
  animation: hero-drift 16s ease-in-out infinite alternate;
}

.hero::after {
  z-index: 1;
  background:
    radial-gradient(ellipse at -8% 54%, rgba(31, 122, 242, 0.16), transparent 34rem),
    radial-gradient(ellipse at 108% 42%, rgba(31, 122, 242, 0.2), transparent 38rem),
    linear-gradient(90deg, rgba(7, 17, 29, 0.98) 0%, rgba(7, 17, 29, 0.88) 25%, rgba(7, 17, 29, 0.36) 56%, rgba(7, 17, 29, 0.12) 78%, rgba(7, 17, 29, 0.76) 100%),
    linear-gradient(180deg, rgba(7, 17, 29, 0.08) 0%, rgba(7, 17, 29, 0) 55%, var(--bg) 100%),
    linear-gradient(114deg, transparent 0 13%, rgba(45, 135, 255, 0.14) 15%, transparent 19%),
    linear-gradient(114deg, transparent 0 72%, rgba(96, 174, 255, 0.12) 74%, transparent 78%);
  background-size: auto, auto, auto, auto, 1500px 100%, 1700px 100%;
  animation: hero-lines 13s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--eyebrow);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 24px;
  font-size: clamp(54px, 5.8vw, 84px);
  line-height: 1.03;
  letter-spacing: 0;
}

.hero-text {
  max-width: 640px;
  margin-bottom: 30px;
  color: var(--hero-copy);
  font-size: clamp(18px, 1.35vw, 22px);
  line-height: 1.58;
}

.hero-actions,
.contact-form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  position: relative;
  overflow: hidden;
  border-color: var(--blue);
  background: linear-gradient(135deg, #2287ff, #0e61e4);
  box-shadow: 0 18px 44px rgba(22, 118, 255, 0.26);
}

.btn.primary::after {
  content: "";
  position: absolute;
  inset: -60% auto -60% -30%;
  width: 32px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: rotate(18deg) translateX(-140px);
  animation: button-shine 4200ms ease-in-out infinite;
  pointer-events: none;
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
}


.btn img {
  width: 24px;
  height: 24px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(4, minmax(110px, 1fr));
  gap: 0;
  max-width: 700px;
  margin-top: 34px;
}

.hero-points span {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-height: 92px;
  padding: 0 16px;
  text-align: center;
  color: var(--hero-point);
  border-right: 1px solid var(--line);
  font-size: 14px;
  font-weight: 700;
}

.hero-points span:last-child {
  border-right: 0;
}

.hero-points img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(4, 42, 85, 0.16));
}

.hero-media {
  display: none;
  position: absolute;
  inset: 0 calc(50% - 50vw) 0 0;
  z-index: 1;
  pointer-events: none;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(7, 17, 29, 0.7) 18%, rgba(7, 17, 29, 0.08) 42%, rgba(7, 17, 29, 0.1) 72%, var(--bg) 100%),
    linear-gradient(180deg, rgba(7, 17, 29, 0.2), rgba(7, 17, 29, 0.04) 48%, var(--bg) 100%);
  pointer-events: none;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 9% 0 4% 18%;
  z-index: 0;
  background: radial-gradient(circle at 60% 45%, rgba(22, 118, 255, 0.34), transparent 58%);
  filter: blur(26px);
  pointer-events: none;
}

.hero-media img {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  width: min(76vw, 1120px);
  max-width: none;
  height: auto;
  transform: translateY(-50%) scale(1.02);
  filter: saturate(1.12) contrast(1.06);
  -webkit-mask-image:
    linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, transparent 0%, #000 16%, #000 84%, transparent 100%),
    linear-gradient(180deg, transparent 0%, #000 12%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.services,
.why,
.process,
.reviews,
.contacts,
.stats,
.seo-text,
.faq {
  margin-bottom: 28px;
  padding: 30px;
  background:
    linear-gradient(145deg, rgba(18, 39, 60, 0.92), rgba(10, 25, 41, 0.88)),
    radial-gradient(circle at 92% 12%, rgba(62, 146, 255, 0.14), transparent 22rem);
  border: 1px solid rgba(115, 167, 230, 0.16);
  border-radius: 8px;
  box-shadow:
    0 24px 80px rgba(0, 65, 150, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.section-head {
  max-width: 560px;
  margin-bottom: 26px;
}

.section-head.center {
  max-width: none;
  text-align: center;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}

.section-head p:not(.eyebrow),
.seo-text p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.68;
}

.services {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 30px;
  align-items: stretch;
}

.services .section-head {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card,
.review-card,
.step {
  position: relative;
  overflow: hidden;
  min-height: 238px;
  padding: 128px 22px 22px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card,
.review-card,
.step,
.faq-card {
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.service-card:hover,
.review-card:hover,
.step:hover,
.faq-card:hover {
  transform: translateY(-4px);
  border-color: rgba(89, 165, 255, 0.42);
  box-shadow: 0 24px 64px rgba(0, 70, 155, 0.18);
}

.service-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: saturate(0.92) contrast(1.06);
  transform: scale(1.04);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 13, 22, 0.08) 0%, rgba(5, 13, 22, 0.76) 48%, rgba(5, 13, 22, 0.96) 100%),
    linear-gradient(90deg, rgba(5, 13, 22, 0.25), transparent 58%);
  pointer-events: none;
}

.service-card > *:not(.service-photo):not(.service-icon) {
  position: relative;
  z-index: 1;
}

.service-card > *:not(.service-photo):not(.service-icon) {
  position: relative;
  z-index: 1;
}

.service-icon {
  position: absolute;
  z-index: 2;
  top: 42px;
  left: 20px;
  width: 92px;
  height: 92px;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.service-icon img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  opacity: 0.98;
  filter: drop-shadow(0 16px 20px rgba(0, 0, 0, 0.28));
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.32;
}

.service-card p,
.why-item p,
.step p,
.review-card p,
.contacts p {
  color: var(--card-text);
  line-height: 1.62;
}

.why {
  padding-top: 34px;
  padding-bottom: 34px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.why-item {
  padding: 20px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.why-item:last-child {
  border-right: 0;
}

.why-item img {
  width: 70px;
  height: 70px;
  margin: 0 auto 16px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(4, 42, 85, 0.16));
}

.why-item h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.steps,
.review-grid,
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step {
  min-height: 230px;
  padding: 26px;
}

.step b {
  display: block;
  margin-bottom: 32px;
  color: var(--blue);
  font-size: 42px;
  line-height: 1;
}

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  min-height: 220px;
  padding: 28px;
}

.review-card p {
  font-size: 17px;
}

.review-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 24px;
  text-align: center;
}

.review-action small {
  max-width: 360px;
  color: var(--muted);
  line-height: 1.45;
}

.review-card strong,
.review-card span {
  display: block;
}

.review-card span {
  margin-top: 5px;
  color: var(--muted);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.faq-card {
  min-height: 170px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.faq-card h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.faq-card p {
  margin-bottom: 0;
  color: var(--card-text);
  line-height: 1.62;
}

.stats {
  align-items: center;
  padding: 20px 26px;
}

.stats div {
  display: grid;
  grid-template-columns: 68px 1fr;
  align-items: center;
  column-gap: 16px;
  border-right: 1px solid var(--line);
}

.stats div:last-child {
  border-right: 0;
}

.stats img {
  grid-row: span 2;
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(4, 42, 85, 0.14));
}

.stats strong {
  font-size: 32px;
  line-height: 1;
}

.stats span {
  color: var(--muted);
}

.seo-text {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 34px;
  align-items: start;
}

.seo-text h2 {
  margin-bottom: 0;
}

.contacts {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: 42px;
}

.contact-media {
  height: 250px;
  overflow: hidden;
}

.contact-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mask-image: linear-gradient(90deg, #000 0%, #000 78%, transparent 100%);
}

.contacts h2 {
  margin-bottom: 12px;
}

.contact-form input {
  flex: 1 1 240px;
  min-height: 58px;
  padding: 0 18px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.contacts small {
  display: block;
  margin-top: 14px;
  color: #91a2b6;
}

.modal-shell {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background:
    radial-gradient(circle at 70% 20%, rgba(31, 122, 242, 0.22), transparent 28rem),
    rgba(2, 8, 15, 0.76);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(10, 25, 42, 0.94), rgba(5, 13, 22, 0.96)),
    radial-gradient(circle at 90% 0%, rgba(31, 122, 242, 0.18), transparent 22rem);
  border: 1px solid rgba(116, 169, 232, 0.28);
  border-radius: 10px;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.52);
  animation: modal-in 220ms ease both;
}

.modal-dialog h2 {
  margin-bottom: 22px;
  font-size: clamp(28px, 3vw, 42px);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.modal-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.modal-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.modal-form .wide {
  grid-column: 1 / -1;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

.modal-form textarea {
  resize: vertical;
}

.modal-form input:focus,
.modal-form textarea:focus,
.modal-form select:focus {
  outline: 2px solid rgba(31, 122, 242, 0.42);
  outline-offset: 2px;
}

.modal-status {
  min-height: 22px;
  margin: 0;
  color: #8fc2ff;
  font-weight: 800;
}

body.modal-open {
  overflow: hidden;
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 30px 0 36px;
  border-top: 1px solid var(--line);
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a,
.float-btn,
.float-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: #1267df;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.socials img,
.float-btn img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.footer-phone {
  display: grid;
  justify-items: end;
}

.footer-phone a {
  font-size: 20px;
  font-weight: 800;
}

.footer-phone span {
  margin-top: 6px;
  color: var(--muted);
}

.float-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  gap: 12px;
  justify-items: center;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.float-actions.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-btn {
  width: 54px;
  height: 54px;
  border: 0;
  box-shadow: 0 16px 40px rgba(18, 110, 255, 0.35);
  transition: transform 180ms ease, opacity 180ms ease, filter 180ms ease, margin 180ms ease;
}

.float-btn:hover,
.float-toggle:hover {
  transform: translateY(-2px) scale(1.03);
}

.float-btn.telegram {
  background: #27a7e7;
}

.float-btn.vk {
  background: #2677c9;
}

.social-link.max,
.float-btn.max {
  background: linear-gradient(135deg, #27bcff, #3058ff 52%, #a83bff);
}

.social-link.max img,
.float-btn.max img {
  width: 34px;
  height: 34px;
}

.float-toggle {
  position: relative;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(105, 173, 255, 0.36);
  background: rgba(8, 24, 42, 0.82);
  box-shadow: 0 14px 34px rgba(0, 56, 130, 0.28);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.float-toggle::before,
.float-toggle::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 180ms ease;
}

.float-toggle::before {
  transform: rotate(45deg);
}

.float-toggle::after {
  transform: rotate(-45deg);
}

.float-actions.is-collapsed {
  gap: 0;
}

.float-actions.is-collapsed .float-btn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.72);
  margin-top: -54px;
}

.float-actions.is-collapsed .float-toggle::before {
  transform: rotate(90deg);
}

.float-actions.is-collapsed .float-toggle::after {
  transform: rotate(0deg);
}

.float-btn.call img {
  width: 30px;
  height: 30px;
}

.reveal-up,
.reveal-card,
.reveal-left,
.reveal-step,
.reveal-zoom,
.reveal-scale {
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-up,
.reveal-card,
.reveal-step {
  transform: translateY(28px);
}

.reveal-left {
  transform: translateX(-32px);
}

.reveal-zoom,
.reveal-scale {
  transform: scale(0.96);
}

.is-visible {
  opacity: 1;
  transform: none;
}

.service-card:nth-child(2),
.why-item:nth-child(2),
.step:nth-child(2),
.review-card:nth-child(2) {
  transition-delay: 90ms;
}

.service-card:nth-child(3),
.why-item:nth-child(3),
.step:nth-child(3),
.review-card:nth-child(3) {
  transition-delay: 180ms;
}

.service-card:nth-child(4),
.why-item:nth-child(4),
.step:nth-child(4) {
  transition-delay: 270ms;
}

.service-card:nth-child(5) {
  transition-delay: 360ms;
}

.service-card:nth-child(6) {
  transition-delay: 450ms;
}

@media (max-width: 1120px) {
  :root {
    --container: min(100% - 40px, 1180px);
  }

  .site-header {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: center;
    padding-bottom: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: calc(100vh - 112px);
    overflow: hidden;
  }

  .hero-media {
    position: absolute;
    inset: 0 calc(50% - 50vw) 0 28%;
    min-height: 0;
    margin-top: 0;
  }

  .hero-media img {
    width: min(96vw, 980px);
    transform: translateY(-50%) translateX(16%) scale(1.04);
  }

  .services,
  .seo-text,
  .contacts {
    grid-template-columns: 1fr;
  }

  .services .section-head {
    min-height: auto;
  }

  .service-grid,
  .review-grid,
  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-grid,
  .steps,
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .why-item:nth-child(2n),
  .stats div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  :root {
    --container: min(100% - 28px, 720px);
  }

  html {
    scroll-padding-top: 126px;
  }

  .site-header {
    min-height: auto;
    padding: 14px;
  }

  .logo .brand-logo {
    width: 210px;
  }

  .logo img {
    width: 44px;
    height: 44px;
  }

  .logo strong {
    font-size: 20px;
  }

  .header-phone span:not(.round-icon) {
    display: none;
  }

  .main-nav {
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
  }

  .hero {
    min-height: calc(100vh - 128px);
    padding: 32px 0 34px;
  }

  .hero-media {
    inset: 0 -36vw 0 8%;
    opacity: 0.72;
  }

  .hero-media img {
    width: 720px;
    right: -260px;
    top: 62%;
    transform: translateY(-50%) scale(1.02);
  }

  h1 {
    font-size: clamp(40px, 13vw, 56px);
  }

  .hero-text {
    font-size: 17px;
  }

  .hero-points,
  .service-grid,
  .why-grid,
  .steps,
  .review-grid,
  .faq-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-points span {
    grid-template-columns: 50px 1fr;
    align-items: center;
    justify-items: start;
    min-height: 58px;
    text-align: left;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-points span:last-child {
    border-bottom: 0;
  }

  .services,
  .why,
  .process,
  .reviews,
  .contacts,
  .stats,
  .seo-text,
  .faq {
    padding: 22px;
  }

  .service-card {
    min-height: 238px;
  }

  .why-item,
  .stats div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .why-item:last-child,
  .stats div:last-child {
    border-bottom: 0;
  }

  .contact-media {
    height: 190px;
  }

  .footer {
    grid-template-columns: 1fr;
  }

  .footer-phone {
    justify-items: start;
  }

  .float-actions {
    right: 14px;
    bottom: 14px;
  }

  .review-action,
  .modal-form {
    grid-template-columns: 1fr;
  }

  .review-action {
    flex-direction: column;
  }

  .modal-dialog {
    padding: 24px 18px;
  }
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(31, 122, 242, 0.24), transparent 26rem),
    linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.08) 46%, transparent 56%),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
  transition: opacity 420ms ease, visibility 420ms ease;
}

.preloader::before,
.preloader::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.preloader::before {
  content: none;
}

.preloader::after {
  background: linear-gradient(115deg, transparent 38%, rgba(98, 169, 255, 0.18) 48%, transparent 58%);
  animation: loader-sweep 1400ms ease-in-out infinite;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-card {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 16px;
  width: min(460px, calc(100vw - 48px));
  padding: 34px 32px 30px;
  background: rgba(7, 18, 32, 0.62);
  border: 1px solid rgba(115, 167, 230, 0.28);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 65, 150, 0.28);
  backdrop-filter: blur(16px);
  animation: loader-card-in 520ms ease both;
}

.loader-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(31, 122, 242, 0.56));
  animation: loader-gear 1600ms ease-in-out infinite;
}

.loader-card .brand-logo {
  width: min(380px, 100%);
  height: auto;
  filter: drop-shadow(0 0 18px rgba(31, 122, 242, 0.28));
  animation: loader-logo 1600ms ease-in-out infinite;
}

.loader-card strong {
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.loader-card strong span {
  color: var(--blue);
}

.loader-line {
  position: relative;
  width: 100%;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.loader-line span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 38%;
  background: linear-gradient(90deg, transparent, var(--blue), var(--blue-soft));
  border-radius: inherit;
  animation: loader-line 1200ms cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.service-icon {
  display: none;
}

.service-card {
  padding-top: 118px;
}

.service-card::after {
  background:
    linear-gradient(180deg, rgba(5, 13, 22, 0.08) 0%, rgba(5, 13, 22, 0.62) 44%, rgba(5, 13, 22, 0.94) 100%),
    linear-gradient(90deg, rgba(5, 13, 22, 0.32), transparent 66%);
}















@media (prefers-reduced-motion: reduce) {
  .loader-card,
  .loader-card img,
  .loader-line span,
  .preloader::after,
  .hero::before,
  .btn.primary::after,
  body::before,
  .hero::after {
    animation: none;
  }

  .preloader {
    display: none;
  }
}

@keyframes loader-card-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes loader-gear {
  0%, 100% {
    transform: rotate(0deg) scale(1);
  }
  50% {
    transform: rotate(28deg) scale(1.04);
  }
}

@keyframes loader-logo {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes brand-logo-float {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 16px rgba(22, 118, 255, 0.28));
  }
  45% {
    transform: translateY(-2px) scale(1.012);
    filter: drop-shadow(0 0 25px rgba(22, 190, 255, 0.58));
  }
  72% {
    transform: translateY(1px) scale(1.004);
    filter: drop-shadow(0 0 19px rgba(31, 122, 242, 0.42));
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo .brand-logo,
  .loader-card .brand-logo {
    animation: none;
  }
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes loader-line {
  0% {
    transform: translateX(-105%);
  }
  100% {
    transform: translateX(265%);
  }
}

@keyframes loader-sweep {
  0% {
    transform: translateX(-45%);
    opacity: 0;
  }
  35%, 70% {
    opacity: 1;
  }
  100% {
    transform: translateX(45%);
    opacity: 0;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1) translateX(0);
  }
  to {
    transform: scale(1.035) translateX(-14px);
  }
}

@keyframes button-shine {
  0%, 55% {
    transform: rotate(18deg) translateX(-140px);
  }
  78%, 100% {
    transform: rotate(18deg) translateX(420px);
  }
}

@keyframes ambient-lines {
  from {
    background-position: -240px 0, 180px 0, -420px 0;
  }
  to {
    background-position: 1560px 0, -1320px 0, 1680px 0;
  }
}

@keyframes hero-lines {
  from {
    background-position: 0 0, 0 0, 0 0, 0 0, -320px 0, 420px 0;
  }
  to {
    background-position: 0 0, 0 0, 0 0, 0 0, 1180px 0, -1280px 0;
  }
}
