/* Крым ГрузТранс — оформление повторяет оригинал:
   тёмно-синий #06168d, красный #ff0000, зелёный WhatsApp #2cb742, Roboto. */

*, *::before, *::after { box-sizing: border-box; }
body {
    margin: 0;
    font-family: Roboto, -apple-system, "Segoe UI", Arial, sans-serif;
    color: #303030;
    background: #fff;
    font-size: 16px;
    line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ── шапка ─────────────────────────────────────────────────────────────── */
.top {
    background: #e9eaec url("/img/depositphotos_22528983-stock-illustration-black-tire-track.jpg") center/cover;
    background-blend-mode: lighten;
    padding: 12px 0;
    border-bottom: 1px solid #d5d7db;
}
.top-grid { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.top-slogan p { margin: 0; font-size: 14px; line-height: 1.4; }
.top-slogan .note { margin-top: 8px; }
.top-logo img { height: 86px; width: auto; }
.top-contact { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.top-phone { font-size: 22px; font-weight: 700; color: #06168d; text-decoration: none; white-space: nowrap; }
.city-btn {
    background: none; border: 0; cursor: pointer; color: #152ee9;
    font: inherit; font-size: 14px; padding: 0; display: inline-flex; gap: 4px; align-items: center;
}
.city-btn:hover { text-decoration: underline; }

/* ── меню ──────────────────────────────────────────────────────────────── */
.nav { background: #06168d; position: relative; z-index: 20; }
.nav .wrap { display: flex; align-items: center; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.menu > li { position: relative; }
.menu > li > a {
    display: block; padding: 14px 24px; color: #fff; text-decoration: none;
    text-transform: uppercase; font-weight: 700; font-size: 14px; letter-spacing: .3px;
}
.menu > li:hover > a { background: rgba(255, 255, 255, .12); }
.caret { font-size: 12px; opacity: .8; }
.submenu {
    position: absolute; top: 100%; left: 0; min-width: 280px; background: #06168d;
    list-style: none; margin: 0; padding: 6px 0; display: none; box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.menu > li:hover .submenu { display: block; }
.submenu a { display: block; padding: 9px 24px; color: #fff; text-decoration: none; font-size: 15px; }
.submenu a:hover { background: rgba(255, 255, 255, .14); }
.burger { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; margin-left: auto; }

/* ── первый экран ──────────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(80deg, rgba(255, 0, 0, .83) 0%, #06168d 100%),
                url("/img/kartonnie_korobki.png") center/cover;
    color: #fff; padding: 96px 0;
}
.hero.hero-sm { padding: 62px 0; }
.hero h1 { margin: 0; font-size: 46px; line-height: 1.15; font-weight: 900; }

/* ── полоса контактов ──────────────────────────────────────────────────── */
.strip { background: #06168d; color: #fff; padding: 24px 0; }
.strip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: center; }
.strip-right { text-align: right; }
.strip-label { margin: 0 0 4px; font-size: 20px; }
.strip-phone { font-size: 32px; font-weight: 900; color: #fff; text-decoration: none; white-space: nowrap; }
.strip-wa { font-size: 30px; font-weight: 900; color: #2cb742; text-decoration: none; }

/* ── контентные блоки ──────────────────────────────────────────────────── */
.block { padding: 58px 0; background: #f4f5f7; }
.block-alt { background: #fff; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: start; }
h2 { color: #06168d; font-size: 32px; font-weight: 900; margin: 0 0 18px; line-height: 1.2; }
.h2-center { text-align: center; }
h3 { color: #06168d; font-size: 21px; margin: 26px 0 10px; }
.article p { margin: 0 0 14px; }
.article h2 { margin-top: 34px; }
.article h2:first-child { margin-top: 0; }

.check { list-style: none; margin: 0 0 18px; padding: 0; }
.check li { position: relative; padding-left: 28px; margin-bottom: 9px; }
.check li::before { content: "✔"; position: absolute; left: 0; top: 0; color: #152ee9; font-weight: 700; }

.price { color: #ff0000; font-weight: 900; font-size: 22px; margin: 18px 0 6px; }
.price-note { color: #ff4545; margin: 0; font-size: 15px; }

/* ── карточки автопарка ────────────────────────────────────────────────── */
.col-cards { display: grid; gap: 22px; }
.card { border: 1px solid #c4c4c4; background: #fff; }
.card-head { background: #06168d; color: #fff; text-align: center; padding: 9px 12px; font-size: 14px; font-weight: 700; }
.card-body { padding: 14px; }
.card-price { background: #ff0000; color: #fff; text-align: center; padding: 9px; font-size: 14px; font-weight: 700; }

/* ── призыв к действию ─────────────────────────────────────────────────── */
.cta { background: #fff; padding: 52px 0; text-align: center; }
.cta h2 { margin-bottom: 10px; }
.cta p { max-width: 720px; margin: 0 auto 24px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn {
    display: inline-block; padding: 15px 28px; border-radius: 4px; color: #fff;
    text-decoration: none; font-weight: 700; font-size: 17px;
}
.btn-red { background: #ff0000; }
.btn-red:hover { background: #d80000; }
.btn-green { background: #2cb742; }
.btn-green:hover { background: #229636; }

/* ── галерея и отзывы ──────────────────────────────────────────────────── */
.gallery { padding: 52px 0; background: #f4f5f7; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.gallery-grid img { width: 100%; height: 190px; object-fit: cover; border: 1px solid #d5d7db; }
.reviews { padding: 52px 0; }

/* ── подвал ────────────────────────────────────────────────────────────── */
.foot { background: #06168d; color: #fff; padding: 44px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
.foot-logo { height: 92px; width: auto; margin-bottom: 12px; }
.foot-title { font-weight: 900; font-size: 18px; margin: 0 0 12px; }
.foot-link { display: block; color: #fff; text-decoration: none; opacity: .88; margin-bottom: 8px; }
.foot-link:hover { opacity: 1; text-decoration: underline; }
.foot-phone { display: block; font-size: 24px; font-weight: 900; color: #fff; text-decoration: none; margin-bottom: 10px; }
.foot-note { opacity: .8; font-size: 14px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .2); margin-top: 34px; padding-top: 16px; padding-bottom: 20px; }
.foot-bottom p { margin: 0; font-size: 14px; opacity: .8; }

/* ── выбор города ──────────────────────────────────────────────────────── */
.city-modal { position: fixed; inset: 0; background: rgba(0, 0, 0, .55); z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; }
.city-modal[hidden] { display: none; }
.city-box { background: #fff; border-radius: 6px; padding: 26px; max-width: 560px; width: 100%; position: relative; }
.city-close { position: absolute; top: 10px; right: 12px; background: none; border: 0; font-size: 20px; cursor: pointer; color: #7a7a7a; }
.city-q { margin: 0 0 16px; font-size: 18px; }
.city-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.city-link { display: block; padding: 8px 10px; background: #f4f5f7; border-radius: 4px; text-decoration: none; color: #06168d; }
.city-link:hover { background: #e3e6f5; }
.city-link.is-current { background: #06168d; color: #fff; }
.city-note { margin: 16px 0 0; color: #7a7a7a; font-size: 14px; }

/* ── кнопка WhatsApp ───────────────────────────────────────────────────── */
.fab {
    position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%;
    background: #2cb742; color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 900; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .28); z-index: 50;
}

/* ── телефоны и планшеты ───────────────────────────────────────────────── */
@media (max-width: 900px) {
    .top-grid { grid-template-columns: 1fr auto; }
    .top-slogan { display: none; }
    .top-logo img { height: 62px; }
    .top-phone { font-size: 19px; }
    .burger { display: block; }
    .menu { display: none; width: 100%; flex-direction: column; }
    .menu.open { display: flex; }
    .menu > li > a { padding: 12px 4px; }
    .submenu { position: static; display: block; box-shadow: none; padding-left: 14px; }
    .hero { padding: 54px 0; }
    .hero h1 { font-size: 30px; }
    .strip-grid { grid-template-columns: 1fr; text-align: center; }
    .strip-right { text-align: center; }
    .strip-phone { font-size: 26px; }
    .two-col, .foot-grid { grid-template-columns: 1fr; }
    h2 { font-size: 25px; }
}

/* ── одностраничник: первый экран ──────────────────────────────────────── */
.hero-top { margin: 0 0 6px; font-size: 18px; font-weight: 500; opacity: .95; }
.hero-price { font-size: 34px; font-weight: 900; margin: 18px 0 6px; }
.hero-sub { margin: 0; font-size: 18px; opacity: .95; }
.menu-item > a { display: block; padding: 14px 24px; color: #fff; text-decoration: none;
                 text-transform: uppercase; font-weight: 700; font-size: 14px; }
