/* ====== Б—К · «Грузовик в лизинг за 3–5 дней» — premium (по черновику) ====== */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --blue: #1E49C8;
  --blue-bright: #2E66F5;
  --blue-deep: #163a9e;
  --ink: #10203f;
  --ink-2: #3a4763;
  --muted: #6b7691;
  --card: #ffffff;
  --tile: linear-gradient(180deg, #ffffff 0%, #eef2f9 100%);
  --shadow-card: 0 8px 22px rgba(16, 32, 63, 0.07), 0 1px 3px rgba(16, 32, 63, 0.04);
  --shadow-float: 0 22px 60px rgba(16, 32, 63, 0.16), 0 4px 12px rgba(16, 32, 63, 0.06);
  --shadow-btn: 0 14px 30px rgba(30, 73, 200, 0.34);
  --spring: cubic-bezier(.34, 1.56, .64, 1);

  --q-blue: #1E49C8; --q-blue-deep: #163a9e; --q-blue-soft: #E8EEFC; --q-blue-line: #C9D7F8;
  --q-ink: #10203f;
  --q-grad-btn: linear-gradient(180deg, #2E66F5 0%, #1E49C8 100%);
  --q-grad-header: linear-gradient(135deg, #2E66F5 0%, #163a9e 100%);
  --q-chat-bg: #F4F7FE; --q-radius: 24px; --q-font: Manrope, "Segoe UI", system-ui, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
body {
  font-family: Manrope, "Segoe UI", system-ui, sans-serif;
  color: var(--ink); margin: 0; min-height: 100dvh; overflow-x: hidden; -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(760px 520px at 8% -4%, #cfe0fb 0%, transparent 55%),
    radial-gradient(820px 620px at 104% 8%, #d7e6ff 0%, transparent 52%),
    radial-gradient(900px 700px at 50% 108%, #dbe6fa 0%, transparent 55%),
    linear-gradient(178deg, #eef3fb 0%, #e6edf8 60%, #e9eff8 100%);
  background-attachment: fixed;
}
/* мягкое зерно для глубины */
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
.wrap { position: relative; z-index: 1; width: 100%; max-width: 620px; margin: 0 auto; padding: 18px 16px 40px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.16,1,.3,1), transform .6s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1 !important; transform: none !important; } }

/* ---- Шапка ---- */
.topbar { display: flex; align-items: center; gap: 13px; padding: 8px 4px 20px; }
.brand-logo { width: 78px; height: auto; flex: 0 0 auto; }
.brand-name { font-size: 17px; font-weight: 800; color: var(--ink); letter-spacing: -0.2px; }
.brand-sub { font-size: 13px; font-weight: 500; color: var(--muted); margin-top: 2px; }

/* ---- Герой: единая карточка, текст слева + фото справа с растушёвкой ---- */
.hero {
  display: grid; grid-template-columns: 1.02fr 0.98fr; align-items: stretch;
  background: var(--card); border-radius: 26px; overflow: hidden;
  box-shadow: var(--shadow-float); min-height: clamp(330px, 84vw, 420px);
  transition: transform .35s var(--spring), box-shadow .35s ease;
}
.hero:hover { transform: translateY(-5px); box-shadow: 0 30px 70px rgba(16,32,63,0.2), 0 6px 16px rgba(16,32,63,0.08); }
.hero-text { padding: 30px 8px 30px 26px; display: flex; flex-direction: column; justify-content: center; }
.hero-title { margin: 0; display: flex; flex-direction: column; font-weight: 800; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.02em; font-size: clamp(27px, 8.6vw, 46px); color: var(--ink); }
.hero-title span { white-space: nowrap; }
.hero-title .accent { color: var(--blue); }
.hero-sub { margin: 16px 0 0; font-size: clamp(13px, 3.6vw, 15.5px); font-weight: 600; color: var(--ink-2); line-height: 1.35; max-width: 15ch; }
.hero-media { position: relative; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 56%; display: block; }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.55) 16%, rgba(255,255,255,0) 46%); }

/* ---- Полоса доверия с Lottie ---- */
.trust-strip { display: flex; align-items: center; gap: 13px; background: var(--card); border: 1px solid rgba(30,73,200,0.10); border-radius: 16px; padding: 11px 16px; box-shadow: var(--shadow-card); margin-top: 14px; transition: transform .3s var(--spring), box-shadow .3s ease; }
.trust-strip:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(16,32,63,0.15); }
.ts-lottie { width: 48px; height: 48px; flex: 0 0 auto; }
.ts-lottie svg { display: block; }
.ts-text { font-size: 12.5px; color: var(--muted); font-weight: 500; line-height: 1.3; }
.ts-text b { display: block; color: var(--ink); font-weight: 800; font-size: 14px; margin-bottom: 1px; }

/* ---- Синяя кнопка-полоса ---- */
.cta-bar {
  margin: 18px 0; width: 100%; border: none; cursor: pointer;
  background: linear-gradient(180deg, #2a5cf0 0%, #1E49C8 100%); color: #fff;
  border-radius: 16px; padding: 20px 18px; font-family: inherit;
  font-size: clamp(13px, 3.7vw, 17px); font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase;
  display: flex; align-items: center; justify-content: center; gap: 11px;
  box-shadow: var(--shadow-btn); transition: transform .16s var(--spring), box-shadow .25s, filter .15s;
  -webkit-tap-highlight-color: transparent; position: relative; overflow: hidden;
}
.cta-bar span { position: relative; z-index: 1; }
.cta-bar svg { width: 21px; height: 21px; flex: 0 0 auto; transition: transform .25s var(--spring); position: relative; z-index: 1; }
.cta-bar::after { content: ""; position: absolute; top: 0; left: -60%; width: 45%; height: 100%; z-index: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.28), transparent); transform: skewX(-18deg); transition: none; }
.cta-bar:hover { filter: brightness(1.05); transform: translateY(-2px); box-shadow: 0 20px 40px rgba(30,73,200,.46); }
.cta-bar:hover svg { transform: translateX(5px); }
.cta-bar:hover::after { animation: sheen 0.9s ease; }
@keyframes sheen { from { left: -60%; } to { left: 130%; } }
.cta-bar:active { transform: translateY(0) scale(.99); }

/* ---- 4 плитки-преимущества ---- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 16px 0 32px; }
.benefit {
  background: var(--tile); border-radius: 16px; box-shadow: var(--shadow-card); padding: 18px 6px 16px;
  text-align: center; display: flex; flex-direction: column; align-items: center; cursor: default;
  transition: transform .3s var(--spring), box-shadow .3s ease;
}
.benefit img { width: 88%; max-width: 100px; height: auto; display: block; margin-bottom: 11px;
  filter: drop-shadow(0 7px 10px rgba(16,32,63,0.16)); transition: transform .4s var(--spring), filter .3s; }
.benefit p { margin: 0; font-size: clamp(11px, 3vw, 13px); line-height: 1.25; color: var(--ink-2); font-weight: 500; }
.benefit p b { display: block; color: var(--ink); font-weight: 800; margin-bottom: 2px; }
.benefit:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(16,32,63,0.17); }
.benefit:hover img { transform: scale(1.14) rotate(-4deg); filter: drop-shadow(0 14px 18px rgba(16,32,63,0.24)); }

/* ---- Заголовок раздела ---- */
.why-title { margin: 8px 0 18px; font-size: clamp(19px, 5.4vw, 27px); font-weight: 800; text-transform: uppercase; text-align: center; letter-spacing: -0.01em; line-height: 1.1; color: var(--ink); text-wrap: balance; }

/* ---- 3 фото ---- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.why-card { margin: 0; display: flex; flex-direction: column; align-items: center; }
.wc-img { display: block; width: 100%; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-card); }
.wc-img img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s ease; }
.why-card:hover .wc-img img { transform: scale(1.08); }
.why-card figcaption { margin-top: 11px; font-size: clamp(11px, 3vw, 12.5px); font-weight: 600; line-height: 1.28; text-align: center; color: var(--ink-2); }

/* ---- Футер ---- */
.site-foot { margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(16,32,63,0.10); color: var(--muted); line-height: 1.6; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
.foot-brand { color: var(--ink); font-weight: 800; font-size: 15px; margin-bottom: 7px; }
.foot-about p { margin: 0; font-size: 12.5px; max-width: 34ch; }
.foot-h { color: var(--ink); font-weight: 800; font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 8px; }
.foot-col p { margin: 0; font-size: 12.5px; }
.foot-col a { color: var(--muted); text-decoration: none; }
.foot-col a:hover { color: var(--blue); text-decoration: underline; }
.foot-bottom { margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(16,32,63,0.08); font-size: 11.5px; text-align: center; }
@media (min-width: 560px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1.35fr 1fr 1.1fr; gap: 26px; } }

/* ---- Малый телефон: плитки в 2 ряда, чтобы не жались ---- */
@media (max-width: 360px) {
  .benefits { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ---- Планшет ---- */
@media (min-width: 620px) {
  .wrap { max-width: 720px; padding-top: 26px; }
  .hero { min-height: 400px; }
}

/* ---- Десктоп ---- */
@media (min-width: 900px) {
  .wrap { max-width: 1080px; padding: 34px 36px 72px; }
  .topbar { gap: 15px; padding: 8px 6px 30px; }
  .brand-logo { width: 90px; }
  .brand-name { font-size: 20px; }
  .brand-sub { font-size: 14px; }

  .hero { grid-template-columns: 1.06fr 0.94fr; min-height: 500px; border-radius: 30px; }
  .hero-text { padding: 56px 26px 56px 60px; }
  .hero-title { font-size: 54px; }
  .hero-sub { font-size: 18px; margin-top: 24px; max-width: 26ch; }
  .hero-media::before { background: linear-gradient(90deg, #ffffff 0%, rgba(255,255,255,0.5) 12%, rgba(255,255,255,0) 40%); }

  .trust-strip { max-width: 760px; margin: 22px auto 0; padding: 16px 24px; gap: 16px; }
  .ts-lottie { width: 56px; height: 56px; }
  .ts-text { font-size: 15px; }
  .ts-text b { font-size: 17px; }

  .cta-bar { max-width: 560px; margin: 26px auto; padding: 22px 24px; font-size: 18px; }

  .benefits { gap: 20px; margin: 26px 0 48px; }
  .benefit { padding: 30px 14px 24px; border-radius: 20px; }
  .benefit img { max-width: 120px; margin-bottom: 16px; }
  .benefit p { font-size: 15px; }
  .benefit p b { font-size: 16px; }

  .why-title { font-size: 33px; margin: 18px 0 30px; }
  .why-grid { gap: 22px; }
  .why-card figcaption { font-size: 14.5px; margin-top: 16px; }

  .site-foot { margin-top: 44px; font-size: 12.5px; }
}

/* ---- Широкий десктоп ---- */
@media (min-width: 1200px) {
  .wrap { max-width: 1160px; }
  .hero { min-height: 540px; }
  .hero-title { font-size: 60px; }
}
