/* БалтЛифтСистем — стили сайта */
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/onest-cyrillic-wght-normal.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../fonts/onest-latin-wght-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #1d2a3b;
  --text: #3a4657;
  --muted: #667387;
  --blue: #2f7290;
  --blue-dark: #235a73;
  --blue-soft: #e6eff4;
  --steel: #475771;
  --line: #dde4ec;
  --tint: #f3f6f9;
  --white: #fff;
  --accent: #c74815;
  --accent-dark: #a83a0f;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(29, 42, 59, .05), 0 8px 24px rgba(29, 42, 59, .06);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid rgba(47, 114, 144, .45); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, p, ul, dl, dd, address { margin: 0; }
ul { padding: 0; list-style: none; }
address { font-style: normal; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Typography ---------- */
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
h1, .h2, .h3 { color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(34px, 5vw, 58px); line-height: 1.08; }
.h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; max-width: 22ch; }
.h3 { font-size: 22px; line-height: 1.3; }
.lead { font-size: clamp(17px, 1.5vw, 19px); color: var(--text); max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 10px; border: 1.5px solid transparent;
  font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; text-align: center;
  cursor: pointer; transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 20px; height: 20px; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-dark); color: #fff; }
.btn--line { background: var(--white); border-color: var(--line); color: var(--ink); }
.btn--line:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn--lg { min-height: 56px; padding: 14px 26px; font-size: 17px; }
.btn--wide { width: 100%; }
.icon-btn {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; padding: 0;
}
.icon-btn:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .header { background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); } }
.header__in { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__logo { width: 46px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__text b { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.brand__text small { font-size: 13px; color: var(--muted); }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--ink); font-weight: 500; font-size: 16px; padding: 6px 0; }
.nav a:hover { color: var(--blue); }
.header__contact { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; }
.header__phone { color: var(--ink); font-weight: 700; font-size: 18px; white-space: nowrap; }
.header__mail { font-size: 14px; color: var(--muted); }
.header__call, .header__burger { display: none; }

.menu { position: fixed; inset: 0; z-index: 60; background: var(--white); display: flex; flex-direction: column; padding: 14px var(--gutter) 28px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu__head { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.menu__title { font-weight: 700; color: var(--ink); font-size: 18px; }
.menu__nav { display: flex; flex-direction: column; margin: 18px 0 28px; }
.menu__nav a { color: var(--ink); font-size: 22px; font-weight: 600; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu__contacts { display: grid; gap: 12px; margin-top: auto; }
.menu__mail { text-align: center; padding: 8px; font-weight: 500; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 60%, #fff 100%),
    repeating-linear-gradient(90deg, transparent 0 79px, rgba(71, 87, 113, .06) 79px 80px),
    repeating-linear-gradient(0deg, transparent 0 79px, rgba(71, 87, 113, .06) 79px 80px),
    linear-gradient(160deg, #eef3f7 0%, #f7f9fb 55%, #fff 100%);
}
.hero__in { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; padding-top: clamp(48px, 8vw, 104px); padding-bottom: clamp(56px, 8vw, 104px); }
.hero__sub { margin-top: 22px; font-size: clamp(18px, 1.7vw, 21px); color: var(--text); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__contacts { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 30px; color: var(--muted); font-size: 16px; }
.hero__contacts li { display: flex; align-items: center; gap: 8px; }
.hero__contacts svg { width: 20px; height: 20px; color: var(--blue); }

.dispatch { background: var(--ink); color: #d5dde7; border-radius: 20px; padding: clamp(24px, 3vw, 34px); box-shadow: 0 20px 50px rgba(29, 42, 59, .18); }
.dispatch__head { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 22px; }
.dispatch__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: rgba(199, 72, 21, .18); color: #f08a5d; flex: none; }
.dispatch__icon svg { width: 26px; height: 26px; }
.dispatch__title { color: #fff; font-size: 20px; line-height: 1.3; font-weight: 700; }
.dispatch__note { font-size: 15px; color: #a9b6c6; }
.dispatch__phone { display: block; color: #fff; font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.01em; padding: 6px 0; }
.dispatch__phone:hover { color: #f3a27e; }
.dispatch__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.dispatch__facts dt { color: #fff; font-size: 26px; font-weight: 700; line-height: 1.1; }
.dispatch__facts dd { font-size: 14px; color: #a9b6c6; margin-top: 4px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--tint { background: var(--tint); }
.section__head { margin-bottom: clamp(32px, 4vw, 52px); }

/* About */
.about { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.about .lead { margin-top: 22px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 36px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts__item { padding: 20px 22px; }
.facts__item + .facts__item { border-left: 1px solid var(--line); }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { color: var(--ink); font-weight: 700; font-size: 18px; line-height: 1.3; margin-top: 6px; }
.about__adv { background: var(--tint); border-radius: var(--radius); padding: clamp(24px, 3vw, 36px); }
.checks { display: grid; gap: 14px; margin-top: 20px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-weight: 500; }
.checks svg { width: 24px; height: 24px; padding: 4px; border-radius: 50%; background: var(--blue); color: #fff; stroke-width: 2.6; margin-top: 1px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; color: var(--text); }
.card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); margin-bottom: 22px; }
.card__icon svg { width: 28px; height: 28px; }
.card__title { color: var(--ink); font-size: 20px; line-height: 1.3; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { font-size: 16px; }
.card--cta { background: var(--blue); border-color: var(--blue); color: #e1edf3; justify-content: center; transition: background-color .15s; }
.card--cta:hover { background: var(--blue-dark); color: #e1edf3; }
.card--cta .card__title { color: #fff; font-size: 22px; }
.card__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; color: #fff; font-weight: 600; }

/* Scale */
.scale { background: var(--ink); color: #c3cedb; padding: clamp(44px, 6vw, 72px) 0; }
.scale__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.scale__list li { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: center; }
.scale__icon { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 14px; background: rgba(255, 255, 255, .07); color: #8fc0d6; }
.scale__icon svg { width: 28px; height: 28px; }
.scale__list b { color: #fff; font-size: clamp(32px, 3.6vw, 46px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; }
.scale__list span:last-child { font-size: 16px; }

/* Terms */
.terms { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.term { display: flex; flex-direction: column; gap: 18px; padding: 24px 22px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 600; font-size: 17px; line-height: 1.4; }
.term__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: #fbeee8; color: var(--accent); }
.term__icon svg { width: 26px; height: 26px; }

/* Request */
.request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.request .lead { margin-top: 20px; }
.request__alt { display: grid; gap: 12px; margin-top: 30px; }
.request__alt li { display: flex; align-items: center; gap: 12px; font-size: 19px; font-weight: 600; }
.request__alt a { color: var(--ink); }
.request__alt a:hover { color: var(--blue); }
.request__alt svg { color: var(--blue); }
.form { display: grid; gap: 18px; background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: clamp(22px, 3.4vw, 40px); box-shadow: var(--shadow); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field__label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field__label i { color: var(--accent); font-style: normal; }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font: inherit; font-size: 17px; color: var(--ink); background: var(--white); transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #9aa5b4; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(47, 114, 144, .14); }
.field [aria-invalid="true"] { border-color: var(--accent); }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); line-height: 1.5; cursor: pointer; }
.agree input { width: 22px; height: 22px; margin: 0; accent-color: var(--blue); flex: none; }
.form__status { min-height: 1.5em; font-size: 15px; font-weight: 500; }
.form__status.is-ok { color: #1f7a4d; }
.form__status.is-err { color: var(--accent-dark); }
.form button[disabled] { opacity: .7; cursor: progress; }

/* Contacts */
.contacts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.contacts__list { display: grid; gap: 22px; align-content: start; }
.contacts__list li { display: flex; gap: 16px; align-items: flex-start; }
.contacts__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft); color: var(--blue); flex: none; }
.contacts__icon--alert { background: #fbeee8; color: var(--accent); }
.contacts__label { display: block; font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.contacts__big { display: block; color: var(--ink); font-size: 20px; font-weight: 700; }
.contacts__big:hover { color: var(--blue); }
.contacts address, .contacts li span:not(.contacts__label):not(.contacts__icon) { color: var(--ink); }
.map { position: relative; min-height: 420px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--tint); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__link { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; background: var(--white); color: var(--ink); font-size: 15px; font-weight: 600; padding: 10px 14px; border-radius: 10px; box-shadow: var(--shadow); }
.map__link svg { width: 18px; height: 18px; }

/* Footer */
.footer { background: var(--tint); border-top: 1px solid var(--line); padding: 44px 0; font-size: 15px; color: var(--muted); }
.footer__in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: start; }
.footer__brand { display: flex; gap: 20px; align-items: flex-start; }
.footer__logo { width: 56px; height: auto; flex: none; }
.footer__name { color: var(--ink); font-weight: 600; margin-bottom: 8px; }
.footer__req + .footer__req { margin-top: 4px; }
.footer__side { display: grid; gap: 6px; justify-items: end; text-align: right; }
.footer__side a { color: var(--text); }
.footer__side a:hover { color: var(--blue); }
.footer__phone { font-size: 18px; font-weight: 700; color: var(--ink) !important; }
.footer__copy { margin-top: 8px; }

/* ---------- Simple pages ---------- */
.page { padding: clamp(48px, 7vw, 88px) 0; }
.page h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 24px; }
.page h2 { color: var(--ink); font-size: 22px; margin: 32px 0 10px; }
.page p, .page li { max-width: 72ch; }
.page p + p { margin-top: 12px; }
.page ul { list-style: disc; padding-left: 22px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { gap: 20px; }
  .header__mail { display: none; }
  .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav, .header__contact { display: none; }
  .header__cta { margin-left: auto; }
  .header__burger { display: inline-grid; }
  .hero__in, .about, .request, .contacts { grid-template-columns: 1fr; }
  .dispatch { max-width: 560px; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .map { min-height: 360px; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .header__in { gap: 10px; }
  .header__cta { display: none; }
  .header__call { display: inline-grid; margin-left: auto; background: var(--accent); border-color: var(--accent); color: #fff; }
  .brand__logo { width: 38px; }
  .brand__text b { font-size: 16px; }
  .brand__text small { font-size: 12px; }
  .hero__actions .btn { width: 100%; }
  .facts { grid-template-columns: 1fr; }
  .facts__item + .facts__item { border-left: 0; border-top: 1px solid var(--line); }
  .services, .terms { grid-template-columns: 1fr; }
  .term { flex-direction: row; align-items: center; padding: 18px; }
  .scale__list { grid-template-columns: 1fr; gap: 22px; }
  .form__row { grid-template-columns: 1fr; }
  .card { padding: 22px; }
  .map { min-height: 320px; }
  .footer__in { grid-template-columns: 1fr; }
  .footer__brand { flex-direction: column; }
  .footer__side { justify-items: start; text-align: left; }
}
@media (max-width: 360px) {
  .brand__text small { display: none; }
}
.header__back { margin-left: auto; }
.page__actions { margin-top: 28px; }

/* hero logo, facts widths, small fixes */
.brand__logo { width: 52px; }
.hero__side { display: grid; gap: 0; justify-items: stretch; }
.hero__logo { justify-self: start; display: grid; place-items: center; width: 200px; height: 200px; margin: 0 0 -36px 28px; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); position: relative; z-index: 1; }
.hero__logo img { width: auto; height: 156px; }
.dispatch { padding-top: 56px; }
.facts { grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, 1.5fr); }
.term__icon { flex: none; }
@media (max-width: 1024px) {
  .hero__side { max-width: 560px; }
  .hero__logo { display: none; }
  .dispatch { padding-top: clamp(24px, 3vw, 34px); }
}
@media (max-width: 720px) {
  .brand__logo { width: 40px; }
  .facts { grid-template-columns: 1fr; }
}

/* ---------- Фон-картинки (светлый город из «БЛС фон.pdf») ---------- */
.hero, .scale { position: relative; isolation: isolate; }
.hero::before, .scale::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-size: cover; background-repeat: no-repeat;
}
.hero::after, .scale::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }

.hero { background: #eef3f6; color: var(--text); }
.hero::before { background-image: url(../img/bg-hero.jpg); background-position: center 35%; }
/* белая дымка слева — под текстом; справа картинка видна почти без изменений */
.hero::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, .86) 0%, rgba(255, 255, 255, .74) 36%, rgba(255, 255, 255, .28) 62%, rgba(255, 255, 255, 0) 80%);
}
.hero h1 { color: var(--ink); text-wrap: balance; }
.hero .eyebrow { color: var(--accent); }
.hero__sub { color: #26313f; }
.hero h1, .hero .eyebrow, .hero__sub, .hero__contacts {
  text-shadow: 0 0 2px rgba(255, 255, 255, .9), 0 0 18px rgba(255, 255, 255, .85);
}
.hero__contacts { color: #26313f; font-weight: 500; }
.hero__contacts a { color: var(--ink); }
.hero__contacts a:hover { color: var(--accent); }
.hero__contacts svg { color: var(--accent); }
.hero .btn--line { background: rgba(255, 255, 255, .9); border-color: rgba(29, 42, 59, .2); color: var(--ink); }
.hero .btn--line:hover { background: #fff; border-color: var(--blue); color: var(--blue-dark); }
.hero__logo { border-color: transparent; box-shadow: 0 14px 36px rgba(29, 42, 59, .22); }
.dispatch { background: rgba(23, 33, 47, .92); border: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 60px rgba(29, 42, 59, .35); }
@supports (backdrop-filter: blur(8px)) { .dispatch { background: rgba(23, 33, 47, .84); backdrop-filter: blur(10px); } }

.scale { background: #eef3f6; color: var(--text); }
.scale::before { background-image: url(../img/bg-city.jpg); background-position: center 55%; }
.scale::after { background: rgba(255, 255, 255, .62); }
.scale__list b { color: var(--ink); }
.scale__list span:last-child { color: #26313f; font-weight: 500; }
.scale__list b, .scale__list span:last-child { text-shadow: 0 0 2px rgba(255, 255, 255, .9), 0 0 14px rgba(255, 255, 255, .9); }
.scale__icon { background: rgba(255, 255, 255, .9); color: var(--accent); box-shadow: 0 4px 14px rgba(29, 42, 59, .1); }

@media (max-width: 1024px) {
  .hero::before { background-image: url(../img/bg-hero-m.jpg); background-position: 60% center; }
  .hero::after { background: linear-gradient(180deg, rgba(255, 255, 255, .8) 0%, rgba(255, 255, 255, .7) 60%, rgba(255, 255, 255, .55) 100%); }
}
