/* SLADGARD — отдельная страница «Доставка и оплата» */

.delivery-page {
    width: min(1540px, calc(100% - 56px));
    margin: 0 auto;
    padding: 126px 0 72px;
    color: #321c12;
}

.delivery-kicker {
    margin: 0 0 9px;
    color: #d92722;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .085em;
    text-transform: uppercase;
}

.delivery-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, .6fr);
    gap: 42px;
    align-items: center;
    padding: 56px 60px;
    overflow: hidden;
    border: 1px solid #ead2b5;
    border-radius: 30px;
    background:
        radial-gradient(circle at 92% 12%, rgba(220,43,35,.08), transparent 24%),
        radial-gradient(circle at 8% 100%, rgba(217,165,80,.11), transparent 28%),
        linear-gradient(135deg,#fffdf9 0%,#fbf3e9 100%);
}

.delivery-hero::after {
    content: "";
    position: absolute;
    right: -90px;
    top: -95px;
    width: 280px;
    height: 280px;
    border: 1px solid rgba(216,165,86,.18);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(216,165,86,.03), 0 0 0 60px rgba(216,165,86,.02);
}

.delivery-hero__content,
.delivery-hero__badge {
    position: relative;
    z-index: 1;
}

.delivery-hero h1 {
    max-width: 930px;
    margin: 0;
    font-size: clamp(44px, 5vw, 76px);
    line-height: .98;
    letter-spacing: -.045em;
}

.delivery-hero h1 span {
    color: #d92722;
}

.delivery-hero__lead {
    max-width: 800px;
    margin: 22px 0 0;
    color: #76675d;
    font-size: 17px;
    line-height: 1.65;
}

.delivery-hero__badge {
    padding: 27px;
    border: 1px solid #ecd0b1;
    border-radius: 23px;
    background: rgba(255,255,255,.78);
    box-shadow: inset 0 0 0 4px rgba(255,255,255,.55);
}

.delivery-hero__badge-label {
    display: block;
    margin-bottom: 8px;
    color: #d92722;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.delivery-hero__badge strong {
    display: block;
    font-size: 22px;
    line-height: 1.25;
}

.delivery-hero__badge p {
    margin: 10px 0 0;
    color: #806e61;
    font-size: 13px;
    line-height: 1.5;
}

.delivery-section {
    margin-top: 24px;
    padding: 40px;
    border: 1px solid #ead8c4;
    border-radius: 28px;
    background: #fff;
}

.delivery-section__heading {
    max-width: 760px;
    margin-bottom: 27px;
}

.delivery-section__heading h2,
.payment-section__content h2,
.delivery-cta h2 {
    margin: 0;
    font-size: clamp(31px, 3.2vw, 48px);
    line-height: 1.05;
    letter-spacing: -.03em;
}

.delivery-section__heading > p:last-child {
    margin: 13px 0 0;
    color: #847266;
    line-height: 1.5;
}

.delivery-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.delivery-card {
    position: relative;
    min-height: 230px;
    padding: 25px;
    overflow: hidden;
    border: 1px solid #ead7c1;
    border-radius: 22px;
    background: linear-gradient(180deg,#fffaf5,#fff);
}

.delivery-card > span {
    position: absolute;
    right: 20px;
    top: 18px;
    color: rgba(215,39,34,.24);
    font-size: 29px;
    font-weight: 900;
}

.delivery-card__icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    border: 1px solid rgba(217,39,34,.24);
    border-radius: 50%;
    color: #d92722;
    background: #fff;
}

.delivery-card__icon svg {
    width: 29px;
    height: 29px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.delivery-card h3 {
    margin: 0 0 9px;
    font-size: 21px;
}

.delivery-card p {
    margin: 0;
    color: #806f63;
    font-size: 14px;
    line-height: 1.55;
}

.payment-section {
    display: grid;
    grid-template-columns: minmax(300px,.72fr) minmax(0,1.28fr);
    gap: 46px;
    align-items: stretch;
    margin-top: 24px;
    padding: 40px;
    border: 1px solid #ead8c4;
    border-radius: 28px;
    background: #fffaf5;
}

.payment-section__visual {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 390px;
    border: 1px solid #ead1b4;
    border-radius: 23px;
    background:
        radial-gradient(circle at 50% 46%, rgba(217,39,34,.08), transparent 34%),
        #fff;
}

.payment-section__visual > p {
    margin: 22px 0 0;
    color: #7f6757;
    font-size: 13px;
    font-weight: 800;
}

.payment-document {
    position: relative;
    width: 160px;
    height: 205px;
    padding: 42px 24px;
    box-sizing: border-box;
    border: 2px solid #d5a86a;
    border-radius: 18px;
    transform: rotate(-3deg);
    background: #fffaf1;
    box-shadow: 13px 14px 0 #f4e2cb;
}

.payment-document::before {
    content: "";
    position: absolute;
    right: -2px;
    top: -2px;
    width: 42px;
    height: 42px;
    border-left: 2px solid #d5a86a;
    border-bottom: 2px solid #d5a86a;
    border-radius: 0 16px 0 12px;
    background: #f6e7d2;
}

.payment-document span {
    display: block;
    height: 5px;
    margin: 0 0 15px;
    border-radius: 999px;
    background: #ead1af;
}

.payment-document strong {
    position: absolute;
    right: 19px;
    bottom: 17px;
    color: #d92722;
    font-size: 38px;
}

.payment-section__content {
    align-self: center;
}

.payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 25px;
}

.payment-option {
    padding: 22px;
    border: 1px solid #ead6bf;
    border-radius: 20px;
    background: #fff;
}

.payment-option > span {
    color: #d92722;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.payment-option h3 {
    margin: 8px 0 8px;
    font-size: 20px;
}

.payment-option p,
.payment-note p {
    margin: 0;
    color: #7d6c60;
    font-size: 13px;
    line-height: 1.52;
}

.payment-note {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 15px;
    padding: 17px 20px;
    border: 1px dashed #d8b484;
    border-radius: 18px;
}

.payment-note strong {
    flex: 0 0 auto;
    color: #9b6544;
    font-size: 13px;
}

.delivery-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
    margin-top: 24px;
    padding: 36px 40px;
    border: 1px solid #e8cbaa;
    border-radius: 28px;
    background: linear-gradient(100deg,#fff9ef 0%,#f9e5d0 62%,#f5d4c7 100%);
}

.delivery-cta > div {
    max-width: 850px;
}

.delivery-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 38px;
    min-width: 245px;
    min-height: 54px;
    padding: 0 24px;
    border-radius: 16px;
    color: #fff;
    background: #ce322b;
    font-weight: 900;
    text-decoration: none;
    box-sizing: border-box;
}

@media (hover:hover) and (pointer:fine) {
    .delivery-card,
    .payment-option,
    .delivery-cta a {
        transition: transform .18s ease, box-shadow .18s ease;
    }

    .delivery-card:hover,
    .payment-option:hover {
        transform: translateY(-3px);
        box-shadow: 0 13px 26px rgba(83,48,26,.07);
    }

    .delivery-cta a:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(195,46,40,.18);
    }
}

@media (max-width: 1050px) {
    .delivery-hero,
    .payment-section {
        grid-template-columns: 1fr;
    }

    .delivery-hero__badge {
        max-width: 520px;
    }

    .delivery-cards {
        grid-template-columns: 1fr 1fr;
    }

    .payment-section__visual {
        min-height: 300px;
    }
}

@media (max-width: 680px) {
    .delivery-page {
        width: calc(100% - 20px);
        padding-top: 92px;
    }

    .delivery-hero,
    .delivery-section,
    .payment-section,
    .delivery-cta {
        border-radius: 22px;
    }

    .delivery-hero {
        gap: 24px;
        padding: 29px 21px;
    }

    .delivery-hero h1 {
        font-size: 42px;
    }

    .delivery-hero__lead {
        margin-top: 16px;
        font-size: 15px;
    }

    .delivery-section,
    .payment-section {
        padding: 23px 18px;
    }

    .delivery-cards,
    .payment-options {
        grid-template-columns: 1fr;
    }

    .delivery-card {
        min-height: 0;
    }

    .payment-section {
        gap: 24px;
    }

    .payment-section__visual {
        min-height: 260px;
    }

    .delivery-cta {
        align-items: stretch;
        flex-direction: column;
        padding: 25px 20px;
    }

    .delivery-cta a {
        width: 100%;
        min-width: 0;
    }
}


/* === Stage 47: более аккуратный главный заголовок страницы === */
.delivery-hero h1 {
    max-width: 860px;
    font-size: clamp(40px, 4.05vw, 62px);
    line-height: 1.02;
    letter-spacing: -.035em;
}

.delivery-hero {
    padding-top: 48px;
    padding-bottom: 48px;
}

@media (max-width: 1050px) {
    .delivery-hero h1 {
        max-width: 780px;
        font-size: clamp(39px, 6vw, 56px);
    }
}

@media (max-width: 680px) {
    .delivery-hero {
        padding-top: 27px;
        padding-bottom: 27px;
    }

    .delivery-hero h1 {
        font-size: 37px;
        line-height: 1.03;
    }
}


/* === Stage 50: плавные появления на странице «Доставка и оплата» === */
.delivery-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
        opacity .68s ease,
        transform .68s cubic-bezier(.22, .7, .25, 1);
}

.delivery-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delivery-stagger {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity .55s ease,
        transform .55s cubic-bezier(.22, .7, .25, 1);
    transition-delay: var(--delivery-delay, 0ms);
}

.delivery-reveal.is-visible .delivery-stagger {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .delivery-reveal,
    .delivery-stagger {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
