/* vipcargo.biz.ua — огляд БК Топ Матч. Палітра виміряна з лого і кабінету бренду. */
:root {
  --tm-deep: #022b38;
  --tm-teal: #043545;
  --tm-teal-2: #0b5a6e;
  --tm-ink: #0a0a09;
  --tm-cream: #f0efe7;
  --tm-paper: #f6f4ec;
  --tm-flag: #f04e23;
  --tm-flag-dark: #c93a14;
  --tm-text: #1b2a2f;
  --tm-muted: #5b6b70;
  --tm-line: #dcd8ca;
  --tm-radius: 14px;
  --tm-head: "Russo One", "Segoe UI", Arial, sans-serif;
  --tm-body: "Manrope", "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--tm-body); font-size: 17px; line-height: 1.65; color: var(--tm-text); background: var(--tm-paper); -webkit-font-smoothing: antialiased; }
body.tm-menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: var(--tm-flag-dark); }
a:hover { color: var(--tm-flag); }
.tm-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* кнопки */
.tm-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--tm-flag); color: #fff; font-weight: 800; font-size: 16px; padding: 13px 26px; border-radius: 10px; text-decoration: none; border: 2px solid var(--tm-flag); transition: background .18s, transform .15s, box-shadow .18s; white-space: nowrap; }
.tm-btn:hover { background: var(--tm-flag-dark); border-color: var(--tm-flag-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(240, 78, 35, .8); }
.tm-btn--sm { font-size: 14px; padding: 8px 16px; border-radius: 8px; }
.tm-btn--ghost { background: transparent; color: var(--tm-cream); border-color: rgba(240, 239, 231, .45); }
.tm-btn--ghost:hover { background: var(--tm-cream); border-color: var(--tm-cream); color: var(--tm-deep); box-shadow: none; }
.tm-btn--wide { width: 100%; }
.tm-flag { display: inline-block; width: 12px; height: 15px; background: var(--tm-flag); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); margin-right: 8px; vertical-align: -2px; flex-shrink: 0; }

/* хедер */
.tm-header { position: sticky; top: 0; z-index: 100; background: var(--tm-deep); border-bottom: 1px solid rgba(240, 239, 231, .08); }
.tm-header__bar { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.tm-logo img { display: block; width: 132px; height: auto; }
.tm-nav { margin-right: auto; }
.tm-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.tm-nav a { display: block; color: var(--tm-cream); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.tm-nav a:hover { background: rgba(240, 239, 231, .08); color: #fff; }
.tm-header__actions { display: flex; align-items: center; gap: 8px; }
.tm-burger { display: none; width: 42px; height: 42px; border: 1px solid rgba(240, 239, 231, .25); background: transparent; border-radius: 8px; padding: 10px 9px; cursor: pointer; }
.tm-burger span { display: block; height: 2px; background: var(--tm-cream); border-radius: 2px; margin: 4px 0; transition: transform .2s, opacity .2s; }
.tm-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.tm-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.tm-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* hero */
.tm-hero { position: relative; color: var(--tm-cream); background: radial-gradient(circle at 85% 10%, var(--tm-teal-2) 0, var(--tm-teal) 40%, var(--tm-deep) 80%); overflow: hidden; }
.tm-hero::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgba(240, 239, 231, .035) 0 2px, transparent 2px 46px); pointer-events: none; }
.tm-hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 64px; }
.tm-kicker { display: flex; align-items: center; margin: 0 0 14px; font-weight: 800; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: #ffb7a2; }
.tm-hero h1 { font-family: var(--tm-head); font-weight: 400; font-size: clamp(30px, 4.2vw, 46px); line-height: 1.12; margin: 0 0 18px; color: #fff; }
.tm-lead { font-size: 18px; color: #d3dedb; margin: 0 0 18px; }
.tm-meta { font-size: 14px; color: #93a9a6; margin: 0; }
.tm-slip { position: relative; background: var(--tm-ink); border-radius: 18px; padding: 22px 22px 18px; border: 1px solid rgba(240, 239, 231, .12); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.tm-slip__head { padding-bottom: 22px; border-bottom: 2px dashed rgba(240, 239, 231, .18); margin-bottom: 14px; }
.tm-slip__head img { display: block; width: 180px; height: auto; margin: 0 auto; }
.tm-slip__rows { list-style: none; margin: 0 0 18px; padding: 0; }
.tm-slip__rows li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(240, 239, 231, .08); font-size: 15px; color: #b9c7c4; }
.tm-slip__rows b { color: var(--tm-cream); font-weight: 800; text-align: right; }
.tm-slip__login { display: block; text-align: center; margin-top: 12px; color: #b9c7c4; font-size: 14px; font-weight: 600; }
.tm-slip__login:hover { color: #fff; }
.tm-hero--page .tm-container { position: relative; padding-top: 40px; padding-bottom: 44px; }
.tm-hero--page h1 { margin: 0; }
.tm-crumbs { font-size: 14px; color: #93a9a6; margin-bottom: 12px; }
.tm-crumbs a { color: var(--tm-cream); }

/* стаття */
.tm-article { padding-top: 0; padding-bottom: 56px; }
.tm-article .content { position: relative; background: #fff; border-radius: 0 0 var(--tm-radius) var(--tm-radius); margin-top: -1px; padding: 36px 48px 44px; box-shadow: 0 24px 48px -36px rgba(2, 43, 56, .45); }
.tm-hero + .tm-article .content { margin-top: -28px; border-radius: var(--tm-radius); }
.content h2 { font-family: var(--tm-head); font-weight: 400; font-size: clamp(23px, 2.6vw, 30px); line-height: 1.2; color: var(--tm-deep); margin: 44px 0 14px; padding-left: 18px; position: relative; }
.content h2::before { content: ""; position: absolute; left: 0; top: .18em; bottom: .18em; width: 6px; border-radius: 3px; background: var(--tm-flag); }
.content h3 { font-family: var(--tm-head); font-weight: 400; font-size: 20px; color: var(--tm-teal); margin: 28px 0 10px; }
.content p { margin: 0 0 16px; }
.content ul, .content ol { margin: 0 0 20px; padding: 0; list-style: none; }
.content ul li { position: relative; padding: 10px 14px 10px 40px; margin-bottom: 8px; background: var(--tm-paper); border-radius: 10px; }
.content ul li::before { content: ""; position: absolute; left: 15px; top: 17px; width: 11px; height: 14px; background: var(--tm-flag); clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 72%, 0 100%); }
.content ol { counter-reset: tm; }
.content ol li { counter-increment: tm; position: relative; padding: 8px 0 8px 52px; margin-bottom: 6px; min-height: 40px; }
.content ol li::before { content: counter(tm); position: absolute; left: 0; top: 4px; width: 36px; height: 36px; border-radius: 50%; background: var(--tm-deep); color: var(--tm-cream); font-family: var(--tm-head); font-size: 16px; display: flex; align-items: center; justify-content: center; }
.content strong { color: var(--tm-deep); }
.tm-img { display: block; width: 100%; max-width: 860px; margin: 26px auto 28px; border-radius: var(--tm-radius); box-shadow: 0 20px 40px -28px rgba(2, 43, 56, .7); }
.tm-table-wrap { overflow-x: auto; margin: 0 0 22px; border-radius: 12px; border: 1px solid var(--tm-line); }
.tm-table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 460px; }
.tm-table th { background: var(--tm-deep); color: var(--tm-cream); text-align: left; font-weight: 800; padding: 12px 16px; }
.tm-table td { padding: 11px 16px; border-top: 1px solid var(--tm-line); }
.tm-table tr:nth-child(odd) td { background: #faf9f4; }
.tm-table td:first-child { font-weight: 700; color: var(--tm-deep); }

/* CTA-квиток */
.tm-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin: 30px 0 8px; padding: 20px 26px; background: linear-gradient(110deg, var(--tm-deep), var(--tm-teal)); border-radius: var(--tm-radius); color: var(--tm-cream); }
.tm-cta::after { content: ""; position: absolute; top: 12px; bottom: 12px; right: 210px; border-left: 2px dashed rgba(240, 239, 231, .2); }
.tm-cta p { display: flex; align-items: center; margin: 0; font-weight: 700; font-size: 17px; }

/* FAQ */
.tm-faq { margin: 8px 0 24px; }
.tm-faq__item { border: 1px solid var(--tm-line); border-radius: 12px; margin-bottom: 10px; background: #fff; overflow: hidden; transition: border-color .2s; }
.tm-faq__item[open] { border-color: var(--tm-flag); }
.tm-faq__item summary { list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 800; color: var(--tm-deep); position: relative; }
.tm-faq__item summary::-webkit-details-marker { display: none; }
.tm-faq__item summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border-radius: 50%; background: var(--tm-paper); color: var(--tm-flag); font-size: 20px; line-height: 26px; text-align: center; transition: transform .25s; }
.tm-faq__item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.tm-faq__a { padding: 0 20px 4px; animation: tm-open .3s ease; }
@keyframes tm-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.tm-disclaimer p { margin: 0; padding: 14px 18px; border-radius: 10px; background: #fff3ee; border: 1px solid #ffd2c3; font-size: 15px; }

/* футер */
.tm-footer { background: var(--tm-ink); color: #a9b5b2; padding: 40px 0 28px; font-size: 14px; }
.tm-footer__top { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 24px; border-bottom: 1px solid rgba(240, 239, 231, .1); }
.tm-footer__menu { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 0; padding: 0; }
.tm-footer__menu a { color: var(--tm-cream); text-decoration: none; }
.tm-footer__menu a:hover { color: var(--tm-flag); }
.tm-footer__rg { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; padding: 22px 0; }
.tm-footer__rg img { display: block; filter: grayscale(1) brightness(1.6); opacity: .85; }
.tm-footer__rg a:hover img { filter: none; opacity: 1; }
.tm-rg-text { color: var(--tm-cream); font-weight: 800; text-decoration: none; letter-spacing: .02em; }
.tm-age { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--tm-flag); color: var(--tm-flag); font-family: var(--tm-head); font-size: 16px; }
.tm-footer__note { margin: 0 0 10px; line-height: 1.6; }
.tm-footer__copy { margin: 0; color: #6f7d7a; }
.tm-top { position: fixed; right: 18px; bottom: 18px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--tm-flag); color: #fff; font-size: 20px; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity .2s; z-index: 90; }
.tm-top.is-visible { opacity: 1; visibility: visible; }

/* адаптив */
@media (max-width: 991px) {
  .tm-burger { display: block; }
  .tm-nav { position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: var(--tm-deep); padding: 18px 20px; transform: translateX(100%); transition: transform .25s ease; margin: 0; }
  .tm-nav.is-open { transform: none; }
  .tm-nav ul { flex-direction: column; gap: 2px; }
  .tm-nav a { font-size: 18px; padding: 14px 12px; border-bottom: 1px solid rgba(240, 239, 231, .08); border-radius: 0; }
  .tm-header__actions { margin-left: auto; }
  .tm-hero__grid { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; padding-bottom: 56px; }
  .tm-slip { max-width: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .tm-container { padding-left: 16px; padding-right: 16px; }
  .tm-header__bar { gap: 10px; min-height: 60px; }
  .tm-nav { top: 60px; }
  .tm-logo img { width: 104px; }
  .tm-header__actions .tm-btn--ghost { display: none; }
  .tm-lead { font-size: 16px; }
  .tm-article .content { padding: 24px 18px 30px; }
  .content ul li { padding-left: 36px; }
  .tm-cta { flex-direction: column; align-items: stretch; text-align: left; }
  .tm-cta::after { display: none; }
  .tm-cta .tm-btn { width: 100%; }
  .tm-footer__top { flex-direction: column; align-items: flex-start; }
}
