.page-content.page-content--hero {
    padding-top: 0;
}

.pesok-hero.pesok-hero--bigbag {
    background-image:
        linear-gradient(90deg, rgba(var(--black-rgb), 0.95) 0%, rgba(var(--black-rgb), 0.85) 32%, rgba(var(--black-rgb), 0.35) 62%, rgba(var(--black-rgb), 0.15) 100%),
        var(--hero-image, none),
        var(--hero-material, none);
    background-size: cover, min(55vw, 680px) auto, cover;
    background-repeat: no-repeat;
}

@media screen and (max-width: 767px) {
    .pesok-hero.pesok-hero--bigbag {
        background-size: cover, 100% auto, cover;
    }
}

.pesok-hero {
    position: relative;
    overflow: hidden;
    background-color: var(--body-black);
    background-image:
        linear-gradient(90deg,
            rgba(var(--black-rgb), 0.95) 0%,
            rgba(var(--black-rgb), 0.85) 32%,
            rgba(var(--black-rgb), 0.35) 62%,
            rgba(var(--black-rgb), 0.05) 100%),
        var(--hero-image, none);
    background-size: cover;
    background-position: center right;
}

.pesok-hero__inner {
    position: relative;
    max-width: 1170px;
    padding-top: 24px;
    padding-bottom: 64px;
}

.pesok-hero__crumbs .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 0 0 32px;
    font-size: 14px;
    line-height: 20px;
    color: rgba(255, 255, 255, 0.75);
}

.pesok-hero__crumbs .breadcrumbs > span {
    display: flex;
    align-items: center;
}

.pesok-hero__crumbs .breadcrumbs a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.pesok-hero__crumbs .breadcrumbs a:hover {
    color: var(--white);
    text-decoration: none;
}

.pesok-hero__crumbs .breadcrumbs a + span {
    display: block;
    width: 12px;
    min-width: 12px;
    height: 12px;
    margin: 0 6px;
    font-size: 0;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M4.5 9L7.5 6L4.5 3' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none'%3E%3Cpath d='M4.5 9L7.5 6L4.5 3' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

.pesok-hero__content {
    max-width: 640px;
}

.pesok-hero__badge {
    display: inline-block;
    margin: 0 0 20px;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 13px;
    line-height: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
}

.pesok-hero__title {
    margin: 0 0 12px;
    font-family: 'Onest', sans-serif;
    font-size: 52px;
    font-weight: 700;
    line-height: 60px;
    color: var(--white);
}

.pesok-hero__accent {
    margin: 0 0 20px;
    font-size: 24px;
    font-weight: 500;
    line-height: 32px;
    color: var(--first);
}

.pesok-hero__lead {
    margin: 0 0 14px;
    font-size: 17px;
    line-height: 26px;
    color: rgba(255, 255, 255, 0.85);
}

.pesok-hero__note {
    margin: 14px 0 32px;
    padding-left: 14px;
    border-left: 3px solid var(--first);
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.88);
}

.pesok-hero__points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    max-width: 680px;
    margin: 18px 0 32px;
    padding: 0;
    list-style: none;
}

.pesok-hero__point {
    position: relative;
    margin: 0;
    padding-left: 32px;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.85);
}

.pesok-hero__point::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--first) 0%, var(--third) 100%);
    box-shadow: 0 2px 0 var(--second);
}

.pesok-hero__point::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: var(--white);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M6.5 11.2L9.6 14.2L15.5 8.2' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 22 22' fill='none'%3E%3Cpath d='M6.5 11.2L9.6 14.2L15.5 8.2' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px 22px no-repeat;
}

.pesok-hero__point-accent {
    display: block;
    font-weight: 700;
    color: var(--white);
}

@media screen and (max-width: 600px) {
    .pesok-hero__points {
        grid-template-columns: 1fr;
    }
}

.pesok-hero__lead a,
.pesok-hero__note a,
.pesok-hero__accent a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
}

.pesok-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
}

.pesok-hero__button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 18px 30px;
    border-radius: 8px;
    background: linear-gradient(90deg, var(--first) 0%, var(--third) 100%);
    box-shadow: 0 10px 24px rgba(229, 134, 50, 0.35);
    color: var(--white);
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.3s ease-in-out;
}

.pesok-hero__button:hover {
    transform: translateY(-3px);
}

.pesok-hero__phone {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
}

.pesok-hero__phone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    font-size: 16px;
    transition: background-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.pesok-hero__phone-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.pesok-hero__phone-time {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.pesok-hero__phone-number {
    font-size: 21px;
    font-weight: 700;
    transition: color 0.35s ease;
}

.pesok-hero__phone:hover .pesok-hero__phone-number,
.pesok-hero__phone:focus-visible .pesok-hero__phone-number {
    color: var(--first);
}

.pesok-hero__phone:hover .pesok-hero__phone-icon,
.pesok-hero__phone:focus-visible .pesok-hero__phone-icon {
    background: var(--first);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.08);
    transform: rotate(-12deg);
}

@media (prefers-reduced-motion: reduce) {
    .pesok-hero__phone-icon,
    .pesok-hero__phone-number {
        transition: none;
    }
}

@media (max-width: 991px) {
    .pesok-hero__inner {
        min-height: 0;
    }

    .pesok-hero__title {
        font-size: 40px;
        line-height: 48px;
    }
}

@media (max-width: 767px) {
    .pesok-hero {
        background-image:
            linear-gradient(180deg,
                rgba(var(--black-rgb), 0.85) 0%,
                rgba(var(--black-rgb), 0.78) 60%,
                rgba(var(--black-rgb), 0.6) 100%),
            var(--hero-image, none);
        background-position: 70% center;
    }

    .pesok-hero__inner {
        padding-top: 16px;
        padding-bottom: 48px;
    }

    .pesok-hero__crumbs .breadcrumbs {
        margin-bottom: 20px;
    }

    .pesok-hero__title {
        font-size: 32px;
        line-height: 38px;
    }

    .pesok-hero__accent {
        font-size: 18px;
        line-height: 26px;
    }

    .pesok-hero__lead {
        font-size: 15px;
    }

    .pesok-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pesok-hero__button {
        justify-content: center;
    }
}

.pesok-hero__button.is-3d {
    box-shadow: 0 5px 0 var(--second), 0 10px 24px rgba(229, 134, 50, 0.35);
}

.pesok-hero__button.is-3d:hover,
.pesok-hero__button.is-3d:focus-visible {
    transform: translateY(3px);
    box-shadow: 0 2px 0 var(--second), 0 6px 16px rgba(229, 134, 50, 0.35);
}

.pesok-hero__point-accent {
    display: inline;
}

@media screen and (min-width: 769px) {
    .pesok-hero__points {
        max-width: 760px;
        gap: 14px 28px;
    }
}

.pesok-hero {
    display: flex;
    min-height: calc(100vh - 140px);
    min-height: calc(100svh - 140px);
}

.pesok-hero > .pesok-hero__inner {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
}

.pesok-hero .pesok-hero__content {
    margin-top: 0;
}

@media screen and (max-width: 991px) {
    .pesok-hero {
        min-height: calc(100vh - 52px);
        min-height: calc(100svh - 52px);
    }
}

@media (min-width: 992px) {
    .pesok-hero .pesok-hero__crumbs .breadcrumbs {
        margin-bottom: 44px;
    }

    .pesok-hero .pesok-hero__badge {
        margin-bottom: 28px;
        padding: 8px 16px;
        font-size: 14px;
    }

    .pesok-hero .pesok-hero__content {
        max-width: 720px;
    }

    .pesok-hero .pesok-hero__title {
        margin-bottom: 20px;
        font-size: 64px;
        line-height: 1.1;
    }

    .pesok-hero .pesok-hero__accent {
        margin-bottom: 28px;
        font-size: 28px;
        line-height: 1.35;
    }

    .pesok-hero .pesok-hero__lead {
        margin-bottom: 20px;
        font-size: 20px;
        line-height: 1.6;
    }

    .pesok-hero .pesok-hero__points {
        max-width: 760px;
        gap: 18px 36px;
        margin: 30px 0 44px;
    }

    .pesok-hero .pesok-hero__point {
        font-size: 17px;
        line-height: 1.45;
    }

    .pesok-hero .pesok-hero__button {
        padding: 20px 34px;
        font-size: 17px;
    }

    .pesok-hero .pesok-hero__phone-number {
        font-size: 24px;
    }
}

/* Compact first screen for pages with several delivery prices. */
.pesok-hero--compact .pesok-hero__crumbs .breadcrumbs { margin-bottom: 18px; }
.pesok-hero--compact .pesok-hero__badge { margin-bottom: 16px; }
.pesok-hero--compact .pesok-hero__title { font-size: clamp(32px, 3.7vw, 52px); line-height: 1.1; margin-bottom: 16px; }
.pesok-hero--compact .pesok-hero__accent { font-size: 22px; line-height: 1.35; margin-bottom: 16px; }
.pesok-hero--compact .pesok-hero__lead { font-size: 18px; line-height: 1.45; margin-bottom: 14px; }
.pesok-hero--compact .pesok-hero__points { margin: 18px 0 24px; gap: 12px 24px; }
.pesok-hero--compact .pesok-hero__point { font-size: 16px; line-height: 1.4; }
.pesok-hero--compact .pesok-hero__inner { padding-bottom: 32px; }
@media (max-width: 600px) {
    .pesok-hero--compact .pesok-hero__accent { font-size: 18px; }
    .pesok-hero--compact .pesok-hero__lead { font-size: 16px; }
}

/* Preserve the full quarry-sand copy while moving the actions up. */
.pesok-hero--tight .pesok-hero__crumbs .breadcrumbs { margin-bottom: 16px; }
.pesok-hero--tight .pesok-hero__badge { margin-bottom: 10px; }
.pesok-hero--tight .pesok-hero__accent { margin-bottom: 18px; }
.pesok-hero--tight .pesok-hero__points { margin-top: 16px; margin-bottom: 16px; gap: 10px 28px; }

.pesok-hero--tight .pesok-hero__title { margin-bottom: 12px; }
.pesok-hero--tight .pesok-hero__lead { margin-bottom: 12px; }
.pesok-hero--tight .pesok-hero__inner { padding-top: 16px; }

/* 01.12.2026: на телефоне первый экран — по высоте содержимого (без растяжки на весь экран):
   телефон сразу под кнопкой, без просветов между кнопкой, телефоном и низом баннера */
@media (max-width: 767px) {
    .pesok-hero {
        min-height: 0;
    }
}
