/* Стили сайта «ТопливныйКурьер» — общий файл для index.html и fuel-cards.html */
/* ============================================================
   ДИЗАЙН-ТОКЕНЫ
   Светлый контент, тёмно-синие шапка/hero/подвал, голубые кнопки,
   медный бренд. Базовые цвета по новому референсу.
   ============================================================ */
:root {
  --navy:     #00142f;   /* ОСНОВНОЙ тёмно-синий референса */
  --navy-2:   #000a1c;   /* подвал — почти чёрно-синий */
  --blue:     #2e6fd0;   /* основная кнопка (синяя) */
  --blue-d:   #1f56a6;
  --blue-l:   #eaf2fe;
  --brand:    #f0a440;   /* цвет логотипа (золото) — для слова «Курьер» */
  --brand-l:  #f6b95c;

  --light:    #ffffff;
  --light-2:  #f5f7fa;
  --ink:      #1c2b3f;   /* тёмный текст */
  --muted:    #6b7a8c;   /* вторичный */
  --faint:    #94a2b3;
  --line:     #e3e9f0;   /* рамки на светлом */
  --winline:  rgba(255,255,255,.12);

  --radius:   14px;
  --radius-lg:18px;
  --container: 1240px;
  --gap:       24px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  background: var(--light);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1,h2,h3,.brand { font-family: 'Manrope', 'Inter', system-ui, sans-serif; letter-spacing: -.01em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ── Утилиты ── */
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }

/* ============================================================
   ШАПКА
   ============================================================ */
.topbar { background: var(--navy); }
.topbar__inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; flex-shrink: 0; }
.brand__mark { width: 42px; height: 42px; display: grid; place-items: center; overflow: hidden; background: transparent; flex-shrink: 0; }
.brand__mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.45); transform-origin: center; }
.brand__name { font-weight: 800; font-size: 19px; line-height: 1; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.brand__name .brand__a { color: var(--brand); }   /* «Курьер» — цвет логотипа */
.brand__tag { font-size: 9px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 3px; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 4px; list-style: none; }
.nav-links a { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.78); transition: color .18s; white-space: nowrap; padding: 6px 7px; }
.nav-links a:hover { color: #fff; }
.topbar__right { margin-left: auto; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.topbar__phone { display: flex; align-items: center; gap: 7px; color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; }
.topbar .btn-primary { white-space: nowrap; padding: 10px 16px; font-size: 14px; }
.topbar__phone svg { width: 17px; height: 17px; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  background: var(--blue); color: #fff; font-weight: 700; font-size: 15px;
  padding: 12px 22px; border-radius: 10px; border: none;
  transition: background .18s, transform .12s;
}
.btn-primary:hover { background: var(--blue-d); transform: translateY(-1px); }
.btn-primary svg { width: 18px; height: 18px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  background: transparent; color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 11px 22px; border-radius: 10px; border: 1px solid var(--line);
  transition: background .18s, border-color .18s;
}
.btn-ghost:hover { background: var(--light-2); border-color: var(--faint); }
.btn-ghost svg { width: 18px; height: 18px; }
.btn-ghost.on-navy { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost.on-navy:hover { background: rgba(255,255,255,.08); }
/* Круглые соц-иконки (фирменные цвета) */
.soc { width: 36px; height: 36px; min-width: 36px; max-width: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex-shrink: 0; transition: filter .18s, transform .12s; }
.soc:hover { filter: brightness(1.12); transform: translateY(-1px); }
.soc svg { width: 26px; height: 26px; }
.soc--tg { background: #2AABEE; }   /* Telegram */
.soc--wa { background: #25D366; }   /* WhatsApp */

/* ============================================================
   HERO
   ============================================================ */
.hero { color: #fff; position: relative; overflow: hidden; background: linear-gradient(115deg, #00142f 0%, #0b2b57 45%, #1b4a8f 100%); }
/* Бензовоз справа + синий градиент слева (от тёмного #00142f к светлому), чтобы заголовок читался */
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(90deg, rgba(0,20,47,.97) 0%, rgba(0,20,47,.72) 45%, rgba(0,20,47,.22) 78%, rgba(10,43,87,.5) 100%),
    url('hero-truck.png') no-repeat right center / cover;
}
.hero__inner { position: relative; z-index: 1; padding: 60px 0 0; display: grid; grid-template-columns: 1fr 0.9fr; gap: 24px; align-items: center; }
.hero__content { padding: 20px 0; }
.hero__eyebrow { display:inline-flex; align-items:center; gap:8px; font-size:12px; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#bcd2f7; margin-bottom:16px; }
.hero__title { font-size: clamp(36px, 5vw, 60px); line-height: 1.03; font-weight: 800; color: #fff; }
.hero__title .hero__accent { color: var(--brand); font-size: .82em; }
/* вторая строка заголовка главной содержит «дизельного топлива» — ключевой запрос */  /* «ТОПЛИВА» — цвет логотипа (золото) */
.hero__title .hero__line { white-space: nowrap; }     /* «НАДЁЖНАЯ ДОСТАВКА» — одной строкой */
.hero__sub { margin: 22px 0 28px; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.82); max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__features { position: relative; z-index: 1; margin-top: 46px; padding: 18px 22px; border-top: 1px solid var(--winline); display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.hf { display: flex; align-items: center; gap: 12px; }
.hf svg { width: 30px; height: 30px; color: #9fc2f5; flex-shrink:0; }
.hf__t { font-weight: 700; font-size: 14px; }
.hf__d { font-size: 13.5px; color: rgba(255,255,255,.6); margin-top: 2px; }

/* ============================================================
   О КОМПАНИИ (директор)
   ============================================================ */
.about { background: var(--light); padding: 64px 0; }
.about__grid { display: grid; grid-template-columns: 0.9fr 1.1fr 0.9fr; gap: 32px; align-items: stretch; }
.about__photo { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--light-2); min-height: 420px; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.about__middle { padding-top: 8px; display: flex; flex-direction: column; }
.about__h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; font-weight: 800; margin: 14px 0 18px; }
.about__text { color: var(--muted); font-size: 16px; line-height: 1.7; max-width: 460px; }
.about__sign { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 14px; color: var(--muted); padding-top: 26px; }
.about__sign-img { display:block; height: 140px; width:auto; }
.about__sign-name { text-align: right; padding-right: 30px; }
.about__sign-name b { display:block; color: var(--ink); font-size: 16px; margin-bottom: 2px; }
.about__right { display: flex; flex-direction: column; gap: 12px; }
.stat-sq { flex: 1; display: flex; align-items: flex-start; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--light); }
.stat-sq svg { width: 46px; height: 46px; color: var(--blue); flex-shrink:0; }
.stat-sq__num { font-family:'Manrope',sans-serif; font-weight: 800; font-size: 30px; line-height: 1; }
.stat-sq__lbl { font-size: 14px; color: var(--muted); margin-top: 6px; }

/* ============================================================
   ОФИС И КОМАНДА
   ============================================================ */
.team { background: var(--light); padding: 0 0 64px; }
.section-head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom: 22px; }
.section-head h2 { font-size: 26px; font-weight: 800; }
.section-head .nav-arrows { display:flex; gap:8px; }
/* Кнопки листания фото — в цвете сайта (синие) и с белой стрелкой */
.nav-arrows button {
  width: 38px; height:38px; border-radius:50%;
  border: 1px solid var(--blue);
  background: var(--blue);
  color: #fff;
  display:grid; place-items:center;
  box-shadow: 0 8px 18px rgba(46,111,208,.26);
}
.nav-arrows button:hover { background: var(--blue-d); border-color: var(--blue-d); }
/* Кнопки под фотографиями, по центру блока */
.nav-arrows--center { display:flex; gap:10px; justify-content:center; margin-top: 22px; }
.team__viewport { overflow: hidden; }
.team__track { display: flex; gap: 18px; transition: transform .45s ease; }   /* карусель: 4 на экране, листается стрелками */
.tphoto { position: relative; flex: 0 0 calc((100% - 54px)/4); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; border: 1px solid var(--line); background: var(--light); }
.tphoto img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.tphoto__cap { display: none; }   /* подписи на фото убраны — только чистые фото */
.ph-box { display:grid; place-items:center; width:100%; height:100%; color: var(--faint); font-size: 12px; background: var(--light-2); }

/* ============================================================
   AI-МЕНЕДЖЕР (3-я строка)
   ============================================================ */
.aidm {
  position: relative;
  /* Фон виджета: глубокий #01122b + диагональные световые градиенты
     (объём без «гало»-пятен) */
  background:
    linear-gradient(118deg, rgba(27,74,143,.42) 0%, rgba(1,18,43,0) 46%),
    linear-gradient(296deg, rgba(240,164,64,.12) 0%, rgba(1,18,43,0) 36%),
    linear-gradient(180deg, #06224c 0%, #01122b 56%, #041a3c 100%);
  color: #fff;
  padding: 60px 0;
  overflow: hidden;
}
/* Верхняя «бликовая» полоса-подсветка */
.aidm::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05) 0%, rgba(255,255,255,0) 46%);
}
.aidm__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.aidm__side { text-align: center; }
.aidm__side h2 { font-size: clamp(26px,3vw,34px); font-weight: 800; line-height:1.15; margin: 12px auto 16px; color:#fff; max-width: 620px; }
.aidm__side p { color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.7; max-width: 620px; margin: 0 auto; }
.aidm .eyebrow { color:#bcd2f7; }
/* Виджет: фиксированная высота (всё помещается), чат скроллится внутри, ползунки скрыты */
#diesel-ai-manager { width: 100%; height: 660px; }
#diesel-ai-manager ::-webkit-scrollbar { display: none; }

/* ============================================================
   НАМ ДОВЕРЯЮТ
   ============================================================ */
.trust { background: var(--light); padding: 44px 0; }
.trust__row { display: flex; flex-direction: column; align-items: center; gap: 26px; }
.trust__logos { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; width: 100%; }
.tr-logo-img { height: 84px; width: auto; max-width: 240px; object-fit: contain; }

/* ============================================================
   ПРОДУКЦИЯ + АВТОПАРК
   ============================================================ */
.prod { background: linear-gradient(160deg, #0a2a56 0%, #123a70 100%); color: #fff; padding: 64px 0; }
.prod__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: stretch; }
.prod__grid > div { display: flex; flex-direction: column; }
.product-grid { flex: 1; grid-auto-rows: 1fr; }
.pcard { min-height: 0; }
.fleet__big { flex: 1; min-height: 0; }
.prod__h { font-size: 26px; font-weight: 800; color:#fff; }
.prod__subs { font-size: 13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color: rgba(255,255,255,.72); margin: 6px 0 22px; }
.prod .btn-ghost { color:#fff; border-color: rgba(255,255,255,.4); }
.prod .btn-ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); }
.product-grid { display:grid; grid-template-columns:1fr 1fr; gap: 14px; }
.pcard { position:relative; border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); background:#000; min-height: 210px; display:flex; align-items:flex-end; color:#fff; }
.pcard img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.pcard__in { position:relative; z-index:1; padding: 16px; width:100%; background: linear-gradient(0deg, rgba(10,14,24,.85), transparent 70%); }
.pcard__t { font-weight:800; font-size:15px; line-height:1.3; }
.pcard__d { font-size:14px; line-height:1.5; color: rgba(255,255,255,.75); margin-top:4px; }
.pcard__c { font-size: 13.5px; font-weight:700; color:#bcd2f7; margin-top:10px; display:inline-flex; align-items:center; gap:6px; transition: color .18s ease, gap .18s ease; }
a.pcard__c { position: relative; z-index: 2; text-decoration: none; }
a.pcard__c:hover { color:#fff; gap: 9px; }
a.pcard__c:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
.prod__more { margin-top:18px; }
.fleet__big { position:relative; border-radius: var(--radius); overflow:hidden; height: 230px; border:1px solid var(--line); color:#fff; display:flex; align-items:flex-end; }
.fleet__big img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.fleet__big .cap { position:relative; z-index:1; padding:14px 16px; font-size:13px; background:linear-gradient(0deg, rgba(10,14,24,.8), transparent); }
.fleet_head { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:16px; }
.fleet__viewport { overflow: hidden; margin-top: 14px; }
.fleet__track { display: flex; gap: 12px; transition: transform .45s ease; }
.fleet__track .fcell { flex: 0 0 calc((100% - 36px)/4); }
.fcell { position:relative; border-radius: 9px; overflow:hidden; aspect-ratio: 4/3; border:1px solid var(--line); background:#000; flex-shrink:0; }
.fcell img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.nav-arrows.sm button { width: 30px; height: 30px; }

/* ============================================================
   АВИТО (доверие)
   ============================================================ */
.avito { background: var(--light); padding: 64px 0; }
.avito__card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: linear-gradient(135deg, #0a2a56 0%, #123a70 100%); border-radius: 18px; color: #fff; padding: 44px; }
.avito__left { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.avito__left h2 { font-size: clamp(26px,3vw,36px); font-weight: 800; color: #fff; margin: 0 0 14px; }
.avito__left p { color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.7; max-width: 420px; }
.avito__left .btn-primary { margin-top: 24px; }
.avito__right { display: flex; flex-direction: column; align-items: center; text-align: center; }
.avito__logo { width: 220px; background: #fff; padding: 12px 18px; border-radius: 12px; margin-bottom: 28px; }
.avito__logo img { display: block; width: 100%; height: auto; }
.avito__stars { font-size: 30px; letter-spacing: 5px; color: #f0a440; }
.avito__score { font-family:'Manrope',sans-serif; font-weight: 800; font-size: 52px; line-height: 1; margin-top: 10px; }
.avito__score span { font-size: 16px; font-weight: 600; color: rgba(255,255,255,.7); }
.avito__reviews { font-size: 15px; color: rgba(255,255,255,.8); margin-top: 8px; }
@media (max-width: 820px){ .avito__card { grid-template-columns: 1fr; text-align: center; } .avito__left p { margin: 0 auto; } }

/* ============================================================
   ПОДВАЛ
   ============================================================ */
.footer { background: linear-gradient(180deg, #00142f 0%, #000a1c 100%); color: rgba(255,255,255,.82); padding: 52px 0 26px; }
.footer__grid { display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 30px; }
.footer__brand .brand__mark{ margin-bottom: 12px; }
.footer__brand p { font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,.6); max-width: 260px; }
.footer__social { display: flex; gap: 12px; margin-top: 18px; }
.footer__col h4, .footer__col-title { font-size: 13px; font-weight: 700; letter-spacing:.06em; text-transform:uppercase; color:#fff; margin-bottom: 14px; }
.footer__col ul { list-style:none; display:flex; flex-direction:column; gap:10px; }
.footer__col a { font-size: 14px; color: rgba(255,255,255,.75); }
.footer__col a:hover { color:#fff; }
.footer__contact .line { display:flex; align-items:center; gap:10px; margin-bottom: 12px; font-size:14px; }
.footer__contact svg { width:18px; height:18px; color:#9fc2f5; flex-shrink:0; }
.footer__bottom { margin-top: 40px; padding-top: 24px; border-top:1px solid var(--winline); display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; font-size:12.5px; color: rgba(255,255,255,.5); }
.footer__bottom a { color: rgba(255,255,255,.78); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.28); transition: color .18s ease, text-decoration-color .18s ease; }
.footer__bottom a:hover { color: #fff; text-decoration-color: var(--brand); }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width: 1024px){
  .about__grid { grid-template-columns:1fr 1fr; }
  .about__photo { grid-column:1/-1; min-height: 320px; }
  .prod__grid, .aidm__grid { grid-template-columns: 1fr; }
  .team__grid { grid-template-columns: repeat(2,1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px){
  .nav-links, .topbar__phone span { display:none; }
  .hero__inner { grid-template-columns:1fr; }
  .hero__features { grid-template-columns: repeat(2,1fr); }
  .about__grid { grid-template-columns:1fr; }
  .product-grid, .fleet__strip { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px){
  .container { padding: 0 18px; }
  .team__grid, .footer__grid { grid-template-columns:1fr; }
  .hero__features { grid-template-columns:1fr; }
}

/* ============================================================
   ВИЗУАЛЬНОЕ УСИЛЕНИЕ (2026-09-08)
   Градиенты, глубина, свечения, прозрачность — только в рамках
   существующей палитры (navy/blue/gold), типографики и радиусов.
   ============================================================ */

/* ── Кнопки: градиент + многослойная тень + блик при наведении ── */
.btn-primary {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, #4a8bea 0%, var(--blue) 52%, var(--blue-d) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.28),
    0 6px 16px rgba(0,0,0,.22),
    0 14px 34px rgba(0,0,0,.18);
  transition: transform .18s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease;
}
.btn-primary::after {
  content:''; position:absolute; inset:0; border-radius:inherit; pointer-events:none;
  background: linear-gradient(115deg, transparent 32%, rgba(255,255,255,.30) 48%, transparent 64%);
  transform: translateX(-120%);
  transition: transform .6s cubic-bezier(.22,.61,.36,1);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #5a9bf5 0%, #3379dd 52%, var(--blue-d) 100%);
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.36),
    0 10px 24px rgba(0,0,0,.30),
    0 22px 48px rgba(0,0,0,.26);
}
/* На тёмных секциях — только нейтральная высота (без цветного свечения) */
.hero .btn-primary, .prod .btn-primary, .aidm .btn-primary, .avito__card .btn-primary {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.30), 0 10px 24px rgba(0,0,0,.42);
}
.hero .btn-primary:hover, .prod .btn-primary:hover, .aidm .btn-primary:hover, .avito__card .btn-primary:hover {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.38), 0 16px 34px rgba(0,0,0,.5);
}
.btn-primary:hover::after { transform: translateX(120%); }
.btn-primary:active { transform: translateY(0) scale(.985); }

/* ── Призрачные кнопки: стекло и мягкая тень ── */
.btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(245,247,250,.92));
  box-shadow: inset 0 1px 0 #fff, 0 3px 10px rgba(0,0,0,.06);
  transition: background .2s ease, border-color .2s ease, box-shadow .22s ease,
              transform .18s cubic-bezier(.22,.61,.36,1);
}
.btn-ghost:hover {
  background: linear-gradient(180deg, #ffffff, #edf4fd);
  border-color: rgba(46,111,208,.45);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 #fff, 0 12px 26px rgba(0,0,0,.16), 0 3px 10px rgba(0,0,0,.08);
}
.btn-ghost.on-navy {
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border-color: rgba(255,255,255,.30);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 12px 30px rgba(0,0,0,.35);
}
.btn-ghost.on-navy:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.19), rgba(255,255,255,.06));
  border-color: rgba(255,255,255,.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.24), 0 16px 38px rgba(0,0,0,.42);
}
.prod .btn-ghost {
  background: linear-gradient(180deg, rgba(255,255,255,.13), rgba(255,255,255,.04));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 12px 30px rgba(0,0,0,.28);
}
.prod .btn-ghost:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.21), rgba(255,255,255,.07));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26), 0 16px 38px rgba(0,0,0,.36);
}

/* ── Соц-иконки: градиент, объём, подъём при наведении ── */
.soc {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 6px 16px rgba(0,0,0,.22);
  transition: transform .18s cubic-bezier(.22,.61,.36,1), box-shadow .22s ease, filter .18s ease;
}
.soc:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.06);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 12px 26px rgba(0,0,0,.34);
}
.soc--tg { background: linear-gradient(140deg, #5cc4f2 0%, #2AABEE 55%, #1b8ec9 100%); }
.soc--wa { background: linear-gradient(140deg, #4ade80 0%, #25D366 55%, #14a94e 100%); }
.soc--max { background: linear-gradient(140deg, #8f6bff 0%, #5b6bff 45%, var(--blue) 100%); }
.soc--max img { width: 20px; height: 20px; display: block; }

/* Мессенджеры скрываем только на телефонах — на планшетах и ноутбуках они в шапке.
   На телефоне они остаются в мобильном меню и в подвале. */
/* На телефонах мессенджеры и кнопка уходят из шапки — они есть в бургер-меню и подвале */
@media (max-width: 620px) {
  .topbar__right .soc, .topbar .btn-primary { display: none; }
}

/* ── Шапка: градиент + световая линия снизу, подсветка ссылок ── */
.topbar { position: relative; background: linear-gradient(180deg, #00142f 0%, #051f43 100%); }
.topbar::after {
  content:''; position:absolute; left:0; right:0; bottom:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(46,111,208,.55), rgba(240,164,64,.5), transparent);
}
.nav-links a { position: relative; }
.nav-links a::after {
  content:''; position:absolute; left:7px; right:7px; bottom:2px; height:2px; border-radius:2px;
  background: linear-gradient(90deg, var(--blue), var(--brand));
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }

/* ── Hero: диагональные световые градиенты поверх фона ── */
.hero::after {
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    linear-gradient(118deg, rgba(46,111,208,.30) 0%, rgba(46,111,208,0) 44%),
    linear-gradient(300deg, rgba(240,164,64,.16) 0%, rgba(240,164,64,0) 34%),
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 40%);
}
.hero__features {
  border-top-color: rgba(255,255,255,.16);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.012));
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.hf svg { filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); }

/* ── Светлые секции: световые линии-разделители и глубина карточек ── */
.about, .trust, .avito { position: relative; }
.about::before, .trust::before, .avito::before {
  content:''; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width: min(var(--container), 100%); height:1px;
  background: linear-gradient(90deg, transparent, rgba(46,111,208,.35), rgba(240,164,64,.35), transparent);
}
.about__photo, .tphoto, .stat-sq, .nav-arrows button { box-shadow: 0 10px 28px rgba(0,0,0,.08); }
.about__photo { border-color: rgba(0,20,47,.06); }
.stat-sq {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9fe 100%);
  transition: transform .22s ease, box-shadow .28s ease, border-color .22s ease;
}
.stat-sq:hover {
  transform: translateY(-2px);
  border-color: rgba(46,111,208,.28);
  box-shadow: 0 16px 34px rgba(0,0,0,.14), 0 4px 12px rgba(0,0,0,.06);
}
.stat-sq svg { filter: drop-shadow(0 6px 14px rgba(46,111,208,.28)); }
.nav-arrows button { transition: transform .18s ease, box-shadow .22s ease, border-color .2s ease, background .2s ease; }
.nav-arrows button:hover {
  background: var(--blue-d);
  border-color: var(--blue-d);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(46,111,208,.34);
}

/* ── Фото и карточки: градиентная виньетка + подъём при наведении ── */
.about__photo::after, .tphoto::after, .pcard::after, .fleet__big::after, .fcell::after {
  content:''; position:absolute; inset:0; pointer-events:none; opacity:0;
  background: linear-gradient(180deg, rgba(0,20,47,0) 42%, rgba(0,20,47,.55) 100%);
  transition: opacity .28s ease;
}
.about__photo:hover::after, .tphoto:hover::after, .pcard:hover::after,
.fleet__big:hover::after, .fcell:hover::after { opacity: 1; }
.about__photo img, .tphoto img, .pcard img, .fleet__big img {
  transition: transform .55s cubic-bezier(.22,.61,.36,1);
}
.about__photo:hover img, .tphoto:hover img, .pcard:hover img, .fleet__big:hover img { transform: scale(1.045); }
.pcard, .fleet__big, .fcell { transition: transform .22s ease, box-shadow .28s ease; }
.pcard:hover, .fcell:hover, .fleet__big:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 44px rgba(0,10,28,.45), 0 0 0 1px rgba(255,255,255,.10);
}

/* ── Логотипы партнёров: всегда цветные, лёгкий подъём при наведении ── */
.trust { background: linear-gradient(180deg, #ffffff 0%, #f6faff 55%, #ffffff 100%); }
.tr-logo-img { filter: none; opacity: 1; transition: transform .32s ease; }
.tr-logo-img:hover { transform: translateY(-2px); }

/* ── Тёмные секции: свечения и блики ── */
.prod {
  position: relative; overflow: hidden;
  background:
    linear-gradient(118deg, rgba(46,111,208,.26) 0%, rgba(10,42,86,0) 46%),
    linear-gradient(296deg, rgba(240,164,64,.12) 0%, rgba(18,58,112,0) 34%),
    linear-gradient(160deg, #0a2a56 0%, #123a70 100%);
}
.prod::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.22), transparent);
}
.avito__card {
  position: relative; overflow: hidden;
  background:
    linear-gradient(112deg, rgba(240,164,64,.14) 0%, rgba(10,42,86,0) 38%),
    linear-gradient(292deg, rgba(46,111,208,.26) 0%, rgba(18,58,112,0) 46%),
    linear-gradient(135deg, #0a2a56 0%, #123a70 100%);
  box-shadow: 0 30px 70px rgba(0,0,0,.24), inset 0 1px 0 rgba(255,255,255,.10);
}
.avito__logo { box-shadow: 0 12px 28px rgba(0,0,0,.28), inset 0 1px 0 #fff; }
.avito__stars { text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.footer {
  position: relative; overflow: hidden;
  background:
    linear-gradient(112deg, rgba(46,111,208,.20) 0%, rgba(0,20,47,0) 44%),
    linear-gradient(180deg, #00142f 0%, #000a1c 100%);
}
.footer::before {
  content:''; position:absolute; top:0; left:0; right:0; height:1px;
  background: linear-gradient(90deg, transparent, rgba(46,111,208,.6), rgba(240,164,64,.55), transparent);
}
.footer__contact svg { filter: drop-shadow(0 4px 10px rgba(0,0,0,.45)); }
.footer__col a { transition: color .18s ease, text-shadow .22s ease; }
.footer__col a:hover { text-shadow: 0 0 12px rgba(255,255,255,.28); }

/* ── Мягкое появление секций при прокрутке ── */
.js-reveal { opacity: 0; transform: translateY(16px); }.js-reveal.is-visible {
  opacity: 1; transform: none;
  transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1);
}
@media (prefers-reduced-motion: reduce) {
  .js-reveal, .js-reveal.is-visible { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-primary, .soc, .pcard, .fcell { transition: none !important; }
}

/* ============================================================
   Выпадающее меню разделов (много страниц)
   ============================================================ */
.nav-group { position: relative; }
.nav-group__btn {
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.78);
  padding: 6px 7px; display: inline-flex; align-items: center; gap: 6px;
  transition: color .18s ease; white-space: nowrap;
}
.nav-group__btn:hover, .nav-group.is-open .nav-group__btn { color: #fff; }
.nav-group__caret {
  width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px); transition: transform .2s ease;
}
.nav-group.is-open .nav-group__caret { transform: rotate(-135deg) translate(-1px, -1px); }
.nav-group__menu {
  position: absolute; top: calc(100% + 12px); left: 0; z-index: 300;
  min-width: 260px; max-height: min(70vh, 520px); overflow-y: auto;
  margin: 0; padding: 10px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 26px 64px rgba(0,20,47,.28);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-group.is-open .nav-group__menu { opacity: 1; visibility: visible; transform: none; }
.nav-group__menu a {
  display: block; padding: 9px 12px; border-radius: 8px;
  font-size: 13.5px; font-weight: 500; color: var(--ink); white-space: normal;
}
.nav-group__menu a:hover { background: var(--blue-l); color: var(--blue-d); }

/* Ссылка «Разделы» — карта сайта (больше не используется: её роль выполняет бургер) */
.nav-sitemap {
  display: none; align-items: center; font-size: 13.5px; font-weight: 600;
  color: rgba(255,255,255,.82); border-bottom: 1px solid rgba(255,255,255,.28);
  padding: 4px 2px; white-space: nowrap;
}
.nav-sitemap:hover { color: #fff; border-bottom-color: var(--brand); }

/* ── Бургер-кнопка (там, где верхнее меню скрыто) ── */
.burger {
  display: none; align-items: center; gap: 9px;
  background: none; border: 0; cursor: pointer; font: inherit;
  font-size: 13.5px; font-weight: 600; color: rgba(255,255,255,.86);
  padding: 8px 4px; transition: color .18s ease;
}
.burger:hover { color: #fff; }
.burger__box { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 20px; height: 16px; }
.burger__box i { display: block; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .22s cubic-bezier(.22,.61,.36,1), opacity .18s ease; }
.burger.is-open .burger__box i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open .burger__box i:nth-child(2) { opacity: 0; }
.burger.is-open .burger__box i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ── Мобильная панель меню (на десктопе не показывается никогда) ── */
.nav-mobile { display: none; }
.nav-mobile__inner { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 20px; }
.nav-mobile__link,
.nav-mobile__group > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 2px; font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(255,255,255,.09); cursor: pointer; list-style: none;
}
.nav-mobile__group > summary::-webkit-details-marker { display: none; }
.nav-mobile__group > summary::marker { content: ''; }
.nav-mobile__link:hover, .nav-mobile__group > summary:hover { color: #fff; }
.nav-mobile__caret {
  flex: 0 0 auto; width: 7px; height: 7px; border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .2s ease;
}
.nav-mobile__group[open] > summary { color: #fff; }
.nav-mobile__group[open] .nav-mobile__caret { transform: rotate(-135deg); }
.nav-mobile__group ul { list-style: none; margin: 0; padding: 6px 0 12px; display: flex; flex-direction: column; gap: 2px; }
.nav-mobile__group ul a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: rgba(255,255,255,.76); }
.nav-mobile__group ul a:hover { background: rgba(255,255,255,.08); color: #fff; }
.nav-mobile__link--all { color: var(--brand); border-bottom: 0; }
.nav-mobile__link--all:hover { color: #ffc477; }

/* Промежуточная ширина: поджимаем меню и кнопку, чтобы шапка влезала
   на ноутбуках 1280–1440 без перехода на бургер */
@media (max-width: 1440px) {
  .topbar__inner { gap: 12px; }
  .nav-links a, .nav-group__btn { font-size: 12.8px; padding: 6px 6px; }
  .nav-group__menu a { font-size: 13px; }
  .topbar .btn-primary { padding: 9px 13px; font-size: 13.5px; }
}
@media (max-width: 1340px) {
  .brand__tag { display: none; }
  .nav-links a, .nav-group__btn { font-size: 12.4px; padding: 6px 5px; }
  .nav-links { gap: 0; }
}

@media (max-width: 1200px) {
  .nav-links { display: none; }
  .nav-sitemap { display: none; }
  /* бургер всегда крайний справа (порядок: логотип → телефон/соцсети → бургер) */
  .topbar__right { order: 1; }
  .burger { display: inline-flex; order: 2; }
  .nav-mobile:not([hidden]) {
    display: block; position: relative; z-index: 320;
    border-top: 1px solid rgba(255,255,255,.12);
    background: linear-gradient(180deg, #051f43 0%, #00142f 100%);
    box-shadow: 0 26px 60px rgba(0,0,0,.34);
    max-height: calc(100vh - 64px); overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  .nav-mobile__cta { display: inline-flex; justify-content: center; margin-top: 18px; }
  .nav-mobile__social { display: flex; gap: 12px; margin-top: 20px; }
}

@media (max-width: 640px) {
  .burger__text { display: none; }
}

/* ============================================================
   РАЗДЕЛИТЕЛЬ МЕЖДУ БЛОКАМИ — та же сигнальная полоса, что сверху
   баннера (заказчик, 2026-09-14). Отдельный элемент <div class="stripe">,
   поэтому ничего не перекрывает и не требует позиционирования.
   ============================================================ */
.stripe {
  height: 5px;
  background: repeating-linear-gradient(115deg, #f59e0b 0 14px, #0a0e1a 14px 28px);
  opacity: .9;
}

/* ============================================================
   ВЕРХНИЙ БАННЕР — ВАЖНОЕ ОБЪЯВЛЕНИЕ (перенесён с прежнего сайта,
   заказчик, 2026-09-14): бензина наливом нет в наличии, заправки авто
   не осуществляем; взамен предлагаем топливные карты.
   ============================================================ */
.alert-bar {
  --warn: #f59e0b;
  --tg: #229ED9;   --tg-d: #1878a8;
  --wa: #25D366;   --wa-d: #128C7E;
  --mx-a: #00A6EE; --mx-b: #4B23E0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(245, 158, 11, .22);
  background:
    radial-gradient(900px 420px at 6% -20%, rgba(245, 158, 11, .14), transparent 65%),
    radial-gradient(760px 380px at 96% 130%, rgba(239, 68, 68, .11), transparent 70%),
    linear-gradient(180deg, #131828, #0b1120 62%);
  color: #cbd5e1;
}
/* Сигнальная полоса сверху — как на прежнем сайте */
.alert-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: repeating-linear-gradient(115deg, #f59e0b 0 14px, #0a0e1a 14px 28px);
  opacity: .9;
}
.alert-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 24px 42px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  grid-template-areas: "head actions" "body actions";
  column-gap: 56px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.alert-head { grid-area: head; min-width: 0; }
.alert-body { grid-area: body; min-width: 0; }
.alert-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(245, 158, 11, .10);
  border: 1px solid rgba(245, 158, 11, .30);
  color: #fbbf24;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.alert-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--warn);
  flex-shrink: 0;
  animation: alertBlink 2s ease-in-out infinite;
}
@keyframes alertBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(245, 158, 11, .6); }
  50% { opacity: .3; box-shadow: none; }
}
.alert-title {
  font-family: Manrope, Inter, sans-serif;
  font-size: clamp(23px, 3.3vw, 38px);
  font-weight: 700;
  color: #fff;
  line-height: 1.16;
  letter-spacing: -.2px;
  margin-bottom: 20px;
  max-width: 780px;
  text-transform: uppercase;
}
.alert-title em { font-style: normal; color: #fbbf24; }
.alert-text {
  font-size: 16px;
  line-height: 1.68;
  color: #94a3b8;
  max-width: 700px;
  margin-bottom: 16px;
}
.alert-text:last-child { margin-bottom: 0; }
.alert-text strong { color: #e2e8f0; font-weight: 600; }
.alert-actions {
  grid-area: actions;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.alert-actions-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 2px;
}
.msngr-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  white-space: nowrap;
  transition: transform .3s, box-shadow .3s, filter .3s;
}
.msngr-lg svg { width: 20px; height: 20px; flex-shrink: 0; }
.msngr-lg:hover { transform: translateY(-2px); color: #fff; }
.msngr-lg.tg { background: linear-gradient(135deg, var(--tg), var(--tg-d)); box-shadow: 0 10px 26px rgba(34, 158, 217, .22); }
.msngr-lg.tg:hover { box-shadow: 0 14px 34px rgba(34, 158, 217, .36); }
.msngr-lg.wa { background: linear-gradient(135deg, var(--wa), var(--wa-d)); box-shadow: 0 10px 26px rgba(37, 211, 102, .20); }
.msngr-lg.wa:hover { box-shadow: 0 14px 34px rgba(37, 211, 102, .34); }
.msngr-lg.mx { background: linear-gradient(135deg, var(--mx-a), var(--mx-b)); box-shadow: 0 10px 26px rgba(75, 35, 224, .26); }
.msngr-lg.mx:hover { box-shadow: 0 14px 34px rgba(75, 35, 224, .38); }

@media (max-width: 1100px) {
  .alert-inner { grid-template-columns: minmax(0, 1fr) 255px; column-gap: 34px; }
}
@media (max-width: 900px) {
  .alert-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "head" "actions" "body";
    row-gap: 24px;
    column-gap: 0;
    padding: 36px 24px 34px;
  }
  .alert-actions { align-self: stretch; }
  .alert-actions-label { text-align: center; }
  .alert-actions .msngr-lg { width: 100%; }
}
@media (max-width: 600px) {
  .alert-inner { padding: 28px 20px 30px; gap: 22px; }
  .alert-badge { margin-bottom: 16px; }
  .alert-title { font-size: clamp(21px, 6.2vw, 26px); margin-bottom: 16px; }
  .alert-text { font-size: 15px; }
}

/* ============================================================
   «Сначала — ИИ-менеджер» (заказчик, 2026-09-13)
   Просьба к клиенту: перед звонком написать ИИ-менеджеру, он отвечает
   круглосуточно и сразу; звонить — если он не смог помочь.
   ============================================================ */
.ai-first {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
  background: linear-gradient(180deg, #f4f8ff 0%, #eaf2ff 100%);
  border: 1px solid #cfe0f8;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 18px;
  box-shadow: 0 10px 26px rgba(0, 20, 47, .06);
}
.ai-first__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #00142f;
}
.ai-first__icon svg { width: 19px; height: 19px; }
.ai-first__title {
  font-family: Manrope, Inter, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy, #00142f);
  margin: 0 0 6px;
}
.ai-first__title a { color: inherit; text-decoration: underline; text-decoration-color: var(--brand); text-underline-offset: 3px; }
/* Внутри .doc-cta (страницы в папках) и .fc-cta (топливные карты) правила этих блоков
   идут позже в отдельном <style> — поэтому для заметки повышаем точность селектора. */
.ai-first p, .doc-cta .ai-first p, .fc-cta .ai-first p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: #24395c;
  max-width: none;
}
.ai-first p a { color: var(--blue); font-weight: 600; white-space: nowrap; }
.doc-cta .ai-first__title, .fc-cta .ai-first__title { color: var(--navy, #00142f); }
.doc-cta .ai-first, .fc-cta .ai-first { margin: 0 0 22px; }

/* Вариант для тёмной секции AI-менеджера на главной */
.ai-first--dark {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: none;
  max-width: 620px;
  margin: 22px auto 0;
}
.ai-first--dark .ai-first__title { color: #fff; }
.ai-first--dark p { color: rgba(255, 255, 255, .82); }
.ai-first--dark p a { color: var(--brand); }

@media (max-width: 640px) {
  .ai-first { padding: 14px 15px; gap: 12px; }
  .ai-first__title { font-size: 16px; }
  .ai-first p, .doc-cta .ai-first p, .fc-cta .ai-first p { font-size: 15px; }
}

/* ============================================================
   ТЕЛЕФОНЫ (2026-10-06): блок «Надёжная доставка» не должен вылезать
   за край экрана — на узких экранах заголовок переносится и ужимается,
   кнопки встают одна под другой; карточки продукции — в один столбец.
   ============================================================ */
@media (max-width: 640px) {
  .hero__inner > * { min-width: 0; }
  .hero__inner { padding-top: 40px; }
  .hero__title { font-size: clamp(28px, 8.6vw, 36px); }
  .hero__title .hero__line { white-space: normal; }
  .hero__sub { font-size: 16px; margin: 16px 0 22px; }
  .hero__cta > a { flex: 1 1 100%; justify-content: center; text-align: center; }
  .hero__features { margin-top: 28px; padding: 16px 0; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .pcard { min-height: 180px; }
}

/* ============================================================
   ИИ-МЕНЕДЖЕР v38 (2026-10-07): одно окно чата вместо трёх колонок.
   На широких экранах — текст слева, чат справа; на узких — друг под другом.
   ============================================================ */
#diesel-ai-manager { height: 640px; max-width: 480px; margin: 0 auto; }
@media (min-width: 1025px) {
  .aidm__inner { display: grid; grid-template-columns: minmax(0, 1fr) 480px; align-items: center; gap: 56px; }
  .aidm__side { text-align: left; }
  .aidm__side h2, .aidm__side p { margin-left: 0; margin-right: 0; }
  #diesel-ai-manager { margin: 0; }
}
@media (max-width: 640px) {
  #diesel-ai-manager { height: min(600px, calc(100svh - 90px)); min-height: 480px; }
}

/* ============================================================
   ГЛАВНАЯ: ИИ-МЕНЕДЖЕР НА ПЕРВОМ ЭКРАНЕ (2026-10-07)
   Тонкая строка условий вместо большого баннера капслоком; первый экран —
   текст слева и окно чата справа (на телефоне чат сразу под заголовком).
   ============================================================ */
.cond-bar { background: #0a2147; color: #cfdcf2; font-size: 13.5px; line-height: 1.45; }
.cond-bar__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding-top: 10px; padding-bottom: 10px; }
.cond-bar__lbl { color: #f0a440; font-weight: 700; }
.cond-bar a { color: #f0a440; font-weight: 600; text-decoration: none; }
.cond-bar a:hover { text-decoration: underline; }

.hero--chat .hero__bg {
  background:
    linear-gradient(90deg, rgba(0,20,47,.97) 0%, rgba(0,20,47,.9) 45%, rgba(0,20,47,.45) 100%),
    url('hero-truck.png') no-repeat right center / cover;
}
.hero2 { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) 480px; gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 8px; }
.hero2__eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fc2f5; margin-bottom: 14px; }
.hero2__title { font-family: 'Manrope', sans-serif; font-size: clamp(30px, 4vw, 52px); line-height: 1.07; font-weight: 800; color: #fff; margin: 0; }
.hero2__title span { color: var(--brand, #f0a440); }
.hero2__sub { margin: 18px 0 0; font-size: 17px; line-height: 1.6; color: rgba(255,255,255,.84); max-width: 560px; }
.hero2__list { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15.5px; color: #e6edf8; }
.hero2__list li { display: flex; gap: 10px; align-items: center; }
.hero2__list li::before { content: ''; width: 20px; height: 20px; flex-shrink: 0; background: no-repeat center / 20px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f0a440' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
.hero2__avito { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 24px; padding: 10px 16px; min-height: 44px; border-radius: 12px; background: #fff; color: #0d1b2e; text-decoration: none; font-size: 14.5px; font-weight: 600; }
.hero2__avito img { height: 18px; width: auto; }
.hero2__avito b { color: #c77a12; }
.hero2__avito-go { color: #2e6fd0; font-weight: 700; }
.hero2__chat { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; }
.hero2__badge { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: #f0a440; color: #00142f; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 14px; }
.hero2__badge span { width: 9px; height: 9px; border-radius: 50%; background: #0f7a3d; }
.hero2__chat #diesel-ai-manager { width: 100%; margin: 0; }
@media (max-width: 1024px) {
  .hero2 { grid-template-columns: 1fr; gap: 28px; padding-top: 32px; }
  .hero2__chat { max-width: 480px; width: 100%; margin: 0 auto; }
}
@media (max-width: 640px) {
  .hero2 { padding-top: 22px; gap: 20px; }
  .hero2__sub { font-size: 15.5px; margin-top: 12px; }
  .hero2__list { display: none; }          /* на телефоне — сразу к чату */
  .hero2__avito { margin-top: 14px; font-size: 13.5px; }
  .cond-bar { font-size: 12.5px; }
  .cond-bar__inner { gap: 4px 14px; }
}
@media (max-width: 640px) {
  .hero2__eyebrow { display: none; }
  .hero2 { padding-top: 18px; }
  .cond-bar__inner { padding-top: 8px; padding-bottom: 8px; }
}
/* Пока скрипт виджета грузится — рамка окна чата, чтобы место не было пустым */
#diesel-ai-manager:empty {
  box-sizing: border-box; display: flex; align-items: center; justify-content: center;
  background: #fff; border: 3px solid #f0a440; border-radius: 22px;
  box-shadow: 0 0 0 7px rgba(240,164,64,.22), 0 28px 70px rgba(0,8,24,.55);
  color: #5d6d84; font: 600 15px/1.4 Inter, system-ui, sans-serif;
}
#diesel-ai-manager:empty::before { content: 'ИИ-менеджер подключается…'; }

/* ============================================================
   ГЛАВНАЯ: БЛОКИ ИЗ МАКЕТА (2026-10-07) — почему нет прайса, три шага,
   кому возим, отзывы с проверкой на Авито, финальный призыв.
   ============================================================ */
.sec-h2 { font-family: 'Manrope', sans-serif; font-size: clamp(26px, 3vw, 38px); line-height: 1.15; font-weight: 800; color: var(--ink); margin: 10px 0 0; }

.why { background: var(--light-2); padding: 72px 0; }
.why__head { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.why__head > div { flex: 1 1 440px; min-width: 0; }
.why__lead { flex: 1 1 380px; min-width: 0; margin: 0; font-size: 16px; line-height: 1.65; color: var(--muted); }
.why__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 34px; }
.why__card { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.why__card svg { width: 34px; height: 34px; color: var(--blue); }
.why__card h3 { font-family: 'Manrope', sans-serif; font-size: 18px; font-weight: 800; margin: 14px 0 0; color: var(--ink); }
.why__card p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

.steps { background: #fff; padding: 72px 0; }
.steps__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 30px; }
.steps__card { border-radius: 16px; padding: 26px; color: #fff; background: #00142f; }
.steps__card:nth-child(2) { background: #0b2b57; }
.steps__card:nth-child(3) { background: #1b4a8f; }
.steps__n { font-family: 'Manrope', sans-serif; font-size: 40px; font-weight: 800; line-height: 1; color: var(--brand); }
.steps__card h3 { font-family: 'Manrope', sans-serif; font-size: 19px; font-weight: 800; margin: 12px 0 0; color: #fff; }
.steps__card p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.55; color: #c9d7ee; }
.steps__card a { display: inline-block; margin-top: 12px; color: var(--brand); font-weight: 700; text-decoration: none; }

.segs { background: #fff; padding: 56px 0; }
.segs .sec-h2 { font-size: clamp(22px, 2.4vw, 30px); }
.segs__list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.segs__list a { padding: 11px 16px; border-radius: 999px; background: var(--blue-l); color: var(--ink); text-decoration: none; font-size: 14.5px; font-weight: 600; transition: background .18s ease; }
.segs__list a:hover { background: #d7e6fd; }

.revs { background: #fff; padding: 72px 0; }
.revs__check { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 22px 32px; padding: 28px; border-radius: 20px; background: #00142f; color: #fff; }
.revs__score { flex: 0 0 auto; display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; border-radius: 14px; background: #fff; color: var(--ink); }
.revs__score img { height: 26px; width: auto; align-self: flex-start; }
.revs__score div { display: flex; align-items: baseline; gap: 10px; }
.revs__score b { font-family: 'Manrope', sans-serif; font-size: 36px; font-weight: 800; }
.revs__score span { font-size: 13.5px; line-height: 1.35; }
.revs__score i { display: block; font-style: normal; color: #c77a12; letter-spacing: 2px; }
.revs__txt { flex: 1 1 320px; min-width: 0; }
.revs__txt h3 { font-family: 'Manrope', sans-serif; font-size: 22px; font-weight: 800; line-height: 1.25; margin: 0; color: #fff; }
.revs__txt p { margin: 10px 0 0; font-size: 15.5px; line-height: 1.6; color: #c3d2ea; }
.revs__btn { flex: 0 1 auto; min-height: 54px; display: inline-flex; align-items: center; gap: 10px; padding: 0 24px; border-radius: 14px; background: var(--brand); color: #00142f; text-decoration: none; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 16.5px; }
.revs__btn:hover { background: var(--brand-l); }
.revs__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin-top: 28px; }
.revs__card { margin: 0; border: 1px solid var(--line); border-radius: 16px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.revs__stars { color: #c77a12; letter-spacing: 2px; }
.revs__card blockquote { margin: 0; font-size: 15.5px; line-height: 1.6; color: #34465f; }
.revs__card figcaption { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--ink); }
.revs__card figcaption span { font-weight: 500; color: var(--muted); }
.revs__all { display: inline-flex; align-items: center; min-height: 48px; margin-top: 22px; padding: 0 20px; border-radius: 12px; border: 2px solid var(--blue); color: var(--blue); font-weight: 700; font-size: 15px; text-decoration: none; }
.revs__all:hover { background: var(--blue-l); }

.fcta { position: relative; overflow: hidden; background: linear-gradient(115deg, #00142f 0%, #0b2b57 55%, #1b4a8f 100%); color: #fff; padding: 64px 0; }
.fcta__inner { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; justify-content: space-between; }
.fcta__txt { flex: 1 1 420px; min-width: 0; }
.fcta .sec-h2 { color: #fff; margin: 0; }
.fcta__txt p { margin: 14px 0 0; font-size: 17px; line-height: 1.6; color: #d5e2f6; }
.fcta__act { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.fcta__tel { font-family: 'Manrope', sans-serif; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; color: var(--brand); text-decoration: none; }
.fcta__btns { display: flex; flex-wrap: wrap; gap: 10px; }
.fcta__ghost { min-height: 48px; display: inline-flex; align-items: center; padding: 0 18px; border-radius: 12px; border: 1px solid rgba(255,255,255,.45); color: #fff; text-decoration: none; font-weight: 700; }

@media (max-width: 640px) {
  .why, .steps, .revs { padding: 48px 0; }
  .segs { padding: 40px 0; }
  .fcta { padding: 44px 0; }
  .revs__check { padding: 20px; }
  .revs__btn { width: 100%; justify-content: center; }
  .fcta__btns > a { flex: 1 1 100%; justify-content: center; text-align: center; }
}
@media (max-width: 640px) {
  .why__grid { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
  .why__card { padding: 16px; }
  .why__card svg { width: 28px; height: 28px; }
  .why__card h3 { font-size: 16px; margin-top: 10px; }
  .why__card p { font-size: 13.5px; }
}

/* ============================================================
   ГЛАВНАЯ ПО МАКЕТУ (2026-10-07): базовые правила холста Claude Design
   (там они стояли в <helmet>). Разметка главной — внутри .tk.
   ============================================================ */
.tk { font-family: Inter, system-ui, sans-serif; color: #0d1b2e; background: #fff; width: 100%; }
.tk *, .tk *::before, .tk *::after { box-sizing: border-box; }
.tk h1, .tk h2, .tk h3 { font-family: 'Manrope', sans-serif; margin: 0; letter-spacing: 0; }
.tk a { color: #2e6fd0; }
.tk a:hover { color: #1d58b0; }
.tk img { display: inline-block; }
.tk .wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.tk .gal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 12px; }
.tk .gal > a:first-child { grid-column: span 2; grid-row: span 2; }
.tk .gal > a[hidden] { display: none; }
.tk .gal img { display: block; transition: transform .25s ease; }
.tk .gal > a:hover img { transform: scale(1.03); }
@media (max-width: 640px) {
  .tk .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 130px; gap: 8px; }
}
/* Чат на первом экране: высота окна */
.tk-hero #diesel-ai-manager { width: 100%; height: 640px; max-width: none; margin: 0; }
@media (max-width: 640px) { .tk-hero #diesel-ai-manager { height: min(600px, calc(100svh - 90px)); min-height: 480px; } }

/* ============================================================
   ФОТО НА ВЕСЬ ЭКРАН (галереи автопарка и офиса): свайп влево/вправо,
   смахивание вниз или Esc — закрыть.
   ============================================================ */
.lb { position: fixed; inset: 0; z-index: 1000; background: #000814; color: #fff; display: flex; flex-direction: column; font-family: Inter, system-ui, sans-serif; touch-action: none; }
.lb[hidden] { display: none; }
.lb__top { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; }
.lb__count { font-weight: 700; font-size: 15px; }
.lb__btn { width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.lb__stage { flex: 1; min-height: 0; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lb__img { max-width: 100%; max-height: 100%; object-fit: contain; user-select: none; -webkit-user-drag: none; transition: transform .2s ease, opacity .2s ease; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,20,47,.6); }
.lb__prev { left: 8px; }
.lb__next { right: 8px; }
.lb__bottom { padding: 12px 16px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lb__cap { font-weight: 600; font-size: 15px; text-align: center; }
.lb__dots { display: flex; gap: 6px; }
.lb__dots span { width: 7px; height: 7px; border-radius: 4px; background: rgba(255,255,255,.35); transition: width .2s ease; }
.lb__dots span.on { width: 18px; background: #f0a440; }
.lb__hint { font-size: 13px; color: #9fb3d1; }
@media (min-width: 900px) { .lb__hint { display: none; } }
@media (max-width: 640px) {
  .tk .tk-m-hide { display: none !important; }
  .tk .tk-hero__in { padding-top: 24px !important; padding-bottom: 32px !important; gap: 24px !important; }
}

/* ============================================================
   ВНУТРЕННИЕ СТРАНИЦЫ ПО МАКЕТУ (2026-10-07): чат на первом экране,
   Авито, мессенджеры, золотая плашка в тексте, боковая карточка с Авито.
   Разметка — old-site/inner-template.mjs.
   ============================================================ */
.ihero { position: relative; color: #fff; background: linear-gradient(115deg, #00142f 0%, #0b2b57 55%, #1b4a8f 100%); }
.ihero__in { display: flex; flex-wrap: wrap; gap: 32px 48px; align-items: center; padding-top: 40px; padding-bottom: 48px; }
.ihero__text { flex: 999 1 460px; min-width: 0; }
.ihero__crumbs { margin: 0 0 14px; font-size: 13px; color: #9fc2f5; }
.ihero__crumbs a { color: #9fc2f5; text-decoration: underline; text-underline-offset: 2px; }
.ihero__title { font-family: 'Manrope', sans-serif; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; font-weight: 800; color: #fff; margin: 0; }
.ihero__lead { margin: 16px 0 0; font-size: 17px; line-height: 1.6; color: #d5e2f6; max-width: 560px; }
.ihero__avito { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 20px; padding: 10px 16px; min-height: 44px; border-radius: 12px; background: #fff; color: #0d1b2e; text-decoration: none; font-size: 14.5px; font-weight: 600; }
.ihero__avito img { height: 18px; width: auto; display: inline-block; }
.ihero__avito b { color: #c77a12; }
.ihero__avito-go { color: #2e6fd0; font-weight: 700; }
.ihero__msg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 14px; max-width: 520px; }
.ihero__msg a { min-height: 46px; display: flex; align-items: center; justify-content: center; gap: 7px; border-radius: 12px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14.5px; }
.ihero__wa { background: #1a8f4c; } .ihero__tg { background: #1d78b8; } .ihero__mx { background: #5a3fd6; }
.ihero__msg a:hover { filter: brightness(1.08); }
.ihero__chat { flex: 1 1 340px; min-width: 0; max-width: 470px; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.ihero__chat #diesel-ai-manager { width: 100%; height: 640px; max-width: none; margin: 0; }
@media (max-width: 640px) {
  .ihero__in { padding-top: 22px; padding-bottom: 32px; gap: 22px; }
  .ihero__lead { font-size: 15.5px; margin-top: 12px; }
  .ihero__chat #diesel-ai-manager { height: min(600px, calc(100svh - 90px)); min-height: 480px; }
}

.imid { margin: 32px 0 8px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; padding: 20px 22px; border-radius: 16px; background: #fff3dc; border: 1px solid #f2c77e; }
.imid__txt { flex: 1 1 300px; min-width: 0; }
.imid__title { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; color: #0d1b2e; }
.imid__sub { margin-top: 4px; font-size: 15px; color: #5c4a20; }
.imid__btn { min-height: 48px; display: inline-flex; align-items: center; padding: 0 20px; border-radius: 12px; background: #2e6fd0; color: #fff !important; text-decoration: none; font-weight: 800; font-family: 'Manrope', sans-serif; }
.imid__btn:hover { background: #1f56a6; }

.iside { border-radius: 18px; background: #00142f; color: #fff; padding: 22px; }
.iside__title { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 18px; }
.iside__phone { display: block; margin-top: 10px; font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 24px; color: #f0a440; text-decoration: none; }
.iside__btn { margin-top: 14px; min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 12px; background: #2e6fd0; color: #fff; text-decoration: none; font-weight: 800; }
.iside__btn:hover { background: #1f56a6; }
.iavito { display: flex; flex-direction: column; gap: 8px; border-radius: 18px; border: 1px solid #dfe6f0; padding: 20px; text-decoration: none; color: #0d1b2e; background: #fff; }
.iavito img { height: 22px; width: auto; align-self: flex-start; display: inline-block; }
.iavito__score { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 26px; }
.iavito__score i { font-style: normal; font-size: 15px; color: #c77a12; letter-spacing: 2px; }
.iavito__txt { font-size: 14.5px; color: #4a5b73; line-height: 1.5; }
.iavito__go { font-weight: 700; color: #2e6fd0; }

/* Топливные карты (ручная страница): чат на первом экране, как на остальных */
.fc-hero--chat { text-align: left !important; padding: 40px 0 48px !important; }
.fc-hero--chat h1, .fc-hero--chat .fc-hero__sub { margin-left: 0 !important; margin-right: 0 !important; }
.fc-hero--chat .fc-hero__cta, .fc-hero--chat .fc-hero__badges { justify-content: flex-start; }
.fc-hero--chat .fc-badge { min-width: 140px; }
@media (max-width: 640px) { .fc-hero--chat { padding: 24px 0 32px !important; } .fc-hero--chat .fc-hero__badges { margin-top: 22px; } }
@media (max-width: 640px) {
  .fc-hero--chat .fc-hero__label { display: none; }
  .fc-hero--chat .fc-hero__sub { margin-bottom: 18px !important; }
  .fc-hero--chat .fc-hero__badges { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
  .fc-hero--chat .fc-badge { min-width: 0; padding: 10px 8px; text-align: center; }
  .fc-hero--chat .fc-badge__value { font-size: 18px; }
  .fc-hero--chat .fc-badge__label { font-size: 11px; }
}
