/* Inner pages of import-panda.ru. Same tokens as the homepage (main-v2/index.html). */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #ffffff;
  --bg-2: #f4f5f7;
  --line: #e3e6eb;
  --line-2: #cfd4dc;
  --ink: #14171c;
  --ink-2: #353b45;
  --muted: #626a77;
  --accent: #c63a2e;
  --accent-hover: #a93026;
  --accent-soft: #fbeeec;
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 68px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { font-family: 'Onest', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video, svg { max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid rgba(198, 58, 46, .45); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { color: var(--ink); letter-spacing: -0.02em; font-weight: 650; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--radius-sm); border: 1px solid transparent; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-primary, .btn-red { background: var(--accent); color: #fff; }
.btn-primary:hover, .btn-red:hover { background: var(--accent-hover); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* Header */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.logo img { width: 40px; height: 40px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); }
.logo-name { display: block; color: var(--ink); font-weight: 700; font-size: 17px; line-height: 1.15; }
.logo-sub { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.3; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink-2); font-size: 15px; font-weight: 500; text-decoration: none; transition: background .2s, color .2s; }
.nav a:hover { background: var(--bg-2); color: var(--ink); }
.header-phone { color: var(--ink); font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 18px; height: 1.75px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; }
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }
.menu-open .burger span { background: transparent; }
.menu-open .burger span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .burger span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { display: none; }
.mobile-bar { display: none; }

/* Breadcrumbs */
.breadcrumbs { padding: 20px 0 0; font-size: 13.5px; color: var(--muted); }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); }
.breadcrumbs-sep, .breadcrumbs .sep { margin: 0 8px; color: var(--line-2); }
.breadcrumbs-current, .breadcrumbs .current { color: var(--ink-2); }

/* Commercial page head */
.page-header { padding: 32px 0 40px; max-width: 800px; }
.page-header h1, .blog-header h1 { font-size: clamp(30px, 3.9vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; margin-bottom: 16px; }
.page-header .subtitle { font-size: 19px; color: var(--ink-2); line-height: 1.5; margin-bottom: 20px; }
.page-header .intro { font-size: 17px; color: var(--muted); line-height: 1.65; }

/* Sections */
.section { padding: 72px 0; position: relative; }
.section-light, .section-alt { background: var(--bg-2); }
.section-dark { background: var(--bg-2); color: var(--ink-2); }
.section-header { margin-bottom: 32px; max-width: 760px; }
.section-tag { display: none; }
.section-title { font-size: clamp(26px, 3.2vw, 36px); line-height: 1.14; }
.section-desc { margin-top: 12px; font-size: 17px; color: var(--muted); }

/* Tables */
.pricing-table-wrap, .article-table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pricing-table, .article-table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.comparison-table { width: 100%; border-collapse: collapse; margin: 28px 0 32px; font-size: 15.5px; }
.pricing-table th, .article-table th, .comparison-table th { background: #fbfbfc; color: var(--muted); padding: 14px 20px; text-align: left; font-weight: 500; font-size: 13.5px; border-bottom: 1px solid var(--line); }
.pricing-table td, .article-table td, .comparison-table td { padding: 16px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.pricing-table tr:last-child td, .article-table tr:last-child td { border-bottom: 0; }
.nw { white-space: nowrap; }
.pricing-table td:first-child, .article-table td:first-child, .comparison-table td:first-child { color: var(--ink); font-weight: 600; }

/* Cards */
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.advantage-card { background: var(--bg-2); border-radius: var(--radius); padding: 28px; }
.section-light .advantage-card, .section-alt .advantage-card { background: #fff; }
.advantage-icon { width: 44px; height: 44px; border-radius: 12px; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.section-light .advantage-icon, .section-alt .advantage-icon { background: var(--bg-2); }
.advantage-icon svg { width: 22px; height: 22px; }
.advantage-title { font-size: 18px; color: var(--ink); font-weight: 650; margin-bottom: 8px; }
.advantage-text { font-size: 15.5px; color: var(--muted); line-height: 1.55; }

/* Steps */
.steps-list { max-width: 760px; }
.step-item { display: flex; gap: 20px; margin-bottom: 28px; }
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.step-card { display: flex; gap: 16px; background: var(--bg-2); border-radius: var(--radius); padding: 24px; }
.step-card h3 { font-size: 18px; margin-bottom: 6px; }
.step-card p { color: var(--muted); font-size: 15.5px; }
.step-number { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); background: #fff; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 15px; flex-shrink: 0; }
.step-content { flex: 1; min-width: 0; }
.step-title { font-size: 18px; color: var(--ink); font-weight: 650; margin-bottom: 6px; }
.step-text { font-size: 15.5px; color: var(--muted); line-height: 1.6; }

/* Lists and blocks */
.who-needs, .docs-block, .info-box, .route-card { background: var(--bg-2); border-radius: var(--radius); }
.who-needs { padding: 28px 32px; margin: 8px 0 32px; }
.who-needs-title { font-size: 19px; margin-bottom: 12px; }
.who-needs-list, .cargo-features { list-style: none; }
.cargo-features { margin: 24px 0; }
.who-needs-list li, .cargo-features li { padding: 7px 0 7px 22px; position: relative; font-size: 16px; color: var(--ink-2); }
.who-needs-list li::before, .cargo-features li::before { content: ''; position: absolute; left: 0; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.docs-block { padding: 24px 28px; margin: 24px 0; }
.docs-block h3 { font-size: 17px; margin-bottom: 8px; }
.docs-block p { color: var(--muted); }
.geo-features { font-size: 17px; color: var(--ink-2); line-height: 1.7; max-width: 800px; margin: 24px 0 0; }
.geo-features p { margin-bottom: 16px; }
.popular-goods { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0; }
.popular-good-tag { background: var(--bg-2); color: var(--ink); padding: 8px 14px; border-radius: 8px; font-size: 14.5px; }
.about-history { max-width: 800px; padding: 8px 0 40px; }
.about-history p { margin-bottom: 14px; }

/* FAQ with accordion */
.faq-list { max-width: 860px; border-top: 1px solid var(--line); }
.faq-list .faq-item { border-bottom: 1px solid var(--line); }
.faq-question { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 0; background: transparent; border: 0; cursor: pointer; font-size: 17px; font-weight: 600; text-align: left; color: var(--ink); line-height: 1.4; }
.faq-question svg { flex-shrink: 0; width: 20px; height: 20px; color: var(--muted); transition: transform .25s var(--ease); }
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-answer { max-height: 900px; }
.faq-answer p { padding: 0 0 22px; color: var(--ink-2); }

/* Link cards */
.internal-links { padding: 48px 0; }
.internal-links-title { font-size: 22px; color: var(--ink); font-weight: 650; margin-bottom: 20px; }
.internal-links-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px; }
.internal-link-card { display: flex; align-items: center; padding: 16px 18px; background: var(--bg-2); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); transition: background .2s; }
.internal-link-card:hover { background: var(--line); }
.link-arrow { display: none; }
.link-text { font-size: 15px; font-weight: 500; line-height: 1.4; }
.link-sub { font-size: 13px; color: var(--muted); margin-top: 2px; font-weight: 400; }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; margin: 16px 0 64px; }
.hub-card { display: block; background: var(--bg-2); border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink); transition: background .2s; }
.hub-card:hover { background: var(--line); }
.hub-card-title { font-size: 18px; font-weight: 650; margin-bottom: 6px; color: var(--ink); }
.hub-card-desc { font-size: 15px; color: var(--muted); line-height: 1.5; margin-bottom: 10px; }
.hub-card-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hub-card-tag { background: #fff; color: var(--ink-2); padding: 4px 10px; border-radius: 6px; font-size: 13px; }
.hub-card-meta { font-size: 14px; color: var(--ink); font-weight: 600; }

/* Articles */
.article-header, .article-body, .breadcrumbs:has(~ .article-header) { max-width: 760px; margin-left: auto; margin-right: auto; }
.article-header { padding: 36px 0 0; }
.article-date { font-size: 14px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.article-date svg { width: 15px; height: 15px; stroke: var(--muted); fill: none; stroke-width: 2; }
.article-header h1 { font-size: clamp(30px, 3.6vw, 42px); font-weight: 700; line-height: 1.13; letter-spacing: -0.03em; margin-bottom: 18px; }
.article-header .lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); }
.article-body { padding: 36px 0 64px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.article-body h2 { font-size: 27px; margin-top: 44px; margin-bottom: 16px; line-height: 1.22; }
.article-body h3 { font-size: 21px; margin-top: 32px; margin-bottom: 12px; line-height: 1.3; }
.article-body h4 { font-size: 18px; margin: 24px 0 8px; }
.article-body p { margin-bottom: 18px; }
.article-body a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.article-body a:hover { color: var(--accent-hover); }
.article-body ul, .article-body ol { margin-bottom: 18px; padding-left: 24px; }
.article-body li { margin-bottom: 8px; }
.article-body strong { font-weight: 600; color: var(--ink); }
.article-body blockquote { border-left: 3px solid var(--line-2); padding: 4px 0 4px 20px; margin: 28px 0; color: var(--ink-2); }
.article-body img { height: auto; border-radius: var(--radius-sm); }
.info-box { padding: 22px 26px; margin: 28px 0; display: flex; gap: 14px; align-items: flex-start; }
.info-box svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 3px; }
.info-box p { margin-bottom: 0; font-size: 16px; line-height: 1.65; }
.warning-box { background: var(--accent-soft); border-radius: var(--radius); padding: 22px 26px; margin: 28px 0; }
.warning-box p { margin-bottom: 0; font-size: 16px; }
.warning-box ul { margin: 12px 0 0; font-size: 16px; }
.route-card { padding: 24px 26px; margin: 18px 0; }
.route-card h4 { margin: 0 0 8px; display: flex; align-items: center; gap: 10px; }
.route-card h4 svg { width: 20px; height: 20px; flex-shrink: 0; }
.route-card p { font-size: 16px; margin-bottom: 0; }
.route-card ul { margin: 10px 0 0; padding-left: 20px; }
.route-card li { font-size: 16px; }
.doc-list { list-style: none; padding-left: 0 !important; }
.doc-list li { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.doc-list li:last-child { border-bottom: 0; }
.doc-icon { flex-shrink: 0; width: 28px; height: 28px; border-radius: 6px; background: var(--bg-2); display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.doc-icon svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq-section { margin-top: 44px; }
.faq-section h2 { margin-top: 0; }
.faq-section .faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-section .faq-item h3 { font-size: 18px; margin: 0 0 8px; }
.faq-section .faq-item p { font-size: 16px; color: var(--ink-2); margin-bottom: 0; }
.cta-block { background: var(--bg-2); border-radius: var(--radius); padding: 40px; margin: 48px 0 0; }
.cta-block h3 { font-size: 24px; margin: 0 0 10px; }
.cta-block p { color: var(--muted); margin-bottom: 20px; }

/* Blog list */
.blog-header { padding: 32px 0 36px; }
.blog-header p { font-size: 18px; color: var(--muted); max-width: 640px; }
.blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding-bottom: 72px; }
.article-card { background: var(--bg-2); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.article-card-date { font-size: 13.5px; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.article-card-date svg { width: 14px; height: 14px; stroke: var(--muted); fill: none; stroke-width: 2; }
.article-card h2 { font-size: 21px; line-height: 1.28; margin-bottom: 10px; }
.article-card p { font-size: 15.5px; color: var(--muted); margin-bottom: 16px; flex: 1; }
.article-card-link { color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.article-card-link svg { display: none; }

/* Request form: restyles the shared block without touching its markup */
body .panda-contact { background: var(--bg-2); border-color: transparent; color: var(--ink-2); font-family: inherit; }
body .panda-contact h2 { color: var(--ink); letter-spacing: -0.02em; font-weight: 650; }
body .panda-contact p { color: var(--muted); }
body .panda-contact-field input { border-color: var(--line-2); }
body .panda-contact button.panda-contact-submit { background: var(--accent); gap: 0; }
body .panda-contact button.panda-contact-submit:hover { background: var(--accent-hover); }
body .panda-contact-submit span[aria-hidden] { display: none; }
body .panda-contact-messengers { border-top-color: var(--line); }
body .panda-contact-messengers a, body .panda-contact-privacy a { color: var(--accent); }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 48px 0 40px; font-size: 14.5px; margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(5, minmax(0, 1fr)); gap: 28px; }
.footer h4 { color: var(--ink); font-size: 14.5px; font-weight: 600; letter-spacing: 0; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 8px; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .logo-name { color: var(--ink); }
.footer-bottom { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

@media (min-width: 1081px) and (max-width: 1180px) {
  .header-phone { display: none; }
}

@media (max-width: 1080px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .mobile-menu { display: block; position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 24px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s var(--ease); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; }
  .menu-open .mobile-menu { opacity: 1; transform: none; pointer-events: auto; }
  .mobile-menu a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; font-weight: 500; text-decoration: none; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .section { padding: 52px 0; }
  .blog-grid { grid-template-columns: 1fr; }
  .article-body { font-size: 16.5px; }
  .article-body h2 { font-size: 23px; margin-top: 36px; }
  .article-body h3 { font-size: 19px; }
  .step-item { gap: 14px; }
  .who-needs { padding: 22px; }
  .comparison-table { display: block; overflow-x: auto; font-size: 14px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .hub-grid { grid-template-columns: 1fr; }
  .internal-links-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .header-phone { display: none; }
  .header-actions .btn { display: none; }
  .logo-sub { display: none; }
  .advantages-grid, .steps-grid { grid-template-columns: 1fr; }
  .article-card, .advantage-card { padding: 22px; }
  .footer { padding-bottom: 104px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); transition: transform .3s var(--ease); }
  .mobile-bar.hidden, .menu-open .mobile-bar { transform: translateY(110%); }
  .mobile-bar .btn { min-height: 48px; padding: 0 12px; }
  #kChatBtn { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
