/* ============================================
   ОБЩИЕ СТИЛИ
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: #fff;
    color: #0f172a;
    line-height: 1.6;
}
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   TOP BAR
   ============================================ */
.top-bar {
    background: #f1f5f9;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #e2e8f0;
}
.top-bar-inner {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}
.top-bar .brand {
    font-weight: 700;
    color: #1e293b;
}
.top-bar-contacts {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.top-bar-contacts i {
    margin-right: 6px;
    color: #f97316;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
}
.logo img {
    height: 40px;
}
.logo span {
    color: #1e293b;
}

.switchers {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.switcher-group {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.switcher-group a {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    color: #64748b;
    transition: 0.2s;
    white-space: nowrap;
}
.switcher-group a:hover {
    color: #0f172a;
    background: #f1f5f9;
}
.switcher-group a.active {
    color: #f97316;
    background: #fff7ed;
    font-weight: 700;
}
.switcher-divider {
    color: #e2e8f0;
}

/* Города в несколько строк */
.cities {
    gap: 2px 4px;
    max-width: 100%;
}
.cities a {
    font-size: 0.75rem;
    padding: 2px 8px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.nav a {
    text-decoration: none;
    color: #1e293b;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}
.nav a:hover {
    color: #f97316;
    border-bottom-color: #f97316;
}
.nav-socials {
    display: flex;
    gap: 12px;
    font-size: 1.2rem;
}
.nav-socials a {
    color: #64748b;
    border-bottom: none;
}
.nav-socials a:hover {
    color: #f97316;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #1e293b;
    padding: 0 8px;
    line-height: 1;
}
.mobile-toggle:focus {
    outline: none;
}

/* ============================================
   SLIDER
   ============================================ */
.slider-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}
.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}
.slides {
    display: none;
    height: 100%;
}
.slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: #fff;
    font-weight: bold;
    font-size: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    z-index: 10;
}
.prev {
    left: 20px;
}
.next {
    right: 20px;
}
.prev:hover,
.next:hover {
    background: rgba(0, 0, 0, 0.7);
}
.dots-container {
    text-align: center;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.9);
    position: absolute;
    bottom: 0;
    width: 100%;
}
.dot {
    cursor: pointer;
    height: 12px;
    width: 12px;
    margin: 0 6px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: 0.3s;
}
.dot.active,
.dot:hover {
    background-color: #f97316;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(to bottom, #fff, #f8fafc);
}
.hero h1 {
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 8px;
}
.hero .highlight {
    color: #f97316;
}
.hero .subtitle {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 24px;
}
.hero-city-text {
    max-width: 700px;
    margin: 0 auto 24px;
    color: #475569;
    font-size: 1.05rem;
}
.btn-viber {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #22c55e;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 4px 16px rgba(34, 197, 94, 0.3);
}
.btn-viber:hover {
    background: #16a34a;
    transform: translateY(-3px);
}
.btn-viber-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #22c55e;
    color: #fff;
    padding: 18px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.3rem;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4);
}
.btn-viber-large:hover {
    background: #16a34a;
    transform: scale(1.05);
}

/* ============================================
   SECTIONS (ОБЩИЕ)
   ============================================ */
.section {
    padding: 60px 0;
}
.section-gray {
    background: #f8fafc;
}
.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.section-sub {
    text-align: center;
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 40px;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.about-image img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
    height: 240px;
}
.about-text h2 {
    font-size: 2rem;
    margin-bottom: 16px;
    color: #1e293b;
}
.about-text p {
    color: #475569;
    font-size: 1.05rem;
}
.about-text ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}
.about-text ul li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 8px;
}
.about-text ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: 700;
}

/* ===== SERVICES ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-item {
    text-align: center;
    padding: 30px 20px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.service-item:hover {
    border-color: #f97316;
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.service-item img {
    width: 100%;
    max-width: 180px;        /* Ограничиваем ширину, чтобы не растягивалось */
    height: auto;            /* Автоматическая высота, сохраняем пропорции */
    margin-bottom: 16px;
    object-fit: contain;     /* Чтобы иконка не обрезалась */
    transition: transform 0.3s ease;
}
.service-item:hover img {
    transform: scale(1.05);  /* Лёгкое увеличение при наведении */
}
.service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #1e293b;
}
.service-item p {
    color: #64748b;
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0 auto;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    .service-item img {
        max-width: 150px;
    }
}
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    .service-item {
        padding: 24px 16px;
    }
    .service-item img {
        max-width: 140px;     /* На мобильных иконки чуть меньше, но всё ещё крупные */
        margin-bottom: 12px;
    }
    .service-item h3 {
        font-size: 1.1rem;
    }
    .service-item p {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .service-item img {
        max-width: 120px;
    }
    .service-item {
        padding: 20px 12px;
    }
}
/* ============================================
   PRICES
   ============================================ */
.prices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}
.price-card {
    background: #fff;
    border-radius: 24px;
    padding: 30px 24px;
    border: 1px solid #e2e8f0;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
}
.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
}
.price-card.featured {
    border-color: #f97316;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.12);
}
.price-card h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
}
.price-amount {
    font-size: 2.8rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 16px;
}
.price-card ul {
    list-style: none;
    text-align: left;
    margin: 16px 0 24px;
    flex: 1;
}
.price-card ul li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
}
.price-card ul li i {
    color: #22c55e;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.price-card ul li.missing i {
    color: #ef4444;
}
.price-card ul li.missing {
    color: #94a3b8;
}

/* ============================================
   TECHNOLOGY
   ============================================ */
.technology-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.technology-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
}
.technology-text {
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
}
.technology-text p {
    margin-bottom: 12px;
}
.technology-text ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}
.technology-text ul li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 8px;
}
.technology-text ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: 700;
}

@media (max-width: 768px) {
    .technology-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .technology-image img {
        height: auto;
        max-height: 350px;
        object-fit: contain;
        display: block;
        margin: 0 auto;
        width: 100%;
        border-radius: 24px;
    }
}

/* ============================================
   GALLERY
   ============================================ */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.gallery-item {
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}
.gallery-item:hover img {
    transform: scale(1.03);
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    .gallery-item img {
        height: 150px;
    }
}
@media (max-width: 400px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .gallery-item img {
        height: 200px;
    }
}

/* ============================================
   COOPERATION (СТО)
   ============================================ */
.cooperation-content {
    max-width: 800px;
    margin: 0 auto;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.8;
}
.cooperation-content p {
    margin-bottom: 12px;
}
.cooperation-content ul {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}
.cooperation-content ul li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 8px;
}
.cooperation-content ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: 700;
}
.cooperation-content .btn-viber {
    display: inline-block;
    margin-top: 16px;
}

/* ============================================
   BOOKING
   ============================================ */
.booking-center {
    text-align: center;
}
.booking-center h2 {
    font-size: 2rem;
    margin-bottom: 8px;
}
.booking-center p {
    font-size: 1.2rem;
    color: #475569;
    margin-bottom: 20px;
}

/* ============================================
   REVIEWS
   ============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.review-item {
    background: #fff;
    padding: 24px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}
.review-item .stars {
    color: #f59e0b;
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.review-item q {
    display: block;
    font-style: italic;
    color: #334155;
    margin-bottom: 12px;
}
.review-item .author {
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.95rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 40px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}
.footer-col img {
    height: 40px;
    margin-bottom: 12px;
}
.footer-col h4 {
    margin-bottom: 12px;
    font-size: 1.1rem;
    color: #fff;
}
.footer-col a {
    display: block;
    color: #94a3b8;
    text-decoration: none;
    padding: 4px 0;
    transition: 0.2s;
}
.footer-col a:hover {
    color: #f97316;
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */
@media (max-width: 992px) {
    .prices-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
}
@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav {
        display: none;
        flex-direction: column;
        width: 100%;
        padding: 20px 0;
        border-top: 1px solid #e2e8f0;
        margin-top: 12px;
        gap: 12px;
        background: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    .nav.open {
        display: flex !important;
    }
    .nav a {
        padding: 8px 20px;
        border-bottom: none;
        width: 100%;
        text-align: center;
        font-size: 1rem;
    }
    .nav-socials {
        justify-content: center;
        padding: 8px 0;
        gap: 16px;
    }
    .header-inner {
        position: relative;
        flex-wrap: wrap;
    }
    .switchers {
        order: 2;
        width: 100%;
        justify-content: center;
        margin-top: 4px;
        flex-wrap: wrap;
        gap: 6px;
    }
    .logo {
        flex: 1;
    }

    .slider-section {
        height: 250px;
    }
    .prev,
    .next {
        width: 36px;
        height: 36px;
        font-size: 16px;
        padding: 8px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }
    .services-grid {
        grid-template-columns: 1fr;
    }
    .prices-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }
    .section {
        padding: 40px 0;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .btn-viber-large {
        padding: 14px 28px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .switcher-group a {
        font-size: 0.7rem;
        padding: 2px 6px;
    }
    .hero .subtitle {
        font-size: 1rem;
    }
    .price-amount {
        font-size: 2.2rem;
    }
    .cities a {
        font-size: 0.65rem;
        padding: 1px 4px;
    }
}

/* ============================================
   БЛОГ (ВСЕ СТИЛИ)
   ============================================ */

/* ----- Главная блога (сетка карточек) ----- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.blog-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    border-color: #f97316;
}

.blog-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-image {
    height: 200px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}

.blog-card-content {
    padding: 20px 24px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-card-date {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.blog-card-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
    color: #0f172a;
    transition: color 0.2s;
}

.blog-card:hover .blog-card-content h3 {
    color: #f97316;
}

.blog-card-content p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 12px;
}

.blog-card-readmore {
    display: inline-block;
    margin-top: auto;
    color: #f97316;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s;
    align-self: flex-start;
}

.blog-card-readmore::after {
    content: " →";
    transition: transform 0.2s;
    display: inline-block;
}

.blog-card:hover .blog-card-readmore::after {
    transform: translateX(4px);
}

/* ----- Страница одной статьи ----- */
.blog-back {
    display: inline-block;
    margin-bottom: 24px;
    color: #f97316;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.2s;
    padding: 6px 0;
}

.blog-back:hover {
    color: #ea580c;
    text-decoration: underline;
}

.blog-back::before {
    content: "← ";
}

.blog-post-content {
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 20px;
}

.blog-post-content h1 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    color: #0f172a;
}

.blog-post-content .blog-post-meta {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.blog-post-content h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
    color: #0f172a;
}

.blog-post-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 10px;
    color: #0f172a;
}

.blog-post-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 8px;
    color: #0f172a;
}

.blog-post-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 16px;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 16px 0 20px;
    padding-left: 28px;
    color: #334155;
}

.blog-post-content ul li,
.blog-post-content ol li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.blog-post-content ul {
    list-style: none;
}

.blog-post-content ul li {
    padding-left: 24px;
    position: relative;
}

.blog-post-content ul li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #f97316;
    font-weight: 700;
}

.blog-post-content blockquote {
    border-left: 4px solid #f97316;
    padding: 16px 24px;
    margin: 20px 0;
    background: #f8fafc;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
}

.blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.95rem;
    border-radius: 12px;
    overflow: hidden;
}

.blog-post-content th,
.blog-post-content td {
    border: 1px solid #e2e8f0;
    padding: 12px 16px;
    text-align: left;
}

.blog-post-content th {
    background: #f1f5f9;
    font-weight: 700;
    color: #0f172a;
}

.blog-post-content tr:nth-child(even) {
    background: #f8fafc;
}

.blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.blog-post-content .btn-viber {
    display: inline-block;
    margin-top: 16px;
}

.blog-post-content .highlight-box {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    padding: 20px 24px;
    margin: 24px 0;
    color: #9a3412;
}

/* ----- Адаптивность блога ----- */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .blog-card-image {
        height: 180px;
    }

    .blog-card-content h3 {
        font-size: 1.05rem;
    }

    .blog-post-content {
        padding: 0 4px;
    }

    .blog-post-content h1 {
        font-size: 1.6rem;
    }

    .blog-post-content h2 {
        font-size: 1.3rem;
    }

    .blog-post-content h3 {
        font-size: 1.1rem;
    }

    .blog-post-content p {
        font-size: 0.98rem;
    }

    .blog-post-content table {
        font-size: 0.85rem;
    }

    .blog-post-content th,
    .blog-post-content td {
        padding: 8px 10px;
    }
}

@media (max-width: 480px) {
    .blog-grid {
        gap: 20px;
    }

    .blog-card-image {
        height: 160px;
    }

    .blog-card-content {
        padding: 16px 18px 20px;
    }

    .blog-back {
        font-size: 0.9rem;
    }

    .blog-post-content ul,
    .blog-post-content ol {
        padding-left: 20px;
    }
}

/* ----- Анимации появления карточек ----- */
.blog-card {
    animation: blogFadeUp 0.6s ease forwards;
    opacity: 0;
}

.blog-card:nth-child(1) { animation-delay: 0.05s; }
.blog-card:nth-child(2) { animation-delay: 0.10s; }
.blog-card:nth-child(3) { animation-delay: 0.15s; }
.blog-card:nth-child(4) { animation-delay: 0.20s; }
.blog-card:nth-child(5) { animation-delay: 0.25s; }
.blog-card:nth-child(6) { animation-delay: 0.30s; }

@keyframes blogFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* ===== FOR WHICH CARS ===== */
.cars-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto 20px;
}
.cars-brand {
    background: #fff;
    border-radius: 20px;
    padding: 28px 24px;
    border: 1px solid #e2e8f0;
    transition: 0.3s;
}
.cars-brand:hover {
    border-color: #f97316;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.cars-brand h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
    color: #0f172a;
    text-align: center;
}
.cars-brand ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.cars-brand ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #334155;
    font-size: 1rem;
}
.cars-brand ul li:last-child {
    border-bottom: none;
}
.cars-brand ul li strong {
    color: #0f172a;
}
.cars-note {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    color: #475569;
    font-size: 1.05rem;
    background: #fff7ed;
    padding: 16px 24px;
    border-radius: 16px;
    border: 1px solid #fed7aa;
}
.cars-note strong {
    color: #0f172a;
}

@media (max-width: 768px) {
    .cars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cars-brand {
        padding: 20px 16px;
    }
    .cars-brand h3 {
        font-size: 1.2rem;
    }
    .cars-brand ul li {
        font-size: 0.95rem;
        padding: 6px 0;
    }
    .cars-note {
        font-size: 0.95rem;
        padding: 14px 16px;
    }
}
@media (max-width: 480px) {
    .cars-brand ul li {
        font-size: 0.9rem;
    }
}