/* ============================================================
   TRANSIT SERVICE — gruzploshadka-site
   style.css  v1.0
   ============================================================ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --red:        #d61f26;
  --red-dark:   #a8151b;
  --black:      #111111;
  --white:      #FFFFFF;
  --bg-light:   #F5F7FA;
  --border:     #E2E5EA;
  --text:       #111111;
  --muted:      #666666;
  --wa:         #25D366;
  --wa-dark:    #1DA851;
  --font:       -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  --max:        1140px;
  --r:          4px;
  --shadow:     0 2px 8px rgba(0,0,0,.10);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--white);
       font-size: 16px; line-height: 1.65; }
img  { max-width: 100%; display: block; }
a    { color: var(--red); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { padding-left: 1.4em; }
li     { margin-bottom: .35em; }

/* ── Container ──────────────────────────────────────────────── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  background: var(--black);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 92px; max-width: var(--max); margin: 0 auto;
}
.logo {
  display: inline-flex; align-items: center;
  text-decoration: none; flex-shrink: 0;
}
.logo:hover { opacity: .88; text-decoration: none; }

/* Логотип в шапке: прозрачный PNG на белой подложке */
.logo-img {
  display: block;
  height: 76px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 4px;
  padding: 5px 12px;
}

/* Логотип в футере: та же белая подложка */
.logo-footer { }
.logo-img-footer {
  display: block;
  height: 62px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  border-radius: 3px;
  padding: 4px 9px;
  opacity: .88;
}

/* Скрываем старые текстовые/SVG элементы */
.logo-arrow { display: none; }
.logo span  { display: none; }
.logo-sub   { display: none; }

/* ── Nav ────────────────────────────────────────────────────── */
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  color: #ccc; font-size: 14px; padding: 6px 10px;
  border-radius: var(--r); transition: color .15s, background .15s;
  white-space: nowrap;
}
.nav a:hover { color: var(--white); background: rgba(255,255,255,.08); text-decoration: none; }
.nav a.active { color: var(--white); }

/* dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 10px; }
.dropdown-menu {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  background: var(--black); border: 1px solid #333;
  border-radius: var(--r); min-width: 220px; z-index: 200;
  box-shadow: 0 4px 16px rgba(0,0,0,.5);
}
.dropdown-menu a {
  display: block; padding: 9px 16px; border-bottom: 1px solid #2a2a2a;
  font-size: 13px;
}
.dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown:hover .dropdown-menu { display: block; }

/* WA header btn */
.btn-wa-header {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--wa); color: var(--white); font-weight: 700; font-size: 13px;
  padding: 9px 16px; border-radius: var(--r);
  text-decoration: none; white-space: nowrap; transition: background .15s;
}
.btn-wa-header:hover { background: var(--wa-dark); text-decoration: none; }

/* hamburger */
.burger { display: none; flex-direction: column; gap: 5px;
          cursor: pointer; padding: 8px; background: none; border: none; }
.burger span { display: block; width: 24px; height: 2px; background: var(--white);
               transition: all .2s; border-radius: 2px; }

/* mobile nav */
.mobile-nav {
  display: none; background: #111; border-top: 1px solid #333;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; color: #ccc; padding: 12px 20px;
                border-bottom: 1px solid #222; font-size: 15px; }
.mobile-nav a:hover { color: var(--white); background: #1e1e1e; text-decoration: none; }
.mobile-nav .mob-wa {
  background: var(--wa); color: var(--white); font-weight: 700;
  text-align: center; margin: 16px 20px 16px; border-radius: var(--r); display: block;
  border-bottom: none;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  background: #f7f7f7;
  color: var(--black);
  padding: 76px 0 68px;
  border-top: 2px solid var(--red);
  border-bottom: 1px solid #e2e5ea;
  box-shadow: 0 6px 28px rgba(0,0,0,.07);
}
.hero h1 { font-size: clamp(26px, 4vw, 44px); font-weight: 900;
            line-height: 1.18; margin-bottom: 16px; color: var(--black); }
.hero h1 span { color: var(--red); }
.hero-lead { font-size: 17px; color: #444; max-width: 620px;
              margin-bottom: 28px; line-height: 1.65; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--wa); color: var(--white); font-weight: 700; font-size: 15px;
  padding: 14px 28px; border-radius: var(--r);
  text-decoration: none; transition: background .15s;
}
.btn-wa:hover { background: var(--wa-dark); text-decoration: none; }
.btn-wa-lg { font-size: 17px; padding: 16px 36px; }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--black); font-weight: 600; font-size: 15px;
  padding: 13px 24px; border-radius: var(--r); border: 2px solid #bbb;
  text-decoration: none; transition: border-color .15s, color .15s;
}
.btn-outline:hover { border-color: var(--black); color: var(--black); text-decoration: none; }

/* ── Breadcrumb ─────────────────────────────────────────────── */
.breadcrumb {
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breadcrumb ol { list-style: none; padding: 0; display: flex;
                  flex-wrap: wrap; gap: 6px; font-size: 13px; color: var(--muted); }
.breadcrumb li + li::before { content: '›'; margin-right: 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--red); text-decoration: none; }

/* ── Page layout ─────────────────────────────────────────────── */
.page-wrap { display: grid; grid-template-columns: 1fr 320px; gap: 40px;
              padding: 40px 0 60px; }
.page-content { min-width: 0; }
.page-sidebar { min-width: 0; }

/* ── Typography ─────────────────────────────────────────────── */
.page-content h2 { font-size: 22px; font-weight: 700; margin: 36px 0 14px;
                    color: var(--black); border-bottom: 2px solid var(--red);
                    padding-bottom: 8px; }
.page-content h3 { font-size: 17px; font-weight: 700; margin: 22px 0 10px;
                    color: var(--black); }
.page-content p  { margin-bottom: 14px; }
.page-content ul { margin-bottom: 14px; }

/* ── Sections ───────────────────────────────────────────────── */
section.section { padding: 52px 0; }
section.section + section.section { border-top: 1px solid var(--border); }
section.section.bg-gray { background: var(--bg-light); }
section.section.bg-dark { background: var(--black); color: var(--white); }
section.section.bg-dark h2 { color: var(--white); border-color: var(--red); }

.section-title {
  font-size: clamp(20px, 3vw, 28px); font-weight: 800;
  margin-bottom: 8px; line-height: 1.25;
}
.section-sub { color: var(--muted); margin-bottom: 32px; font-size: 16px; }

/* ── Cards grid ─────────────────────────────────────────────── */
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
          gap: 20px; margin-top: 28px; }
.card {
  border: 1px solid var(--border); border-radius: 6px;
  padding: 24px 20px; background: var(--white);
  transition: box-shadow .2s, border-color .2s;
}
.card:hover { box-shadow: var(--shadow); border-color: var(--red); }
.card-icon { font-size: 32px; margin-bottom: 12px; }
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.card p  { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.card a.card-link { font-size: 14px; font-weight: 600; color: var(--red); }
.cards-sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }

/* info box */
.info-box {
  background: var(--bg-light); border-left: 4px solid var(--red);
  border-radius: var(--r); padding: 20px 24px; margin: 24px 0;
}
.info-box h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.info-box p  { font-size: 15px; color: var(--muted); margin: 0; }

/* ── Tables ──────────────────────────────────────────────────── */
.tbl-wrap { overflow-x: auto; margin: 20px 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; }
thead tr { background: var(--black); color: var(--white); }
thead th { padding: 12px 14px; text-align: left; font-weight: 600; white-space: nowrap; }
tbody tr:nth-child(even) { background: var(--bg-light); }
tbody td { padding: 11px 14px; border-bottom: 1px solid var(--border); }
tbody tr:last-child td { border-bottom: none; }
.tbl-link { color: var(--red); font-weight: 600; }

/* ── CTA blocks ─────────────────────────────────────────────── */
.cta-light {
  background: var(--bg-light); border-left: 4px solid var(--red);
  border-radius: var(--r); padding: 24px 28px; margin: 32px 0;
}
.cta-light h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.cta-light p  { color: var(--muted); margin-bottom: 18px; }

.cta-dark {
  background: var(--black); color: var(--white);
  border-radius: 6px; padding: 40px 32px; margin: 48px 0; text-align: center;
  position: relative; overflow: hidden;
}
.cta-dark::before {
  content:''; position:absolute; top:0; left:0; right:0; height:3px; background: var(--red);
}
.cta-dark h2, .cta-dark h3 {
  font-size: clamp(20px, 3vw, 26px); font-weight: 800; margin-bottom: 10px;
  color: var(--white) !important; border: none !important; padding: 0 !important;
}
.cta-dark p { color: #bbb; margin-bottom: 24px; font-size: 16px; }

/* ── FAQ ─────────────────────────────────────────────────────── */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 16px 0; font-size: 16px; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  color: var(--text);
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--red); flex-shrink: 0; }
.faq-q.open::after { content: '−'; }
.faq-a { display: none; padding: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-a.open { display: block; }

/* ── Sidebar ─────────────────────────────────────────────────── */
.sidebar-box {
  border: 1px solid var(--border); border-radius: 6px; overflow: hidden;
  margin-bottom: 24px;
}
.sidebar-box-head {
  background: var(--black); color: var(--white);
  padding: 14px 18px; font-weight: 700; font-size: 14px;
}
.sidebar-box-head.red { background: var(--red); }
.sidebar-links { list-style: none; padding: 0; }
.sidebar-links li { border-bottom: 1px solid var(--border); }
.sidebar-links li:last-child { border-bottom: none; }
.sidebar-links a {
  display: block; padding: 11px 18px; font-size: 14px; color: var(--text);
  transition: background .15s, color .15s;
}
.sidebar-links a:hover { background: var(--bg-light); color: var(--red);
                          text-decoration: none; }
.sidebar-links a.active { color: var(--red); font-weight: 600; }
.sidebar-cta {
  background: var(--wa); color: var(--white); border-radius: 6px;
  padding: 20px 18px; text-align: center; margin-bottom: 24px;
}
.sidebar-cta p { font-size: 14px; margin-bottom: 14px; opacity: .9; }
.sidebar-cta a {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); color: var(--wa-dark); font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: var(--r); text-decoration: none;
}
.sidebar-cta a:hover { text-decoration: none; opacity: .9; }

/* ── Reviews ────────────────────────────────────────────────── */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
            gap: 20px; margin-top: 28px; }
.review-card {
  border: 1px solid var(--border); border-radius: 6px; padding: 22px;
  background: var(--white);
}
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--red); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; flex-shrink: 0;
}
.review-name { font-weight: 700; font-size: 15px; }
.review-company { font-size: 13px; color: var(--muted); }
.review-stars { color: #F59E0B; font-size: 16px; margin-bottom: 8px; }
.review-text { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* ── Specs list ─────────────────────────────────────────────── */
.specs { list-style: none; padding: 0; display: grid;
          grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.spec-item {
  background: var(--bg-light); border-radius: var(--r);
  padding: 14px 16px; border-left: 3px solid var(--red);
}
.spec-label { font-size: 12px; color: var(--muted); text-transform: uppercase;
               letter-spacing: .5px; margin-bottom: 4px; }
.spec-value { font-size: 18px; font-weight: 700; }

/* ── Steps ──────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
          gap: 20px; margin-top: 24px; }
.step { display: flex; gap: 14px; align-items: flex-start; }
.step-num {
  width: 36px; height: 36px; background: var(--red); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; flex-shrink: 0; margin-top: 2px;
}
.step-text h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.step-text p  { font-size: 14px; color: var(--muted); }

/* ── Badge tags ─────────────────────────────────────────────── */
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.tag {
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: 20px; padding: 5px 14px; font-size: 13px; color: var(--muted);
}
.tag.red { background: #FEF2F2; border-color: #FCA5A5; color: var(--red); }

/* ── Contact block ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-row { display: flex; gap: 12px; align-items: flex-start; }
.contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-label { font-size: 12px; color: var(--muted); text-transform: uppercase;
                  letter-spacing: .4px; margin-bottom: 4px; }
.contact-val { font-size: 16px; font-weight: 600; }
.contact-val a { color: var(--text); }
.map-placeholder {
  background: var(--bg-light); border: 1px solid var(--border);
  border-radius: 6px; height: 300px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 14px;
}

/* ── Footer ──────────────────────────────────────────────────── */
.site-footer { background: var(--black); color: #aaa; padding: 48px 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  margin-bottom: 36px;
}
.footer-brand .logo { font-size: 17px; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; line-height: 1.6; }
.footer-col h4 { color: var(--white); font-size: 13px; font-weight: 700;
                  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: #aaa; font-size: 13px; }
.footer-col a:hover { color: var(--white); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #2a2a2a; padding-top: 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
}
.footer-bottom a { color: #888; }
.footer-bottom a:hover { color: var(--white); text-decoration: none; }

/* ── Floating WA button ──────────────────────────────────────── */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  background: var(--wa); color: var(--white);
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,.5);
  text-decoration: none; transition: transform .2s, box-shadow .2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37,211,102,.7);
  text-decoration: none;
}
.wa-float svg { width: 28px; height: 28px; }


/* ── Hero stats bar ─────────────────────────────────────────── */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 36px;
}
.hero-stat {
  background: #fff;
  border: 1px solid #e2e5ea;
  border-bottom: 3px solid var(--red);
  border-radius: 8px;
  padding: 16px 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .2s;
}
.hero-stat:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
/* stat separators removed — now cards */
.hero-stat:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
.hero-stat-num {
  font-size: 28px; font-weight: 900; color: var(--red);
  line-height: 1; margin-bottom: 6px;
}
.hero-stat-label {
  font-size: 11px; color: #888;
  text-transform: uppercase; letter-spacing: .6px;
  line-height: 1.3;
}
@media (max-width: 600px) {
  .hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 36px;
}
  /* stat separators removed — now cards */
.hero-stat:hover {
  box-shadow: 0 4px 18px rgba(0,0,0,.09);
  transform: translateY(-2px);
}
  .hero-stat-num {
  font-size: 28px; font-weight: 900; color: var(--red);
  line-height: 1; margin-bottom: 6px;
}
}


/* ── Hero двухколоночный layout ─────────────────────────── */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 48px;
  align-items: center;
}
.hero-text { min-width: 0; }
.hero-visual {
  display: flex;
  align-items: stretch;
}

/* Карточка транспортного парка */
.hv-card {
  width: 100%;
  background: #fff;
  border: 1px solid #e2e5ea;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  overflow: hidden;
}
.hv-card-head {
  background: var(--red);
  color: #fff;
  padding: 11px 18px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: #e2e5ea;
  border-bottom: 1px solid #e2e5ea;
}
.hv-item {
  background: #fff;
  padding: 11px 14px;
}
.hv-item-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}
.hv-item-cap {
  font-size: 11px;
  color: var(--red);
  font-weight: 600;
}
.hv-footer {
  padding: 10px 18px;
  font-size: 12px;
  color: #777;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hv-footer strong { color: var(--black); }

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-visual { display: none; }
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 900px) {
  .page-wrap { grid-template-columns: 1fr; }
  .page-sidebar { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav { display: none; }
  .btn-wa-header { display: none; }
  .burger { display: flex; }
  .hero { padding: 48px 0 36px; }
  .section.section { padding: 36px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cta-dark { padding: 28px 20px; }
}
@media (max-width: 480px) {
  .cards { grid-template-columns: 1fr; }
  .specs { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .btn-wa, .btn-outline { justify-content: center; }
}
