/* Хаб раздела /shipping/. Та же система, что у Pirate Ship (pirate-ship.css): цвета, eyebrow, кнопка, тёмный блок. Стили ограничены .hub */
.hub {
  --ink: #1a1a1a; --muted: #6b7080; --line: #e4e7ee; --surface: #fff; --soft: #f7f8fb; --bg: #f1f3f7;
  --accent: #eaa30a; --accent-soft: #fdf4e1;
  color: var(--ink); -webkit-font-smoothing: antialiased; text-wrap: pretty;
}
.hub :where(h1, h2, p, ul) { margin: 0; padding: 0; }
.hub :where(h1, h2) { text-wrap: balance; }
.hub ul { list-style: none; }
.hub img { display: block; max-width: 100%; }
.hub .bw { width: 1198px; max-width: calc(100% - 48px); margin: 0 auto; }

.hub-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lr-color-brand-accent-text, #9a6200); }
.hub h2 { font-size: 36px; line-height: 1.15; font-weight: 800; }
.hub-head { display: flex; flex-direction: column; gap: 14px; }
.hub-btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 10px; background: var(--accent); color: var(--lr-color-text-primary, #1a1a1a); font-size: 16px; font-weight: 700; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.hub-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(234, 163, 10, .3); }

/* Первый экран: текст слева, фото справа, плашки поверх фото в спокойных углах (справа сверху стена, слева снизу стол) */
.hub-hero { padding: 64px 0 96px; }
.hub-hero__grid { display: grid; grid-template-columns: minmax(0, 540px) 560px; justify-content: space-between; align-items: center; gap: 48px; }
.hub-hero__copy { display: flex; flex-direction: column; align-items: flex-start; }
.hub h1 { margin-top: 20px; font-size: 52px; line-height: 1.08; font-weight: 800; }
.hub-lead { margin-top: 20px; font-size: 18px; line-height: 1.55; color: var(--muted); }
.hub-hero .hub-btn { margin-top: 32px; }
.hub-hero__visual { position: relative; }
.hub-hero__photo { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; box-shadow: 0 24px 60px rgba(26, 31, 51, .12); }
.hub-chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(26, 31, 51, .12); font-size: 14px; font-weight: 700; white-space: nowrap; }
.hub-chip--carriers { top: 40px; right: -28px; flex-direction: column; align-items: flex-start; gap: 10px; }
.hub-chip__label { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hub-chip__logos { display: flex; align-items: center; gap: 18px; }
.hub-chip--note { bottom: 44px; left: -32px; }
.hub-chip--note img { border-radius: 50%; }
.hub-logo-usps { width: 31px; height: 26px; object-fit: contain; }
.hub-logo-ups { width: 21.94px; height: 26px; }
.hub-logo-fedex { width: 46.37px; height: 14.2px; }
@keyframes hub-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes hub-pulse { 0% { box-shadow: 0 0 0 0 rgba(46, 158, 91, .45); } 100% { box-shadow: 0 0 0 8px rgba(46, 158, 91, 0); } }
.lr-motion .hub .hub-chip--carriers{ animation: hub-float 5s ease-in-out 1s infinite; }
.lr-motion .hub .hub-chip--note{ animation: hub-float 5s ease-in-out 2.4s infinite; }
.lr-motion .hub .hub-chip--note img{ animation: hub-pulse 2s ease-out 1.2s infinite; }

/* Группы лендингов: 1 карточка широкая, 2 в два столбца, больше в три */
.hub-group { padding: 0 0 96px; }
.hub-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.hub-cards--2 { grid-template-columns: repeat(2, 1fr); }
.hub-cards--1 { grid-template-columns: 1fr; }
.hub-card { display: flex; flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s, border-color .25s; }
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 20px 48px rgba(26, 31, 51, .1); border-color: #d9dde6; }
.hub-card__visual { position: relative; display: flex; align-items: center; justify-content: center; height: 280px; overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, #fff 0%, var(--bg) 70%); border-bottom: 1px solid var(--line); }
.hub-card__body { display: flex; flex-direction: column; gap: 10px; padding: 28px 32px 32px; flex: 1; }
.hub-card__title { font-size: 24px; line-height: 1.2; font-weight: 800; }
.hub-card__text { font-size: 16px; line-height: 1.55; color: var(--muted); }
.hub-card__arrow { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin-top: auto; border-radius: 20px; background: var(--bg); color: var(--ink); transition: background-color .25s, color .25s, transform .25s; }
.hub-card__text + .hub-card__arrow { margin-top: 14px; }
.hub-card:hover .hub-card__arrow { background: var(--accent); color: #fff; transform: translateX(4px); }
.hub-cards--1 .hub-card { flex-direction: row; }
.hub-cards--1 .hub-card__visual { flex: 0 0 54%; height: 340px; border-bottom: 0; border-right: 1px solid var(--line); }
.hub-cards--1 .hub-card__body { justify-content: center; padding: 48px 56px; }

/* Обложки */
.hub .cv{ transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.hub-card:hover .cv { transform: translateY(-4px) scale(1.02); }
.hub .cv--vs{ width: min(400px, 86%); }
.hub .cv-table{ display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px rgba(26, 31, 51, .08); overflow: hidden; }
.hub .cv-row{ display: grid; grid-template-columns: 1.15fr 1fr 1fr; align-items: center; min-height: 52px; padding: 0 18px; border-top: 1px solid var(--line); }
.hub .cv-row > span:not(:first-child){ display: flex; justify-content: center; }
.hub .cv-row--head{ min-height: 48px; border-top: 0; background: var(--soft); font-size: 13px; font-weight: 800; }
.hub .cv-rival{ color: var(--muted); }
.hub .cv-us img{ width: 86px; height: auto; }
.hub .cv-row--head .cv-us, .hub .cv-us-col{ align-self: stretch; align-items: center; background: var(--accent-soft); margin: 0 -18px 0 0; padding-right: 18px; }
.hub .cv-row--head .cv-us{ background: #fbe9c2; }
.hub .cv-carrier{ display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.hub .cv-usps{ width: 24px; height: 20px; object-fit: contain; }
.hub .cv-ups{ width: 17px; height: 20px; }
.hub .cv-fedex{ width: 46px; height: 14px; }
.hub .cv-yes circle{ fill: #2e9e5b; }
.hub .cv-no circle{ fill: #eceef3; }
.hub .cv--features{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; width: min(420px, 88%); }
.hub .cv-tile{ display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 22px 10px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 34px rgba(26, 31, 51, .08); }
.hub .cv-tile:nth-child(2){ transform: translateY(-14px); }
.hub .cv-ico{ display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--lr-color-brand-accent-text, #9a6200); }
.hub .cv-label{ font-size: 13px; font-weight: 700; text-align: center; }

/* Факты */
.hub-facts { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px 32px; padding: 28px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.hub-facts li { display: flex; align-items: flex-start; gap: 12px; font-size: 17px; line-height: 1.4; font-weight: 700; }
.hub-facts img { flex: none; margin-top: 3px; }

/* Ссылка на гайды */
.hub-guides { padding: 24px 0 96px; }
.hub-guides__link { display: flex; align-items: center; gap: 8px; padding: 22px 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; color: var(--muted); font-size: 17px; text-decoration: none; transition: border-color .25s, box-shadow .25s; }
.hub-guides__link b { color: var(--ink); font-weight: 700; }
.hub-guides__link svg { margin-left: auto; flex: none; color: var(--ink); transition: transform .25s; }
.hub-guides__link:hover { border-color: #d9dde6; box-shadow: 0 12px 32px rgba(26, 31, 51, .06); }
.hub-guides__link:hover svg { transform: translateX(4px); }

/* Финальный блок */
.hub-final { padding: 0 0 96px; }
.hub-final__block { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 72px 48px; background: var(--ink); border-radius: 28px; text-align: center; }
.hub-final__block h2 { color: #fff; line-height: normal; }
.hub-final__cta { padding-top: 18px; }

@media (max-width: 1260px) {
  .hub-hero__grid { grid-template-columns: 1fr 1fr; }
  .hub h1 { font-size: 44px; }
  .hub-chip--carriers { right: 16px; }
  .hub-chip--note { left: 16px; }
}
@media (max-width: 1180px) {
  .hub-cards--many { grid-template-columns: repeat(2, 1fr); }
}

/* Мобильный */
@media (max-width: 980px) {
  .hub .bw { max-width: calc(100% - 32px); }
  .hub-eyebrow { font-size: 11px; }
  .hub h2 { font-size: 28px; line-height: 1.18; }
  .hub-head { gap: 12px; }

  .hub-hero { padding: 32px 0 56px; }
  .hub-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hub h1 { margin-top: 16px; font-size: 34px; line-height: 1.12; }
  .hub-lead { margin-top: 16px; font-size: 16px; }
  .hub-hero .hub-btn { width: 100%; margin-top: 24px; }
  .hub-hero__photo { border-radius: 20px; box-shadow: none; }
  .hub-chip { padding: 10px 12px; border-radius: 12px; font-size: 12px; gap: 8px; }
  .hub-chip--carriers { top: 12px; right: 12px; gap: 6px; }
  .hub-chip__label { font-size: 10px; }
  .hub-chip__logos { gap: 12px; }
  .hub-chip--note { bottom: 12px; left: 12px; }
  .lr-motion .hub .hub-chip--carriers, .lr-motion .hub .hub-chip--note{ animation: none; }
  .hub-logo-usps { width: 24px; height: 20px; }
  .hub-logo-ups { width: 17px; height: 20px; }
  .hub-logo-fedex { width: 39px; height: 12px; }

  .hub-group { padding-bottom: 64px; }
  .hub-cards, .hub-cards--2, .hub-cards--many { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .hub-cards--1 .hub-card { flex-direction: column; }
  .hub-card { border-radius: 16px; }
  .hub-card__visual, .hub-cards--1 .hub-card__visual { flex: none; height: 220px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hub-card__body, .hub-cards--1 .hub-card__body { padding: 22px 22px 24px; gap: 8px; }
  .hub-card__title { font-size: 22px; }
  .hub-card__text { font-size: 15px; }
  .hub-card__arrow { width: 36px; height: 36px; }
  .hub-card__text + .hub-card__arrow { margin-top: 10px; }
  .hub .cv-row{ min-height: 44px; padding: 0 14px; }
  .hub .cv-row--head{ min-height: 40px; font-size: 12px; }
  .hub .cv-row--head .cv-us, .hub .cv-us-col{ margin-right: -14px; padding-right: 14px; }
  .hub .cv-us img{ width: 74px; }
  .hub .cv-carrier{ font-size: 13px; gap: 8px; }
  .hub .cv-tile{ padding: 18px 8px 14px; gap: 10px; }
  .hub .cv-ico{ width: 42px; height: 42px; }
  .hub .cv-label{ font-size: 12px; }

  .hub-facts { flex-direction: column; gap: 14px; padding: 22px; border-radius: 16px; }
  .hub-facts li { font-size: 16px; }
  .hub-guides { padding: 16px 0 64px; }
  .hub-guides__link { flex-wrap: wrap; padding: 18px 22px; border-radius: 16px; font-size: 16px; }

  .hub-final { padding-bottom: 64px; }
  .hub-final__block { align-items: flex-start; gap: 12px; padding: 48px 24px; border-radius: 24px; text-align: left; }
  .hub-final__block h2 { font-size: 28px; line-height: 1.18; }
  .hub-final__cta { padding-top: 12px; width: 100%; }
  .hub-final__cta .hub-btn { width: 100%; }
}

/* ===== Версия 2: белый фон, лента, меньше рамок (как Pirate Ship) ===== */
.hub { --soft-bg: #f6f6f7; }
.hub h1 { font-size: 64px; line-height: 1.03; letter-spacing: -.035em; }
.hub h2 { letter-spacing: -.02em; }
.hub-lead { font-size: 20px; color: #50586a; }
.hub-hero__visual { isolation: isolate; }
.hub-hero__photo { position: relative; box-shadow: 0 30px 70px rgba(60, 30, 0, .16); }
.hub-chip { box-shadow: 0 18px 40px rgba(60, 30, 0, .14); border-color: #f0ece4; }
.hub-card { border: 0; background: var(--soft-bg); }
.hub-card:hover { box-shadow: 0 24px 60px rgba(60, 30, 0, .10); }
.hub-card__visual { background: radial-gradient(70% 80% at 80% 10%, rgba(255, 122, 26, .20), transparent 70%), radial-gradient(60% 70% at 15% 90%, rgba(255, 107, 139, .16), transparent 70%), radial-gradient(60% 70% at 20% 10%, rgba(234, 163, 10, .20), transparent 70%), #fbfaf8; border: 0; }
.hub-cards--1 .hub-card__visual { border-right: 0; }
.hub-card__arrow { background: #fff; }
.hub-facts { border: 0; border-top: 1px solid #ececf0; border-bottom: 1px solid #ececf0; border-radius: 0; background: transparent; padding: 28px 0; }
.hub-guides__link { border: 0; background: var(--soft-bg); }
.hub-guides__link:hover { box-shadow: 0 16px 40px rgba(60, 30, 0, .08); }
@media (max-width: 980px) {
  .hub h1 { font-size: 38px; line-height: 1.08; }
  .hub-lead { font-size: 17px; }
  .hub-card__visual { border-bottom: 0; }
  .hub-facts { padding: 22px 0; }
}
.hub-hero__visual { isolation: auto; }
.hub-hero__photo { z-index: 1; }
.hub-chip { z-index: 2; }

/* ===== Карточки v3: яркие, как обложки. Текст сверху крупно, продукт или человек снизу во всю карточку ===== */
.hub-cards--2 .hub-card, .hub-cards--many .hub-card { position: relative; display: block; min-height: 600px; border-radius: 28px; overflow: hidden; isolation: isolate; }
.hub-card--sunset { background: linear-gradient(150deg, #ffbd4a 0%, #ff8a2a 45%, #ff6b8b 100%); }
.hub-card--dark { background: radial-gradient(80% 70% at 85% 100%, rgba(255, 122, 26, .45), transparent 70%), radial-gradient(60% 60% at 10% 110%, rgba(234, 163, 10, .35), transparent 70%), #161616; }
.hub-card--sunset, .hub-card--dark { color: #fff; border: 0; }
.hub-card--sunset .hub-card__body, .hub-card--dark .hub-card__body { position: relative; z-index: 2; padding: 44px 44px 0; gap: 14px; background: none; }
.hub-card--sunset .hub-eyebrow { color: rgba(255, 255, 255, .85); }
.hub-card--dark .hub-eyebrow { color: #f2b632; }
.hub-card--sunset .hub-card__title, .hub-card--dark .hub-card__title { font-size: 40px; line-height: 1.05; letter-spacing: -.03em; color: #fff; max-width: 440px; }
.hub-card--sunset .hub-card__text { color: rgba(255, 255, 255, .92); font-size: 17px; max-width: 420px; }
.hub-card--dark .hub-card__text { color: #c9ccd4; font-size: 17px; max-width: 420px; }
.hub-card--sunset .hub-card__arrow, .hub-card--dark .hub-card__arrow { position: absolute; top: 40px; right: 40px; margin: 0; width: 52px; height: 52px; border-radius: 26px; background: rgba(255, 255, 255, .95); color: var(--ink); }
.hub-card--sunset:hover .hub-card__arrow, .hub-card--dark:hover .hub-card__arrow { background: #fff; color: var(--ink); transform: translateX(4px) rotate(-45deg); }
.hub-card--sunset .hub-card__visual, .hub-card--dark .hub-card__visual { position: absolute; inset: auto 0 0 0; height: 330px; background: none; border: 0; padding: 0; z-index: 1; overflow: visible; display: block; }
.hub-card:hover .cv { transform: none; }

/* Обложка «предложения»: карточки перевозчиков веером, FedEx впереди */
.hub .cv--offers{ position: absolute; inset: 0; }
.hub .cv-offer{ position: absolute; width: 470px; max-width: none; height: auto; border-radius: 12px; box-shadow: 0 24px 50px rgba(120, 40, 0, .28); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.hub .cv-offer--usps{ left: 70px; bottom: 170px; transform: rotate(-4deg); opacity: .9; }
.hub .cv-offer--ups{ left: 110px; bottom: 90px; transform: rotate(-1deg); }
.hub .cv-offer--fedex{ left: 150px; bottom: 6px; transform: rotate(2deg); outline: 3px solid #fff; outline-offset: -1px; }
.hub-card:hover .cv-offer--usps { transform: rotate(-6deg) translateY(-10px); }
.hub-card:hover .cv-offer--ups { transform: rotate(-2deg) translateY(-6px); }
.hub-card:hover .cv-offer--fedex { transform: rotate(0deg) translateY(-4px) scale(1.02); }

/* Обложка «человек»: вырезанное фото снизу справа, плашка */
.hub .cv--person{ position: absolute; inset: 0; }
.hub .cv-person{ position: absolute; right: -10px; bottom: 0; width: 470px; max-width: none; height: auto; transition: transform .45s cubic-bezier(.2, .7, .2, 1); transform-origin: bottom center; }
.hub-card:hover .cv-person { transform: scale(1.03); }
.hub .cv-chip{ position: absolute; left: 44px; bottom: 60px; display: inline-flex; align-items: center; gap: 10px; padding: 14px 18px; border-radius: 14px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.hub .cv-chip img{ border-radius: 50%; }

@media (max-width: 1180px) {
  .hub .cv-offer{ width: 400px; }
  .hub .cv-offer--usps{ left: 30px; } .hub .cv-offer--ups{ left: 60px; } .hub .cv-offer--fedex{ left: 90px; }
  .hub .cv-person{ width: 400px; }
}
@media (max-width: 980px) {
  .hub-cards--2 .hub-card, .hub-cards--many .hub-card { min-height: 540px; border-radius: 22px; }
  .hub-card--sunset .hub-card__body, .hub-card--dark .hub-card__body { padding: 28px 24px 0; }
  .hub-card--sunset .hub-card__title, .hub-card--dark .hub-card__title { font-size: 30px; max-width: 80%; }
  .hub-card--sunset .hub-card__text, .hub-card--dark .hub-card__text { font-size: 15px; }
  .hub-card--sunset .hub-card__arrow, .hub-card--dark .hub-card__arrow { top: 24px; right: 20px; width: 44px; height: 44px; }
  .hub-card--sunset .hub-card__visual, .hub-card--dark .hub-card__visual { height: 260px; }
  .hub .cv-offer{ width: 330px; }
  .hub .cv-offer--usps{ left: 6%; bottom: 130px; } .hub .cv-offer--ups{ left: 10%; bottom: 68px; } .hub .cv-offer--fedex{ left: 14%; bottom: 6px; }
  .hub .cv-person{ width: 330px; right: -20px; }
  .hub .cv-chip{ left: 20px; bottom: 30px; padding: 10px 14px; font-size: 13px; }
}
/* заполнить пустоту между текстом и визуалом */
.hub-cards--2 .hub-card, .hub-cards--many .hub-card { min-height: 580px; }
.hub-card--sunset .hub-card__visual, .hub-card--dark .hub-card__visual { height: 360px; }
.hub .cv-offer{ width: 540px; }
.hub .cv-offer--usps{ left: 50px; bottom: 236px; }
.hub .cv-offer--ups{ left: 92px; bottom: 124px; }
.hub .cv-offer--fedex{ left: 134px; bottom: 12px; }
.hub .cv-person{ width: 500px; }
@media (max-width: 1180px) { .hub .cv-offer{ width: 440px; } .hub .cv-person{ width: 420px; } }
@media (max-width: 980px) {
  .hub-cards--2 .hub-card, .hub-cards--many .hub-card { min-height: 480px; }
  .hub-card--sunset .hub-card__visual, .hub-card--dark .hub-card__visual { height: 270px; }
  .hub .cv-offer{ width: 400px; }
  .hub .cv-offer--usps{ left: 4%; bottom: 160px; } .hub .cv-offer--ups{ left: 9%; bottom: 84px; } .hub .cv-offer--fedex{ left: 14%; bottom: 8px; }
  .hub .cv-person{ width: 380px; right: -30px; }
}
.hub .cv-offer{ width: 480px; }
.hub .cv-offer--usps{ left: 28px; bottom: 224px; }
.hub .cv-offer--ups{ left: 56px; bottom: 118px; }
.hub .cv-offer--fedex{ left: 84px; bottom: 14px; }
.hub .cv-person{ width: 400px; right: 0; }
@media (max-width: 1180px) { .hub .cv-offer{ width: 400px; } .hub .cv-person{ width: 360px; } }
@media (max-width: 980px) { .hub .cv-offer{ width: 360px; } .hub .cv-person{ width: 340px; right: -20px; } }
@media (max-width: 980px) { .hub .cv-offer{ width: 380px; } .hub .cv-offer--usps{ bottom: 142px; } .hub .cv-offer--ups{ bottom: 74px; } .hub .cv-offer--fedex{ bottom: 6px; } }
/* меньше воздуха: на десктопе карточка ниже, на телефоне визуал идёт сразу под текстом */
.hub-cards--2 .hub-card, .hub-cards--many .hub-card { min-height: 540px; }
.hub-card--dark .hub-card__text { max-width: 330px; }
.hub .cv-person{ width: 420px; }
@media (max-width: 980px) {
  .hub-cards--2 .hub-card, .hub-cards--many .hub-card { min-height: 0; }
  .hub-card--sunset .hub-card__visual, .hub-card--dark .hub-card__visual { position: relative; inset: auto; margin-top: 8px; }
  .hub-card--sunset .hub-card__visual { height: 230px; }
  .hub-card--dark .hub-card__visual { height: 320px; }
  .hub-card--dark .hub-card__text { max-width: none; }
  .hub .cv-person{ width: 370px; right: -24px; }
  .hub .cv-chip{ bottom: 24px; }
}
@media (min-width: 981px) { .hub .cv-person{ width: 390px; right: -16px; } .hub-card--dark .hub-card__text { max-width: 300px; } }
/* телефон: сначала текст, сразу под ним визуал, без пустоты */
@media (max-width: 980px) {
  .hub-cards--2 .hub-card, .hub-cards--many .hub-card { display: flex; flex-direction: column; }
  .hub-card--sunset .hub-card__body, .hub-card--dark .hub-card__body { order: 0; padding: 28px 24px 0; }
  .hub-card--sunset .hub-card__visual, .hub-card--dark .hub-card__visual { order: 1; margin-top: 16px; }
  .hub-card--sunset .hub-card__title, .hub-card--dark .hub-card__title { max-width: calc(100% - 56px); }
}

/* Обложка rates (multicarrier): панель с тремя тарифами и плашка CSV, рисуется кодом */
.hub .cv--rates{ position: absolute; inset: 0; }
.hub .cv-panel{ position: absolute; left: 44px; bottom: 36px; width: 440px; display: flex; flex-direction: column; gap: 6px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 24px 50px rgba(0, 0, 0, .35); transform: rotate(-3deg); transform-origin: left bottom; transition: transform .45s cubic-bezier(.2, .7, .2, 1); color: #1a1a1a; }
.hub-card:hover .cv-panel { transform: rotate(-1deg) translateY(-6px); }
.hub .cv-q{ display: flex; align-items: center; gap: 6px; padding: 8px 10px 6px; font-size: 13px; color: #6b7080; }
.hub .cv-q b{ color: #1a1a1a; }
.hub .cv-q i{ margin-left: auto; font-style: normal; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: #f6f6f7; }
.hub .cv-rate{ display: grid; grid-template-columns: 50px 1fr auto auto; align-items: center; gap: 10px; padding: 12px; border-radius: 10px; background: #f6f6f7; font-size: 14px; font-weight: 700; }
.hub .cv-rate img{ justify-self: center; width: auto; }
.hub .cv-rate .cv-usps{ height: 20px; } .hub .cv-rate .cv-ups{ height: 22px; } .hub .cv-rate .cv-fedex{ height: 13px; }
.hub .cv-rate b{ grid-column: 4; font-size: 16px; font-weight: 800; }
.hub .cv-rate em{ font-style: normal; padding: 2px 7px; border-radius: 5px; background: #eaa30a; color: var(--lr-color-text-primary, #1a1a1a); font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.hub .cv-rate--best{ background: #fff8ea; box-shadow: inset 0 0 0 2px #eaa30a; }
.hub .cv-csv{ position: absolute; right: 36px; bottom: 236px; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 12px; background: #fff; color: #1a1a1a; font-size: 13px; font-weight: 700; white-space: nowrap; box-shadow: 0 16px 30px rgba(0, 0, 0, .3); transform: rotate(3deg); }
.hub .cv-csv__ico{ display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 8px; color: #fff; background: linear-gradient(135deg, #ff8a8a, #ff6b8b); }
@media (max-width: 1180px) { .hub .cv-panel{ width: 400px; } }
@media (max-width: 980px) {
  .hub .cv-panel{ left: 20px; bottom: 24px; width: calc(100% - 44px); }
  .hub .cv-rate{ grid-template-columns: 40px 1fr auto; font-size: 13px; padding: 10px; }
  .hub .cv-rate em{ display: none; }
  .hub .cv-rate b{ grid-column: 3; font-size: 15px; }
  .hub .cv-csv{ right: 16px; bottom: 200px; }
}

/* Нечётное число карточек: две колонки, последняя карточка баннером на всю ширину (текст слева, визуал справа) */
@media (min-width: 981px) {
  .hub-cards--many { grid-template-columns: repeat(2, 1fr); }
  .hub-cards--many .hub-card--wide { grid-column: 1 / -1; min-height: 380px; }
  .hub-card--wide .hub-card__body { max-width: none; padding-top: 56px; }
  .hub-card--wide.hub-card--sunset .hub-card__text, .hub-card--wide.hub-card--dark .hub-card__text { max-width: 440px; }
  .hub-card--wide .hub-card__visual { inset: 0 0 0 auto; width: 46%; height: 100%; }
  .hub-card--wide .cv-person { right: 60px; }
}

/* Обложка connect (multicarrier): три плитки перевозчиков, линии сходятся в одну плашку LogiRates */
.hub .cv--connect{ position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 48px; }
.hub .cv-cx{ display: flex; flex-direction: column; align-items: center; width: 300px; }
.hub .cv-tiles{ display: flex; gap: 24px; }
.hub .cv-tile2{ display: flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 22px; background: #fff; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.hub .cv-tile2 img{ width: auto; }
.hub .cv-tile2 .cv-usps{ height: 34px; } .hub .cv-tile2 .cv-ups{ height: 38px; } .hub .cv-tile2 .cv-fedex{ height: 18px; }
.hub-card:hover .cv-tile2:nth-child(1) { transform: translateY(-6px) rotate(-4deg); }
.hub-card:hover .cv-tile2:nth-child(2) { transform: translateY(-8px); }
.hub-card:hover .cv-tile2:nth-child(3) { transform: translateY(-6px) rotate(4deg); }
.hub .cv-lines{ display: block; margin: 6px 0; }
.hub .cv-flow{ stroke-dasharray: 6 120; stroke-dashoffset: 0; opacity: 0; }
.lr-motion .hub .cv-flow{ opacity: .9; animation: cv-flow 2.6s linear infinite; }
@keyframes cv-flow { to { stroke-dashoffset: -126; } }
.hub .cv-hubpill{ display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 4px rgba(242, 182, 50, .35), 0 24px 50px rgba(0, 0, 0, .4); color: #1a1a1a; font-size: 15px; font-weight: 800; white-space: nowrap; }
.hub .cv-hubpill img{ height: 28px; width: auto; }
.hub .cv-hubpill span{ padding-left: 14px; border-left: 1px solid #e4e7ee; color: #50586a; font-weight: 700; }
@media (max-width: 980px) { .hub .cv--connect{ padding-bottom: 28px; } }

/* Табло в первом экране: маршрут и цены перебираются (site.js), самая низкая цена подсвечена */
.hub-board { min-width: 228px; }
.hub-board__route { font-size: 15px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.hub-board__route i { font-style: normal; color: #b0b4bf; font-weight: 600; padding: 0 2px; }
.hub-board__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: 100%; }
.hub-board__col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.hub-board__col img { height: 22px; width: auto; }
.hub-board__col .hub-logo-fedex { height: 13px; margin: 4.5px 0; }
.hub-board__col b { padding: 3px 7px; border-radius: 7px; font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums; transition: background-color .3s, color .3s; }
.hub-board__col b.is-low { background: #eaa30a; color: var(--lr-color-text-primary, #1a1a1a); }
@keyframes hub-tick { from { opacity: 0; transform: translateY(6px); filter: blur(2px); } to { opacity: 1; transform: none; filter: none; } }
.lr-motion .hub .hub-board.tick .hub-board__route, .lr-motion .hub .hub-board.tick b{ animation: hub-tick .45s var(--ease-out); }
@media (max-width: 980px) {
  .hub-board { min-width: 0; }
  .hub-board__route { font-size: 12px; }
  .hub-board__cols { gap: 6px; }
  .hub-board__col img { height: 16px; }
  .hub-board__col .hub-logo-fedex { height: 10px; margin: 3px 0; }
  .hub-board__col b { font-size: 11px; padding: 2px 5px; }
}

/* Табло крупнее старой плашки и на любой ширине задевало голову: табло вниз направо (стол и коробки, выступает за угол фото), плашка «No account» наверх налево (окно) */
.hub-chip--carriers { top: auto; bottom: -28px; right: -28px; }
.hub-chip--note { bottom: auto; top: 40px; left: -32px; }
@media (max-width: 1180px) { .hub-chip--carriers { right: -16px; } .hub-chip--note { left: -16px; } }
@media (max-width: 980px) {
  .hub-hero__visual { margin-bottom: 28px; }
  .hub-chip--carriers { top: auto; bottom: -24px; right: 12px; }
  .hub-chip--note { bottom: auto; top: 12px; left: 12px; }
}

/* Обложка sort (compare shipping rates): панель с сортировкой, полосы цен трёх перевозчиков, самая короткая подсвечена */
.hub .cv--sort{ position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: center; padding: 0 44px 40px; }
.hub .cv-sortp{ display: flex; flex-direction: column; gap: 8px; width: 100%; max-width: 460px; padding: 12px; border-radius: 18px; background: #fff; color: #1a1a1a; box-shadow: 0 24px 50px rgba(120, 40, 0, .3); transform: rotate(-2deg); transition: transform .45s cubic-bezier(.2, .7, .2, 1); }
.hub-card:hover .cv-sortp { transform: rotate(0deg) translateY(-6px); }
.hub .cv-sortp__head{ display: flex; justify-content: flex-end; padding: 2px 2px 4px; }
.hub .cv-sortp__pill{ display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 10px; background: #f6f6f7; color: #6b7080; font-size: 13px; font-weight: 600; }
.hub .cv-sortp__pill svg{ color: #2329a6; }
.hub .cv-sortp__pill b{ color: #1a1a1a; font-weight: 800; }
.hub .cv-bar{ display: grid; grid-template-columns: 50px 1fr 64px; align-items: center; gap: 12px; height: 54px; padding: 0 14px 0 4px; border-radius: 12px; background: #f6f6f7; }
.hub .cv-bar img{ justify-self: center; width: auto; }
.hub .cv-bar .cv-usps{ height: 20px; } .hub .cv-bar .cv-ups{ height: 22px; } .hub .cv-bar .cv-fedex{ height: 13px; }
.hub .cv-bar__track{ height: 10px; border-radius: 10px; background: #e7e8ed; overflow: hidden; }
.hub .cv-bar__track i{ display: block; height: 100%; width: var(--b); border-radius: 10px; background: #b9bdc8; }
.hub .cv-bar b{ text-align: right; font-size: 16px; font-weight: 800; }
.hub .cv-bar--best{ background: #fff8ea; box-shadow: inset 0 0 0 2px #eaa30a; }
.hub .cv-bar--best .cv-bar__track i{ background: linear-gradient(90deg, #f2b632, #ff7a1a); }
@keyframes cv-grow { 0%, 12% { width: 0; } 40%, 88% { width: var(--b); } 100% { width: 0; } }
.lr-motion .hub .cv-bar__track i{ animation: cv-grow 5s cubic-bezier(.65, 0, .25, 1) infinite; }
.lr-motion .hub .cv-bar:nth-child(3) .cv-bar__track i{ animation-delay: .15s; }
.lr-motion .hub .cv-bar:nth-child(4) .cv-bar__track i{ animation-delay: .3s; }
@media (max-width: 980px) {
  .hub .cv--sort{ padding: 0 20px 24px; }
  .hub .cv-bar{ height: 46px; grid-template-columns: 40px 1fr 56px; gap: 10px; }
  .hub .cv-bar b{ font-size: 14px; }
}
