/* ============================================================
 * Modern compact layout для profi-m.pro — v5
 * Применяется ко всем страницам, особые правила для главной.
 * ============================================================ */

/* === ФОН (только главная) === */
body.page-id-1 {
    background:
        radial-gradient(ellipse 1200px 800px at 0% 0%, rgba(0, 122, 255, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse 1000px 700px at 100% 30%, rgba(175, 82, 222, 0.04) 0%, transparent 60%),
        linear-gradient(180deg, #fbfbfd 0%, #ffffff 50%, #f5f5f7 100%) !important;
    background-attachment: fixed !important;
}

/* === КОМПАКТНЫЕ ОТСТУПЫ СЕКЦИЙ (весь сайт) === */
body section,
body section.bg-white,
body section.bg-white-blue,
body section.bg-black {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    margin: 0 !important;
    border-radius: 0 !important;
}

@media (min-width: 768px) {
    body section,
    body section.bg-white,
    body section.bg-white-blue,
    body section.bg-black {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
}

@media (min-width: 1024px) {
    body section,
    body section.bg-white,
    body section.bg-white-blue,
    body section.bg-black {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }
}

/* Убираем скругления секций (Apple-стиль — чёткие края) */
body .bg-round {
    border-radius: 0 !important;
}

/* Серая Apple-секция */
body.page-id-1 .bg-white-blue {
    background: #f5f5f7 !important;
    background-color: #f5f5f7 !important;
}

body.page-id-1 section.bg-white {
    background: #ffffff !important;
    background-color: #ffffff !important;
    backdrop-filter: none !important;
}

/* === Убираем избыточные внутренние margin (двойные отступы) === */
body .padding-line { display: none !important; }
body section > .container > *:first-child { margin-top: 0 !important; padding-top: 0 !important; }
body section > .container > *:last-child { margin-bottom: 0 !important; padding-bottom: 0 !important; }

/* Заголовки секций — компактные */
body .title-block,
body .order-wrap {
    margin-bottom: 24px !important;
}

@media (min-width: 1024px) {
    body .title-block,
    body .order-wrap {
        margin-bottom: 32px !important;
    }
}

/* === HERO — компактный === */
body.page-id-1 .home-banner {
    background: linear-gradient(135deg, #1d1d1f 0%, #2c2c2e 100%) !important;
    border-radius: 0 !important;
    margin: 0 !important;
    padding: 20px 0 20px !important;
    box-shadow: none !important;
    color: #f5f5f7 !important;
}

@media (min-width: 1024px) {
    body.page-id-1 .home-banner {
        padding: 32px 0 32px !important;
    }
}

body.page-id-1 .home-banner__head {
    margin-bottom: 18px !important;
    gap: 20px !important;
}

@media (min-width: 1024px) {
    body.page-id-1 .home-banner__head {
        margin-bottom: 28px !important;
        gap: 28px !important;
    }
}

body.page-id-1 .home-banner__title {
    font-size: 28px !important;
    font-weight: 700 !important;
    line-height: 1.05 !important;
    letter-spacing: -0.028em !important;
    color: #f5f5f7 !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    body.page-id-1 .home-banner__title { font-size: 38px !important; }
}

@media (min-width: 1200px) {
    body.page-id-1 .home-banner__title { font-size: 48px !important; }
}

body.page-id-1 .home-banner__text {
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-style: normal !important;
    margin-bottom: 12px !important;
    color: rgba(245, 245, 247, 0.85) !important;
}

body.page-id-1 .home-banner__like {
    font-size: 11px !important;
    color: rgba(245, 245, 247, 0.55) !important;
    margin-bottom: 6px !important;
}

body.page-id-1 .home-banner__like img {
    width: 14px !important;
    height: 14px !important;
    opacity: 0.7;
}

body.page-id-1 .home-banner-slider-wrapper {
    height: 340px !important;
}

@media (min-width: 1024px) {
    body.page-id-1 .home-banner-slider-wrapper {
        height: 400px !important;
    }
}

body.page-id-1 .home-banner-slider-control {
    padding: 10px 0 !important;
    margin-bottom: 16px !important;
}

body.page-id-1 .home-banner-slide__title {
    font-size: 18px !important;
    font-weight: 600 !important;
    letter-spacing: -0.018em !important;
    line-height: 1.2 !important;
}

@media (min-width: 768px) {
    body.page-id-1 .home-banner-slide__title { font-size: 22px !important; }
}

body.page-id-1 .home-banner-slide__text {
    font-size: 16px !important;
    font-weight: 600 !important;
    font-style: normal !important;
    opacity: 0.95;
    letter-spacing: -0.01em !important;
}

@media (min-width: 768px) {
    body.page-id-1 .home-banner-slide__text {
        font-size: 20px !important;
    }
}

@media (min-width: 1024px) {
    body.page-id-1 .home-banner-slide__text {
        font-size: 24px !important;
    }
}

body.page-id-1 .home-banner h1,
body.page-id-1 .home-banner h2,
body.page-id-1 .home-banner .home-banner__title,
body.page-id-1 .home-banner__text,
body.page-id-1 .home-banner__like,
body.page-id-1 .home-banner-slide__title,
body.page-id-1 .home-banner-slide__text {
    color: #f5f5f7 !important;
}

/* === Карточки — деликатные тени === */
body .project-item,
body .blog-item,
body .offer-item,
body .faq-item,
body .stages-item,
body .reviews-item {
    border-radius: 18px !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), 0 4px 12px rgba(0, 0, 0, 0.04) !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body .project-item:hover,
body .blog-item:hover,
body .offer-item:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07), 0 12px 32px rgba(0, 0, 0, 0.05) !important;
}

/* Кнопки */
body .btn,
body .art-button {
    border-radius: 12px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

body .btn:hover,
body .art-button:hover {
    transform: translateY(-1px) !important;
}

/* Контейнер */
body .container {
    max-width: 1200px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}


/* Reviews / отзывы — компактнее */
body .reviews-wrap {
    margin-top: 24px !important;
}

/* FAQ — без огромных отступов между вопросами */
body .faq-item {
    margin-bottom: 8px !important;
}

/* Плавные градиентные переходы между секциями */
body section { position: relative; }

/* === Шапка: светло-голубой Apple Sky === */
body header.header,
body .header,
body header,
body .header-top {
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%) !important;
    background-color: #2563eb !important;
}

/* Узкая голубая полоска между шапкой и тёмным hero */
body .header-bottom,
body header + section.home-banner::before,
body header.header + section::before {
    /* Apple sky divider */
}

body.page-id-1 .home-banner {
    position: relative;
}

body.page-id-1 .home-banner::before {
    content: '';
    display: block;
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(180deg, #2563eb 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Текст в шапке: тёмный, читаемый на голубом */
body header.header,
body header.header a,
body header.header span,
body header.header .phone,
body header.header .email,
body header.header .time-work,
body header.header .header-info-1,
body header.header .header-info-2 {
    color: #ffffff !important;
}

/* Логотип в шапке остаётся как есть (его SVG/PNG) */

/* === Уменьшаем gap на 70% во всех grid-блоках === */
body .index-advantages,
body .number-advantages-wrap,
body .home-banner-adv,
body .company-adv,
body .manufacture-wrap .swiper-wrapper,
body .swiper-wrapper {
    gap: 6px !important;
}

@media (min-width: 768px) {
    body .index-advantages,
    body .number-advantages-wrap,
    body .home-banner-adv,
    body .company-adv {
        gap: 8px !important;
    }
}

@media (min-width: 1024px) {
    body .index-advantages,
    body .number-advantages-wrap,
    body .home-banner-adv,
    body .company-adv {
        gap: 10px !important;
    }
}

/* manufacture grid — те 3 преимущества (Качество / Индивидуальный / Скорость) */
body .manufacture-wrap,
body .manufacture-wrap .swiper-container {
    gap: 8px !important;
}

@media (min-width: 1024px) {
    body .manufacture-wrap,
    body .manufacture-wrap .swiper-container {
        gap: 12px !important;
    }
}

/* Сжимаем banner-blue (banner между блоками) */
body .banner-blue {
    margin: 16px 0 !important;
    padding: 16px !important;
}

@media (min-width: 1024px) {
    body .banner-blue {
        margin: 24px 0 !important;
        padding: 24px !important;
    }
}
/* === 3 преимущества (5,0 баллов / Рассрочка / Гарантия) — горизонтально ВЕЗДЕ === */
body.page-id-1 .index-advantages {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 8px !important;
    width: 100% !important;
    margin-top: 14px !important;
}

@media (min-width: 1024px) {
    body.page-id-1 .index-advantages {
        gap: 12px !important;
        margin-top: 20px !important;
    }
}

/* Каждая карточка — горизонтальная (иконка слева, текст справа) на ВСЕХ размерах */
body.page-id-1 .index-advantages .icon-bl-item {
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 12px !important;
    padding: 8px 8px !important;
    display: flex !important;
    flex-direction: row !important;       /* row на всех размерах! */
    align-items: center !important;
    gap: 8px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    body.page-id-1 .index-advantages .icon-bl-item {
        padding: 12px 12px !important;
        gap: 12px !important;
        border-radius: 14px !important;
    }
}

@media (min-width: 1024px) {
    body.page-id-1 .index-advantages .icon-bl-item {
        padding: 18px 20px !important;
        gap: 14px !important;
        border-radius: 16px !important;
    }
}

/* Иконка */
body.page-id-1 .index-advantages .icon-bl-img {
    flex-shrink: 0 !important;
    margin: 0 !important;
    width: auto !important;
}

body.page-id-1 .index-advantages .icon-bl-img img {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
}

@media (min-width: 768px) {
    body.page-id-1 .index-advantages .icon-bl-img img {
        width: 32px !important;
        height: 32px !important;
    }
}

@media (min-width: 1024px) {
    body.page-id-1 .index-advantages .icon-bl-img img {
        width: 42px !important;
        height: 42px !important;
    }
}

/* Контент справа */
body.page-id-1 .index-advantages .icon-bl-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
    flex: 1 !important;
}

@media (min-width: 1024px) {
    body.page-id-1 .index-advantages .icon-bl-info {
        gap: 4px !important;
    }
}

/* Заголовок "5,0 баллов" — белый, жирный */
body.page-id-1 .index-advantages .icon-bl-title,
body.page-id-1 .index-advantages .icon-bl-title.font_black {
    color: #ffffff !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    letter-spacing: -0.012em !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    body.page-id-1 .index-advantages .icon-bl-title,
    body.page-id-1 .index-advantages .icon-bl-title.font_black {
        font-size: 14px !important;
    }
}

@media (min-width: 1024px) {
    body.page-id-1 .index-advantages .icon-bl-title,
    body.page-id-1 .index-advantages .icon-bl-title.font_black {
        font-size: 18px !important;
    }
}

/* Описание */
body.page-id-1 .index-advantages .icon-bl-text,
body.page-id-1 .index-advantages .icon-bl-text.font_black {
    color: rgba(255, 255, 255, 0.75) !important;
    font-size: 9px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    body.page-id-1 .index-advantages .icon-bl-text,
    body.page-id-1 .index-advantages .icon-bl-text.font_black {
        font-size: 11px !important;
    }
}

@media (min-width: 1024px) {
    body.page-id-1 .index-advantages .icon-bl-text,
    body.page-id-1 .index-advantages .icon-bl-text.font_black {
        font-size: 13px !important;
        line-height: 1.4 !important;
    }
}
/* === Плавные переходы между секциями (без резких границ) === */
body section {
    position: relative !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Если белая секция переходит в серую (или наоборот) — плавный градиент сверху/снизу */
body section.bg-white {
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%) !important;
}

body section.bg-white-blue {
    background: linear-gradient(180deg, #f5f5f7 0%, #f5f5f7 100%) !important;
}

/* После hero (тёмного) к первой светлой секции — плавный outro */
body.page-id-1 .home-banner {
    position: relative !important;
}

body.page-id-1 .home-banner::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(180deg, transparent 0%, #ffffff 100%);
    pointer-events: none;
    z-index: 2;
    opacity: 0.35;
}

/* Серая ↔ Белая — мягкий fade на 24px */
body section.bg-white-blue + section.bg-white,
body section.bg-white + section.bg-white-blue {
    position: relative;
}

body section.bg-white-blue + section.bg-white::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
    background: linear-gradient(180deg, #f5f5f7 0%, #ffffff 100%);
    pointer-events: none;
    z-index: 1;
}

body section.bg-white + section.bg-white-blue::before {
    content: '';
    position: absolute;
    top: -24px;
    left: 0;
    right: 0;
    height: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f5f7 100%);
    pointer-events: none;
    z-index: 1;
}

/* === Радикальное уменьшение белых разрывов (-90%) === */
body section .padding-line,
body .padding-line {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Контейнеры внутри секций — без верхнего/нижнего отступа */
body section > .container {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* Убираем gap между секциями через body */
body section + section {
    margin-top: 0 !important;
}

/* Заголовки секций — сжимаем margin-bottom */
body .title-block,
body .order-wrap {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
}

@media (min-width: 1024px) {
    body .title-block,
    body .order-wrap {
        margin-bottom: 18px !important;
    }
}

/* Sections с большим внутренним padding (на стандартной странице) */
body section.bg-white .container,
body section.bg-white-blue .container {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

@media (min-width: 1024px) {
    body section.bg-white .container,
    body section.bg-white-blue .container {
        padding-top: 14px !important;
        padding-bottom: 14px !important;
    }
}

/* === Скрываем mobile-menu на десктопе (раньше она занимала место даже когда display:none снимался) === */
@media (min-width: 1024px) {
    body section.mobile-menu {
        display: none !important;
        padding: 0 !important;
        margin: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
    }
}

/* На мобильной — оставляем нативную раскладку */
@media (max-width: 1023px) {
    body section.mobile-menu {
        padding: 0 !important;
        margin: 0 !important;
    }
}

/* Header без нижнего padding — чтоб сразу переход в hero */
body header.header {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* Hero без верхнего margin */
body.page-id-1 section.home-banner,
body.page-id-1 .home-banner {
    margin-top: 0 !important;
    padding-top: 14px !important;
}

@media (min-width: 1024px) {
    body.page-id-1 section.home-banner,
    body.page-id-1 .home-banner {
        padding-top: 20px !important;
    }
}

/* === Уменьшаем кнопку "Заказать расчёт" в шапке на 15% === */
body header.header .btn,
body header.header .art-button,
body header .btn,
body header .art-button {
    transform: scale(0.825) !important;
    transform-origin: right center !important;
}

/* Альтернативный путь — через padding и font-size (на случай если transform мешает) */
body header.header a.btn,
body header.header a.art-button {
    padding: 10px 16px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

@media (min-width: 1024px) {
    body header.header a.btn,
    body header.header a.art-button {
        padding: 12px 19px !important;
        font-size: 13px !important;
    }
}

/* === Сжимаем отступы в блоке "Изготовим и установим..." (manufacture) === */
/* 1) Между заголовком "Изготовим и установим..." и иконками — уменьшить на 70% */
body .manufacture-top,
body .manufacture-top .title-block,
body .manufacture-top .subtitle {
    margin-bottom: 6px !important;
}

@media (min-width: 1024px) {
    body .manufacture-top {
        margin-bottom: 8px !important;
    }
}

/* 2) Между banner-blue (синергия пазлы) и числами 6+/5500+/2 — уменьшить на 50% */
body .banner-blue {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    padding: 10px 13px !important;
}

@media (min-width: 1024px) {
    body .banner-blue {
        margin-top: 13px !important;
        margin-bottom: 13px !important;
        padding: 14px 20px !important;
    }
}

/* manufacture-wrap (с иконками Качество/Индивидуальный/Скорость) — уменьшаем margin-bottom */
body .manufacture-wrap {
    margin-top: 4px !important;
    margin-bottom: 8px !important;
}

@media (min-width: 1024px) {
    body .manufacture-wrap {
        margin-top: 7px !important;
        margin-bottom: 11px !important;
    }
}

/* number-advantages-wrap — без верхнего отступа (он смыкается с banner-blue) */
body .number-advantages-wrap {
    margin-top: 5px !important;
}

@media (min-width: 1024px) {
    body .number-advantages-wrap {
        margin-top: 8px !important;
    }
}

/* === Шапка: full-width фон + контент с отступами 2см слева/справа === */
body header.header,
body .header {
    width: 100% !important;
    max-width: none !important;
}

/* Containers внутри шапки — full-width до 2см от краёв */
body header.header .container,
body header.header .header-top .container,
body header.header .header-top,
body .header .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 2cm !important;
    padding-right: 2cm !important;
    box-sizing: border-box !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* На очень узких экранах (мобайл) — уменьшаем отступ чтобы влезло */
@media (max-width: 768px) {
    body header.header .container,
    body header.header .header-top .container,
    body header.header .header-top,
    body .header .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* === Hero: full-width, контент с отступом 1cm слева === */
body.page-id-1 .home-banner > .container {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 1cm !important;
    padding-right: 1cm !important;
    box-sizing: border-box !important;
}

/* head — текст и кнопка прижаты к левому краю (с 1см от border-а) */
body.page-id-1 .home-banner__head {
    margin-left: 0 !important;
    text-align: left !important;
}

body.page-id-1 .home-banner__discr {
    margin-left: auto !important;
}

@media (max-width: 768px) {
    body.page-id-1 .home-banner > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}


/* === Apple "Learn more" pill — синяя кнопка на слайдах "Наши работы" === */
/* Скрываем верхний "Наши работы" — название проекта говорит само */
body.page-id-1 .swiper-slide.home-banner-slide .home-banner-slide__text {
    display: none !important;
}

/* Синий pill как Apple — название проекта */
body.page-id-1 .swiper-slide.home-banner-slide .home-banner-slide__title {
    position: absolute !important;
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    background: #2563eb !important;
    color: #ffffff !important;
    padding: 11px 24px !important;
    border-radius: 9999px !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.005em !important;
    text-align: center !important;
    z-index: 3 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    margin: 0 !important;
    white-space: nowrap !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    max-width: calc(100% - 32px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

body.page-id-1 .swiper-slide.home-banner-slide:hover .home-banner-slide__title {
    background: #1d4ed8 !important;
    transform: translateX(-50%) translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45) !important;
}

@media (min-width: 768px) {
    body.page-id-1 .swiper-slide.home-banner-slide .home-banner-slide__title {
        font-size: 16px !important;
        padding: 13px 28px !important;
        bottom: 20px !important;
    }
}

@media (min-width: 1024px) {
    body.page-id-1 .swiper-slide.home-banner-slide .home-banner-slide__title {
        font-size: 17px !important;
        padding: 14px 30px !important;
    }
}

/* === Меню (Продукция/Услуги/...) поднять выше на 5% === */
body header .mainnav,
body .mainnav,
body header.header .header-bottom,
body .header-bottom {
    margin-top: -25% !important;
    position: relative !important;
    z-index: 5 !important;
}

/* На случай если меню — отдельный nav под шапкой */
body header.header nav.bottom-nav,
body .bottom-nav,
body .menu-block {
    margin-top: -28px !important;
}
/* === Слайдер по центру (отменяем сдвиг -1cm) === */
body.page-id-1 .home-banner-slider {
    left: 0 !important;
    right: auto !important;
    width: 100% !important;
}

body.page-id-1 .home-banner-slider-wrapper {
    width: 100% !important;
    position: relative !important;
    overflow: visible !important;
}

/* Контейнер hero — нормальный max-width + центрирован */
body.page-id-1 .home-banner > .container {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (max-width: 768px) {
    body.page-id-1 .home-banner > .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}


/* === Hero-слайдер на ВСЮ ширину экрана === */
body.page-id-1 .home-banner-slider-wrapper {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    position: relative !important;
    overflow: hidden !important;
    padding: 0 !important;
}

body.page-id-1 .home-banner-slider {
    position: relative !important;
    width: 100% !important;
    left: 0 !important;
    right: 0 !important;
    padding: 20px 24px !important;
    border-radius: 0 !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    body.page-id-1 .home-banner-slider {
        padding: 16px 12px !important;
    }
}

/* Контролы слайдера (scroll + кнопки) — внутри контейнера, не растягиваем */
body.page-id-1 .home-banner-slider-control {
    max-width: 1320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
}

/* === Слайдер ЗАФИКСИРОВАН — отображается как grid 2 ряда === */
body.page-id-1 .home-banner-slider {
    overflow: visible !important;
    height: auto !important;
}

body.page-id-1 .home-banner-slider-wrapper {
    height: auto !important;
    overflow: visible !important;
}

body.page-id-1 .home-banner-slider .swiper-wrapper {
    display: grid !important;
    grid-template-rows: repeat(2, 1fr) !important;
    grid-auto-flow: column !important;
    grid-auto-columns: minmax(260px, 1fr) !important;
    gap: 14px !important;
    transform: none !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: 8px !important;
}

/* Скроллбар: тонкий, минималистичный */
body.page-id-1 .home-banner-slider .swiper-wrapper::-webkit-scrollbar {
    height: 6px;
}
body.page-id-1 .home-banner-slider .swiper-wrapper::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

/* Каждый слайд — фиксированный размер */
body.page-id-1 .home-banner-slider .swiper-slide.home-banner-slide {
    width: auto !important;
    height: 220px !important;
    min-width: 260px !important;
    scroll-snap-align: start !important;
    margin: 0 !important;
}

@media (min-width: 768px) {
    body.page-id-1 .home-banner-slider .swiper-wrapper {
        grid-auto-columns: minmax(320px, 1fr) !important;
    }
    body.page-id-1 .home-banner-slider .swiper-slide.home-banner-slide {
        height: 260px !important;
        min-width: 320px !important;
    }
}

@media (min-width: 1024px) {
    body.page-id-1 .home-banner-slider .swiper-wrapper {
        grid-auto-columns: minmax(360px, 1fr) !important;
    }
    body.page-id-1 .home-banner-slider .swiper-slide.home-banner-slide {
        height: 280px !important;
        min-width: 360px !important;
    }
}

/* Прячем скроллбар-крутилку под слайдером и стрелки навигации */
body.page-id-1 .home-banner-slider-control {
    display: none !important;
}

/* === Кнопки product-категорий в стиле "Сеть ROSTIC'S" (синий pill) === */
body.page-id-1 .swiper-slide.home-banner-slide .home-banner-slide__btn {
    position: absolute !important;
    bottom: 16px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    right: auto !important;
    margin: 0 !important;
    background: #2563eb !important;
    color: #ffffff !important;
    padding: 11px 24px !important;
    border-radius: 9999px !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.005em !important;
    text-align: center !important;
    text-decoration: none !important;
    z-index: 3 !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
    white-space: nowrap !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    max-width: calc(100% - 32px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* Убираем стрелочку которая была у старой кнопки */
body.page-id-1 .swiper-slide.home-banner-slide .home-banner-slide__btn::after {
    display: none !important;
}

body.page-id-1 .swiper-slide.home-banner-slide:hover .home-banner-slide__btn {
    background: #1d4ed8 !important;
    transform: translateX(-50%) translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.45) !important;
}

@media (min-width: 768px) {
    body.page-id-1 .swiper-slide.home-banner-slide .home-banner-slide__btn {
        font-size: 16px !important;
        padding: 13px 28px !important;
        bottom: 20px !important;
    }
}

@media (min-width: 1024px) {
    body.page-id-1 .swiper-slide.home-banner-slide .home-banner-slide__btn {
        font-size: 17px !important;
        padding: 14px 30px !important;
    }
}

/* === Поднять верхнюю часть шапки (header-top) на 20% — сжать padding === */
body header.header,
body header.header .header-top,
body header.header > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

body header.header .header-top {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
    min-height: 0 !important;
}

@media (min-width: 1024px) {
    body header.header .header-top {
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }
}

/* Внутренние блоки header-top — без верхних отступов */
body header.header .header-info-1,
body header.header .header-info-2,
body header.header .header-logo,
body header.header .header-contacts {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}


/* === FIX: белые буквы на белом фоне → тёмный цвет (как у "Мы — команда креативных...") === */
/* Эталон цвета: #1d1d1f (Apple-style тёмный) для текста на светлых секциях */

body section.bg-white,
body section.bg-white p,
body section.bg-white h1,
body section.bg-white h2,
body section.bg-white h3,
body section.bg-white h4,
body section.bg-white h5,
body section.bg-white h6,
body section.bg-white .title-block,
body section.bg-white .title-block span,
body section.bg-white .subtitle,
body section.bg-white .text,
body section.bg-white li,
body section.bg-white td,
body section.bg-white th,
body section.bg-white .home-banner-adv__title,
body section.bg-white .home-banner-adv__text,
body section.bg-white .manuf-subtitle,
body section.bg-white .icon-bl-title,
body section.bg-white .icon-bl-text,
body section.bg-white-blue,
body section.bg-white-blue p,
body section.bg-white-blue h1,
body section.bg-white-blue h2,
body section.bg-white-blue h3,
body section.bg-white-blue h4,
body section.bg-white-blue h5,
body section.bg-white-blue h6,
body section.bg-white-blue .title-block,
body section.bg-white-blue .title-block span,
body section.bg-white-blue .subtitle,
body section.bg-white-blue li,
body section.bg-white-blue td {
    color: #1d1d1f !important;
}

/* Серый текст для подписи/описания (как у "Мы — команда креативных...") — чуть светлее */
body section.bg-white .subtitle,
body section.bg-white .manuf-subtitle,
body section.bg-white .home-banner-adv__text,
body section.bg-white .icon-bl-text,
body section.bg-white p,
body section.bg-white-blue .subtitle,
body section.bg-white-blue p {
    color: #4b5563 !important;
}

/* Заголовки — насыщенный тёмный (Apple gray-1) */
body section.bg-white h1,
body section.bg-white h2,
body section.bg-white h3,
body section.bg-white .title-block,
body section.bg-white .title-block span,
body section.bg-white-blue h1,
body section.bg-white-blue h2,
body section.bg-white-blue h3,
body section.bg-white-blue .title-block,
body section.bg-white-blue .title-block span {
    color: #1d1d1f !important;
}

/* НЕ перетираем элементы с явным цветом (брендовый красный и т.д.) */
body section.bg-white .color-red,
body section.bg-white-blue .color-red,
body section.bg-white [style*="color:"],
body section.bg-white-blue [style*="color:"],
body section.bg-white .neon-categories-block *,
body section.bg-white .glow-letters,
body section.bg-white .glow-letters * {
    color: revert !important;
}

/* Ссылки внутри светлых секций — синий бренд (не наследуют тёмный) */
body section.bg-white a:not(.btn):not(.art-button):not(.hero-tile),
body section.bg-white-blue a:not(.btn):not(.art-button):not(.hero-tile) {
    color: #2563eb !important;
}

body section.bg-white a:not(.btn):not(.art-button):not(.hero-tile):hover,
body section.bg-white-blue a:not(.btn):not(.art-button):not(.hero-tile):hover {
    color: #1d4ed8 !important;
}

/* Кнопки внутри светлых секций — их цвет не трогаем */
body section.bg-white .btn,
body section.bg-white .art-button,
body section.bg-white-blue .btn,
body section.bg-white-blue .art-button {
    color: #ffffff !important;
}
/* === Подменю шапки: тёмный текст (фон у подменю светлый/белый) === */
body .submenu .submenu-label,
body .submenu-block .submenu-label,
body header .submenu .submenu-label {
    color: #1d1d1f !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    font-size: 16px !important;
}

body .submenu .submenu-links a,
body .submenu-block .submenu-links a,
body header .submenu .submenu-links a,
body header .submenu a:not(.btn):not(.art-button) {
    color: #1d1d1f !important;
    font-weight: 500 !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

body .submenu .submenu-links a:hover,
body .submenu-block .submenu-links a:hover,
body header .submenu a:hover {
    color: #2563eb !important;
    text-decoration: none !important;
}


/* === Подпись на плитках hero — одна строка, кликабельно через <a> === */
body.page-id-1 .hero-tile {
    cursor: pointer !important;
    position: relative !important;
}

body.page-id-1 .hero-tile__overlay,
body.page-id-1 .hero-tile__title {
    pointer-events: none !important;  /* клик проходит через них к <a> */
}

body.page-id-1 .hero-tile__title {
    position: absolute !important;
    bottom: 14px !important;
    left: 14px !important;
    right: 14px !important;
    transform: none !important;
    background: #3b4dcc !important;
    color: #ffffff !important;
    padding: 12px 18px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 15.4px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.005em !important;
    text-align: center !important;
    z-index: 3 !important;
    box-shadow: 0 4px 14px rgba(59, 77, 204, 0.35) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    box-sizing: border-box !important;
    animation: hero-tile-pulse 2.8s ease-in-out infinite !important;
}

@media (min-width: 768px) {
    body.page-id-1 .hero-tile__title {
        font-size: 16.5px !important;
        padding: 13px 22px !important;
        bottom: 16px !important;
        left: 16px !important;
        right: 16px !important;
    }
}

@media (min-width: 1024px) {
    body.page-id-1 .hero-tile__title {
        font-size: 17.6px !important;
        padding: 14px 24px !important;
    }
}

body.page-id-1 .hero-tile:hover .hero-tile__title {
    animation: none !important;
    background: #2c3aa0 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 22px rgba(59, 77, 204, 0.5) !important;
}

@keyframes hero-tile-pulse {
    0%, 100% { opacity: .55; transform: scale(1); }
    50%      { opacity: 1;   transform: scale(1.01); }
}

body.page-id-1 .hero-tile__overlay {
    display: none !important;
}


/* === Hero-плитка: 6 квадратных категорий (4-6 колонок по ширине) === */
body.page-id-1 .hero-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 16px 0 0;
    width: 100%;
}

@media (min-width: 640px) {
    body.page-id-1 .hero-tiles {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1024px) {
    body.page-id-1 .hero-tiles {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
        margin-top: 24px;
    }
}

body.page-id-1 .hero-tile {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: #1a1a1d;
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

body.page-id-1 .hero-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

/* === УБРАТЬ ВСЕ БЕЛЫЕ РАЗРЫВЫ между hero и следующей секцией === */
body.page-id-1 .home-banner {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

body.page-id-1 .home-banner + section,
body.page-id-1 .home-banner ~ section.bg-white-blue,
body.page-id-1 section.bg-black + section,
body.page-id-1 section.home-banner + section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Hero-tiles внутри hero — без нижнего отступа */
body.page-id-1 .hero-tiles {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Section bg-white который идёт после hero — без верхнего паддинга */
body.page-id-1 section.bg-white:first-of-type,
body.page-id-1 section.home-banner + section.bg-white {
    padding-top: 0 !important;
}

/* Контейнер первой светлой секции — без верха */
body.page-id-1 section.home-banner + section > .container {
    padding-top: 0 !important;
}

/* MODX-скрипт <script> между секциями не должен занимать места */
body.page-id-1 section.home-banner ~ script {
    display: none !important;
}
/* === Простая плавная смена фотки через JS — фон ставится напрямую === */
body.page-id-1 .hero-tile {
    transition: background-image 0.6s ease, transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* === Плитки −10% размера + slide-эффект (перелистывание по кругу) === */
body.page-id-1 .hero-tiles {
    max-width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Внутри плитки — лента с N фото и сдвигом по горизонтали */
body.page-id-1 .hero-tile.has-slide {
    background-image: none !important;
    overflow: hidden !important;
}

body.page-id-1 .hero-tile__strip {
    position: absolute;
    inset: 0;
    display: flex;
    transition: transform 0.7s cubic-bezier(0.45, 0, 0.15, 1);
    will-change: transform;
    z-index: 0;
}

body.page-id-1 .hero-tile__frame {
    flex: 0 0 100%;
    background-size: cover;
    background-position: center;
    height: 100%;
}

/* Title и overlay поверх ленты */
body.page-id-1 .hero-tile.has-slide .hero-tile__title,
body.page-id-1 .hero-tile.has-slide .hero-tile__overlay {
    z-index: 3;
}

/* === Sticky header — фиксируется при прокрутке === */
body header.header,
body .header {
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: box-shadow 0.3s ease;
}

body.is-scrolled header.header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18) !important;
}

body {
    overflow-x: hidden;
}

/* === Убрать блок "Воплотим ваши идеи / Решение которое видят все / Заказать" === */
/* === Продающий блок hero: цена + выгода + срок + CTA (вернули, текст переписан) === */
body.page-id-1 .home-banner__discr { display:flex !important; flex-direction:column; align-items:flex-start; gap:14px; margin:18px 0 6px; max-width:660px; }
body.page-id-1 .home-banner__like { display:inline-flex !important; align-items:center; gap:8px; background:#ef3124; color:#fff !important; font-weight:800; padding:9px 18px; border-radius:30px; font-size:17px; line-height:1; }
body.page-id-1 .home-banner__like img { width:20px; height:20px; filter:brightness(0) invert(1); }
body.page-id-1 .home-banner__text { display:block !important; color:rgba(255,255,255,.85); font-size:17px; line-height:1.55; }

/* Hero head — без gap, заголовок один */
body.page-id-1 .home-banner__head {
    gap: 0 !important;
    justify-content: flex-start !important;
}

/* === Sticky header — усиленный === */
html body header.header,
html body .header,
html body > header.header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    z-index: 9999 !important;
}

/* Никакие предки не должны иметь overflow: hidden (ломает sticky) */
html, body { overflow-x: clip !important; }
html body, html body > div { overflow: visible !important; }

/* === Hero title — одна строка, без переноса === */


body.page-id-1 .home-banner__title br {
    display: none !important;
}

/* === ВЕСЬ САЙТ НА ВСЮ ШИРИНУ ЭКРАНА === */
body .container,
body section .container,
body section > .container,
body.page-id-1 .container,
body.page-id-1 section .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: clamp(16px, 3vw, 48px) !important;
    padding-right: clamp(16px, 3vw, 48px) !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
}

/* Hero — тоже full width, но контент с отступами */
body.page-id-1 .home-banner > .container {
    max-width: 100% !important;
}

/* Hero title — без обрезки слева */
body.page-id-1 .home-banner__title {
    overflow: visible !important;
    text-align: left !important;
    padding-left: 0 !important;
}

/* Плитки — full width (max-width 100% вместо 90%) */
body.page-id-1 .hero-tiles {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Слайдер контролы — тоже full */
body.page-id-1 .home-banner-slider-control {
    max-width: 100% !important;
}
/* === Hero title: каждая буква своим цветом, мгновенное переключение === */
body.page-id-1 .home-banner__title {
    text-align: center !important;
    font-family: 'Playfair Display', 'Times New Roman', Georgia, serif !important;
    font-weight: 900 !important;
    letter-spacing: 0.01em !important;
    font-size: clamp(20px, 3.6vw, 52px) !important;
    line-height: 1.15 !important;
    padding: 16px 20px 22px !important;
    overflow: visible !important;
    white-space: normal !important;
}
body.page-id-1 .home-banner__title br { display: none !important; }

body.page-id-1 .hero-title-anim {
    display: inline-block;
    color: transparent !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    text-shadow: none !important;
}

body.page-id-1 .ht-sp { display: inline-block; width: 0.3em; }

/* Каждая буква — цикл через 8 цветов, переключение мгновенное (steps(8)) */
body.page-id-1 .ht-l {
    display: inline-block;
    color: #ffeac8;
    font-weight: 900;
    text-shadow: 0 0 16px rgba(255,225,180,.85), 0 0 38px rgba(255,200,140,.55);
}

/* Сдвиги: каждая буква начинает с разного цвета (8 групп по mod 8) */
body.page-id-1 .ht-l:nth-child(8n+1) { animation-delay: 0s; }
body.page-id-1 .ht-l:nth-child(8n+2) { animation-delay: -1.5s; }
body.page-id-1 .ht-l:nth-child(8n+3) { animation-delay: -3s; }
body.page-id-1 .ht-l:nth-child(8n+4) { animation-delay: -4.5s; }
body.page-id-1 .ht-l:nth-child(8n+5) { animation-delay: -6s; }
body.page-id-1 .ht-l:nth-child(8n+6) { animation-delay: -7.5s; }
body.page-id-1 .ht-l:nth-child(8n+7) { animation-delay: -9s; }
body.page-id-1 .ht-l:nth-child(8n+8) { animation-delay: -10.5s; }

/* 4000K static glow — без анимации */
    12.5% { text-shadow: 1px 1px 0 rgba(0,0,0,.55), 2px 2px 0 rgba(0,0,0,.45), 3px 3px 1px rgba(0,0,0,.35), 0 0 24px rgba(255,255,255,1), 0 0 56px rgba(220,235,255,.85); }
    25%   { text-shadow: 1px 1px 0 rgba(0,0,0,.55), 2px 2px 0 rgba(0,0,0,.45), 3px 3px 1px rgba(0,0,0,.35), 0 0 10px rgba(255,255,255,.7), 0 0 22px rgba(220,235,255,.4); }
    37.5% { text-shadow: 1px 1px 0 rgba(0,0,0,.55), 2px 2px 0 rgba(0,0,0,.45), 3px 3px 1px rgba(0,0,0,.35), 0 0 24px rgba(255,255,255,1), 0 0 56px rgba(220,235,255,.85); }
    50%   { text-shadow: 1px 1px 0 rgba(0,0,0,.55), 2px 2px 0 rgba(0,0,0,.45), 3px 3px 1px rgba(0,0,0,.35), 0 0 10px rgba(255,255,255,.7), 0 0 22px rgba(220,235,255,.4); }
    62.5% { text-shadow: 1px 1px 0 rgba(0,0,0,.55), 2px 2px 0 rgba(0,0,0,.45), 3px 3px 1px rgba(0,0,0,.35), 0 0 24px rgba(255,255,255,1), 0 0 56px rgba(220,235,255,.85); }
    75%   { text-shadow: 1px 1px 0 rgba(0,0,0,.55), 2px 2px 0 rgba(0,0,0,.45), 3px 3px 1px rgba(0,0,0,.35), 0 0 10px rgba(255,255,255,.7), 0 0 22px rgba(220,235,255,.4); }
    87.5% { text-shadow: 1px 1px 0 rgba(0,0,0,.55), 2px 2px 0 rgba(0,0,0,.45), 3px 3px 1px rgba(0,0,0,.35), 0 0 24px rgba(255,255,255,1), 0 0 56px rgba(220,235,255,.85); }
    100%  { text-shadow: 1px 1px 0 rgba(0,0,0,.55), 2px 2px 0 rgba(0,0,0,.45), 3px 3px 1px rgba(0,0,0,.35), 0 0 10px rgba(255,255,255,.7), 0 0 22px rgba(220,235,255,.4); }
}
/* === Caption на плитках "Наши работы" — название объекта === */
body.page-id-1 .hero-tile__caption {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 4 !important;
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    color: #ffffff !important;
    padding: 8px 14px !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-align: center !important;
    line-height: 1.2 !important;
    transition: opacity 0.3s ease !important;
    pointer-events: none !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (min-width: 768px) {
    body.page-id-1 .hero-tile__caption {
        font-size: 14px !important;
        padding: 10px 16px !important;
    }
}

/* === Заголовок hero отцентрован относительно плиток (full-width контейнер) === */
body.page-id-1 .home-banner__head {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: 0 !important;
}

body.page-id-1 .home-banner__title {
    text-align: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: block !important;
}

body.page-id-1 .home-banner > .container {
    padding-left: clamp(16px, 3vw, 48px) !important;
    padding-right: clamp(16px, 3vw, 48px) !important;
}

/* Hero-tiles тоже full-width с теми же боковыми отступами как заголовок */
body.page-id-1 .hero-tiles {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* === Точная центровка заголовка по центру экрана === */
body.page-id-1 section.home-banner,
body.page-id-1 .home-banner {
    text-align: center !important;
}

body.page-id-1 .home-banner > .container,
body.page-id-1 .home-banner > * {
    margin-left: auto !important;
    margin-right: auto !important;
}

body.page-id-1 .home-banner__head {
    display: block !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    gap: 0 !important;
}

body.page-id-1 .home-banner__title {
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
    justify-content: center !important;
}

body.page-id-1 .hero-title-anim {
    display: inline-block !important;
    text-align: center !important;
}

/* Плитки тоже центрированы */
body.page-id-1 .hero-tiles {
    margin: 16px auto 0 !important;
    text-align: center !important;
}

.hero-tile { will-change: transform, opacity; }

/* === Плашка-скидка hero === */
body.page-id-1 .home-banner__promo{display:inline-flex;align-items:center;gap:8px;background:#fff4e5;color:#c62828 !important;border:1.5px dashed #ef3124;font-weight:800;font-size:16px;line-height:1.2;padding:9px 16px;border-radius:12px;letter-spacing:.2px;}

/* === Hero: продающий блок В СТОЛБИК под H1 === */
@media(min-width:992px){
body.page-id-1 .home-banner__head{flex-direction:column !important;align-items:flex-start !important;}
body.page-id-1 .home-banner__head .home-banner__discr{margin:10px 0 0 0 !important;max-width:840px !important;align-items:flex-start !important;}
body.page-id-1 .home-banner__head .home-banner__text{text-align:left !important;}
}
/* бейдж: белый, жирнее (перебиваем мобильное затемнение по специфичности) */
body.page-id-1 .home-banner__head .home-banner__like{color:#fff !important;font-weight:900 !important;}

/* === Hero stack v2: шире, по центру, бейдж белый === */
@media(min-width:992px){
body.page-id-1 .home-banner .home-banner__head{align-items:center !important;}
body.page-id-1 .home-banner .home-banner__head .home-banner__discr{width:100% !important;max-width:720px !important;margin:14px auto 0 !important;align-items:center !important;text-align:center !important;}
body.page-id-1 .home-banner .home-banner__head .home-banner__text{text-align:center !important;max-width:680px;font-size:16px !important;}
}
body.page-id-1 .home-banner .home-banner__head .home-banner__like{color:#fff !important;font-weight:900 !important;}
body.page-id-1 .home-banner .home-banner__head .home-banner__like *{color:#fff !important;}

/* === Hero ROW v3: бейдж | описание | (скидка+кнопка) в ряд под H1 (десктоп) === */
@media(min-width:992px){
body.page-id-1 .home-banner .home-banner__head .home-banner__discr{display:grid !important;grid-template-columns:auto minmax(0,1fr) auto !important;grid-template-rows:auto auto !important;align-items:center !important;justify-items:start !important;column-gap:36px !important;row-gap:10px !important;width:100% !important;max-width:none !important;margin:20px 0 0 !important;text-align:left !important;}
body.page-id-1 .home-banner .home-banner__head .home-banner__like{grid-column:1 !important;grid-row:1 / span 2 !important;align-self:center !important;margin:0 !important;}
body.page-id-1 .home-banner .home-banner__head .home-banner__text{grid-column:2 !important;grid-row:1 / span 2 !important;align-self:center !important;text-align:left !important;max-width:none !important;margin:0 !important;}
body.page-id-1 .home-banner .home-banner__head .home-banner__promo{grid-column:3 !important;grid-row:1 !important;justify-self:end !important;}
body.page-id-1 .home-banner .home-banner__head .home-banner__discr > a{grid-column:3 !important;grid-row:2 !important;justify-self:end !important;margin:0 !important;}
}
