:root {
  color-scheme: light;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #182230;
  --muted: #667085;
  --line: #d8e0ea;
  --accent: #2f6fed;
  --accent-dark: #174ea6;
  --ink: #101828;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.topbar {
  position: fixed;
  z-index: 10;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  color: #fff;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: #fff;
  color: var(--accent-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}
.nav {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
  font-weight: 650;
}
.nav a:hover { color: #fff; }
.top-actions { display: flex; gap: 10px; align-items: center; }
.mobile-phone { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 760;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 28px rgba(47, 111, 237, 0.26);
}
.btn-light {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.26);
}
.btn-outline {
  color: var(--accent-dark);
  background: #fff;
  border-color: var(--line);
}

.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(90deg, rgba(10, 18, 32, 0.88) 0%, rgba(10, 18, 32, 0.66) 42%, rgba(10, 18, 32, 0.2) 78%),
    url("/static/site/hero-elevator-service.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 118px 24px 64px;
}
.subhero {
  min-height: 460px;
  display: flex;
  align-items: flex-end;
  background-image:
    linear-gradient(90deg, rgba(10, 18, 32, 0.9) 0%, rgba(10, 18, 32, 0.72) 54%, rgba(10, 18, 32, 0.34) 100%),
    url("/static/site/hero-elevator-service.png");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 128px 24px 58px;
}
.hero-inner,
.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}
.hero-inner { display: grid; gap: 34px; }
.hero-content { max-width: 760px; }
.kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}
h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(42px, 6vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}
.subhero h1 { font-size: clamp(38px, 5vw, 64px); }
.company-name-title {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(40px, 5.2vw, 68px);
}
.hero-text {
  margin: 22px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}
.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.hero-stat {
  min-height: 118px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.46);
  backdrop-filter: blur(12px);
}
.hero-stat strong {
  display: block;
  min-height: 31px;
  font-size: 26px;
  line-height: 1.12;
  margin-bottom: 10px;
}
.hero-stat span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 15px;
  line-height: 1.4;
}

section { padding: 74px 24px; }
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.55fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 28px;
}
.section-label {
  color: var(--accent);
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 12px;
}
h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: 0;
}
.section-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}
.grid-2,
.grid-3,
.grid-4,
.grid-5 {
  display: grid;
  gap: 16px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}
.card h3 {
  margin: 0 0 10px;
  font-size: 21px;
  line-height: 1.24;
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}
.clean-list {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}
.clean-list li + li { margin-top: 5px; }
.card-kicker {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}
.band {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.dark-box {
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 28px;
}
.dark-box .section-copy,
.dark-box p { color: rgba(255, 255, 255, 0.76); }
.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 20px;
}
.contact-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.contact-row span { color: rgba(255, 255, 255, 0.62); }
.contact-row strong { text-align: right; }
.doc-status {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eff8ff;
  color: #175cd3;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 16px;
}
.doc-card {
  display: flex;
  min-height: 0;
  flex-direction: column;
  align-items: flex-start;
}
.doc-preview {
  width: 100%;
  height: 380px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
}
.doc-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
}
.doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-top: auto;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent-dark);
  font-weight: 800;
  background: #fff;
}
.requisites-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.05);
}
.requisite-row {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 18px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}
.requisite-row:last-child { border-bottom: 0; }
.requisite-row span {
  color: var(--muted);
  font-weight: 700;
}
.requisite-row strong {
  color: var(--text);
  font-weight: 850;
  overflow-wrap: anywhere;
}
.quote {
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
}
.site-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-notice {
  margin: 0 0 14px;
  display: grid;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 8px;
  line-height: 1.45;
}
.form-notice-title {
  font-size: 17px;
  line-height: 1.3;
}
.form-notice-text {
  color: inherit;
  opacity: 0.96;
}
.form-notice.success {
  background: linear-gradient(135deg, rgba(18, 183, 106, 0.24), rgba(18, 183, 106, 0.12));
  border: 1px solid rgba(94, 226, 160, 0.46);
  color: #ecfdf3;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.form-notice.error {
  background: linear-gradient(135deg, rgba(240, 68, 56, 0.24), rgba(240, 68, 56, 0.12));
  border: 1px solid rgba(253, 162, 155, 0.42);
  color: #fff1f0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.field {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 750;
}
.field-wide { grid-column: 1 / -1; }
.field input,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  padding: 11px 13px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
  outline: none;
}
.field textarea { resize: vertical; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(255, 255, 255, 0.52); }
.field input:focus,
.field textarea:focus {
  border-color: rgba(156, 194, 255, 0.9);
  box-shadow: 0 0 0 3px rgba(47, 111, 237, 0.22);
}
.video-placeholder {
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #111827, #344054);
  color: #fff;
  font-weight: 800;
}
.footer { padding: 28px 24px 40px; color: var(--muted); }
.footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  font-size: 14px;
}

@media (max-width: 1040px) {
  .topbar {
    top: 10px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    row-gap: 10px;
  }
  .nav {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 0 4px;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
  .nav a {
    flex: 0 0 auto;
    padding: 9px 11px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
  }
  .hero-strip, .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-head, .contact-box { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .topbar {
    width: calc(100% - 24px);
    padding: 10px;
    gap: 8px;
  }
  .brand { min-width: 0; gap: 8px; }
  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }
  .top-actions { gap: 8px; }
  .top-actions .btn {
    min-height: 40px;
    padding: 0 12px;
  }
  .top-actions .btn-light {
    display: inline-flex;
    font-size: 0;
    width: 42px;
    padding: 0;
  }
  .top-actions .btn-light::before {
    content: "@";
    font-size: 19px;
    line-height: 1;
  }
  .top-actions .btn-primary { font-size: 15px; }
  .nav {
    margin-top: 2px;
    padding-bottom: 2px;
  }
  .nav a {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 13px;
  }
  .hero { min-height: auto; padding: 174px 12px 38px; }
  .subhero { min-height: auto; padding: 174px 12px 42px; }
  .hero-inner,
  .section-inner { width: 100%; }
  .hero-content { max-width: 100%; }
  .kicker {
    max-width: 100%;
    white-space: normal;
    line-height: 1.35;
  }
  h1 { font-size: clamp(34px, 12vw, 48px); }
  .subhero h1 { font-size: clamp(32px, 11vw, 46px); }
  .company-name-title { font-size: clamp(31px, 8.8vw, 42px); }
  .hero-text { font-size: 18px; line-height: 1.55; }
  .hero-stat {
    min-height: 0;
    padding: 18px;
  }
  .hero-strip, .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  section { padding: 50px 12px; }
  .dark-box { padding: 22px; }
  .card { padding: 20px; }
  .contact-row { display: grid; }
  .contact-row strong { text-align: left; }
  .site-form { grid-template-columns: 1fr; }
  .doc-preview { height: 300px; }
  .requisite-row { grid-template-columns: 1fr; gap: 8px; }
  .footer-inner { flex-direction: column; }
}
