:root {
  --bg: #e8eef6;
  --bg-deep: #d6e2f0;
  --surface: #ffffff;
  --text: #001a34;
  --text-muted: #4a5d73;
  --accent: #005bff;
  --accent-hover: #0048cc;
  --accent-pale: #e8f0ff;
  --line: rgba(0, 26, 52, 0.12);
  --font-display: "Literata", "Georgia", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --radius: 4px;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(ellipse 90% 60% at 10% -10%, #c5d8f5 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 15%, #b8d4c8 0%, transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, #f4f7fb 45%, var(--bg-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(232, 238, 246, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(244, 247, 251, 0.92);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: min(180px, 48vw);
  height: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--accent);
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-lg {
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: center;
  padding: 3.5rem 0 4.5rem;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 8% -20% auto 40%;
  height: 70%;
  background:
    linear-gradient(135deg, rgba(0, 91, 255, 0.14), transparent 55%),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 18px,
      rgba(0, 26, 52, 0.035) 18px,
      rgba(0, 26, 52, 0.035) 19px
    );
  pointer-events: none;
  animation: heroPlane 18s ease-in-out infinite alternate;
}

@keyframes heroPlane {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  to { transform: translate3d(-2%, 3%, 0) rotate(-1.5deg); }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 40rem;
}

.hero__brand {
  margin: 0 0 1.25rem;
}

.hero__brand img {
  width: min(280px, 72vw);
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 34rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__content > * {
  animation: riseIn 0.7s ease both;
}

.hero__brand { animation-delay: 0.05s; }
.hero h1 { animation-delay: 0.15s; }
.hero__lead { animation-delay: 0.28s; }
.hero__cta { animation-delay: 0.4s; }

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  .hero__content > * { animation: none; }
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* —— Sections —— */
.section {
  padding: 4.5rem 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section__head {
  margin-bottom: 2.25rem;
  max-width: 36rem;
}

.section__head h1,
.section__head h2 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section__head p {
  margin: 0;
  color: var(--text-muted);
}

/* —— Advantages —— */
.adv-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}

.adv-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem 1.25rem;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}

.adv-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.adv-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  padding-top: 0.1rem;
}

.adv-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.adv-list p {
  margin: 0;
  color: var(--text-muted);
  max-width: 40rem;
}

/* —— Capabilities —— */
.cap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cap-list li {
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.4rem;
}

@media (min-width: 720px) {
  .cap-list li {
    grid-template-columns: minmax(12rem, 0.42fr) 1fr;
    gap: 1.5rem;
    align-items: baseline;
  }
}

.cap-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.cap-list h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
}

.cap-list p {
  margin: 0;
  color: var(--text-muted);
}

/* —— Contact —— */
.contact {
  background: linear-gradient(160deg, rgba(0, 91, 255, 0.08), transparent 60%);
  border-radius: 8px;
  padding: 2.5rem 1.75rem;
  margin-top: 0.5rem;
}

.contact h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.contact p {
  margin: 0 0 1.35rem;
  color: var(--text-muted);
  max-width: 28rem;
}

.contact__mail {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  font-weight: 600;
  word-break: break-all;
  color: inherit;
  max-width: none;
}

/* —— Footer —— */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  margin-top: 1rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer .brand-logo {
  width: 140px;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  font-size: 0.95rem;
}

.site-footer__links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
}

.site-footer__links a:hover {
  color: var(--accent);
}

.site-footer__legal {
  margin: 1rem auto 0;
  font-size: 0.85rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.requisites-list {
  margin: 0;
  max-width: 40rem;
  display: grid;
  gap: 1.25rem;
}

.requisites-list > div {
  display: grid;
  gap: 0.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.requisites-list > div:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.requisites-list dt {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.requisites-list dd {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
}

/* —— Reveal on scroll —— */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

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

@media (max-width: 560px) {
  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .hero {
    min-height: auto;
    padding: 2.5rem 0 3.25rem;
  }

  .section {
    padding: 3.25rem 0;
  }

  .nav-links .nav-hide-sm {
    display: none;
  }

  .contact {
    padding: 2rem 1.25rem;
  }
}
