.delivery-page {
    --delivery-ink: #342c3d;
    --delivery-muted: #716779;
    --delivery-pink: #f18db4;
    --delivery-pink-dark: #a84c73;
    --delivery-mint: #a9ebe0;
    --delivery-yellow: #ffe99c;
    --delivery-lilac: #e6d4fa;
    box-sizing: border-box;
    width: min(1180px, calc(100% - 32px));
    min-height: auto;
    margin: 32px auto 72px;
    color: var(--delivery-ink);
    font-family: manrope, roboto, sans-serif;
}

.delivery-page *,
.delivery-page *::before,
.delivery-page *::after {
    box-sizing: border-box;
}

.delivery-page h1,
.delivery-page h2,
.delivery-page h3,
.delivery-page p {
    margin-left: 0;
    margin-right: 0;
}

.delivery-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    min-height: 650px;
    overflow: hidden;
    border-radius: 38px;
    background: linear-gradient(135deg, #fff9f4 0%, #fbe9f3 48%, #e7faf8 100%);
    box-shadow: 0 24px 70px rgba(85, 55, 84, .14);
}

.delivery-hero::before,
.delivery-hero::after {
    position: absolute;
    content: "";
    border-radius: 50%;
    opacity: .6;
}

.delivery-hero::before {
    width: 190px;
    height: 190px;
    left: -55px;
    bottom: -60px;
    background: var(--delivery-yellow);
}

.delivery-hero::after {
    width: 130px;
    height: 130px;
    top: -40px;
    left: 46%;
    background: var(--delivery-lilac);
}

.delivery-hero__copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px clamp(32px, 6vw, 78px);
}

.delivery-eyebrow,
.delivery-heading > span {
    display: inline-block;
    width: fit-content;
    margin-bottom: 18px;
    color: var(--delivery-pink-dark);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.delivery-hero h1 {
    max-width: 690px;
    margin-top: 0;
    margin-bottom: 24px;
    font-family: roboto_slab, serif;
    font-size: clamp(42px, 5.3vw, 72px);
    font-weight: 650;
    line-height: 1.02;
    letter-spacing: -.045em;
}

.delivery-lead {
    max-width: 610px;
    margin-top: 0;
    color: var(--delivery-muted);
    font-size: clamp(18px, 2vw, 21px);
    line-height: 1.55;
}

.delivery-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.delivery-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 999px;
    font-weight: 750;
    box-shadow: 0 8px 22px rgba(93, 61, 88, .12);
}

.delivery-button--primary:any-link {
    background: var(--delivery-pink-dark);
    color: #fff;
}

.delivery-button--secondary:any-link {
    border: 1px solid rgba(74, 58, 79, .16);
    background: rgba(255, 255, 255, .78);
    color: var(--delivery-ink);
}

.delivery-hero__visual {
    position: relative;
    min-height: 650px;
    margin: 0;
    overflow: hidden;
}

.delivery-hero__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 43%;
}

.delivery-hero__visual figcaption {
    position: absolute;
    right: 24px;
    bottom: 24px;
    padding: 11px 18px;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    background: rgba(255, 255, 255, .82);
    box-shadow: 0 8px 30px rgba(58, 43, 69, .18);
    font-family: caveat, cursive;
    font-size: 24px;
    backdrop-filter: blur(8px);
}

.delivery-section,
.delivery-steps {
    padding: 96px 0 12px;
}

.delivery-heading {
    max-width: 720px;
    margin-bottom: 38px;
}

.delivery-heading h2,
.payment-section h2,
.delivery-contact h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-family: roboto_slab, serif;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.08;
    letter-spacing: -.025em;
}

.delivery-heading p,
.payment-section p,
.delivery-contact p {
    color: var(--delivery-muted);
    font-size: 18px;
    line-height: 1.55;
}

.delivery-rates {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.delivery-card {
    position: relative;
    overflow: hidden;
    min-height: 320px;
    padding: 38px;
    border: 1px solid rgba(77, 61, 83, .08);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(76, 53, 76, .08);
}

.delivery-card--featured {
    background: linear-gradient(145deg, #fff0f7, #fff9e7);
}

.delivery-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin-bottom: 28px;
    place-items: center;
    border-radius: 50%;
    background: var(--delivery-mint);
    color: #286e66;
    font-size: 22px;
    font-weight: 900;
}

.delivery-card--featured .delivery-card__icon {
    background: #ffd3e4;
    color: var(--delivery-pink-dark);
}

.delivery-card__label {
    display: block;
    min-height: 48px;
    color: var(--delivery-muted);
    font-weight: 700;
    line-height: 1.45;
}

.delivery-card h3 {
    margin: 14px 0 12px;
    font-family: roboto_slab, serif;
    font-size: clamp(28px, 3vw, 38px);
}

.delivery-card p {
    margin: 0;
    color: var(--delivery-muted);
    font-size: 17px;
    line-height: 1.5;
}

.delivery-card__note {
    display: inline-flex;
    margin-top: 24px;
    padding: 8px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: var(--delivery-pink-dark);
    font-size: 14px;
    font-weight: 800;
}

.payment-section {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: clamp(32px, 7vw, 90px);
    align-items: center;
    margin-top: 88px;
    padding: clamp(38px, 6vw, 72px);
    border-radius: 32px;
    background: #302a3a;
    color: #fff;
    box-shadow: 0 24px 60px rgba(50, 42, 58, .18);
}

.payment-section .delivery-eyebrow {
    color: #f4a8c5;
}

.payment-section p {
    color: #d9d0de;
}

.payment-options {
    display: grid;
    gap: 12px;
    list-style: none;
}

.payment-options li {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 18px;
    background: rgba(255, 255, 255, .07);
}

.payment-options li > span {
    display: grid;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--delivery-mint);
    color: #2e5d59;
    font-weight: 900;
}

.payment-options strong,
.payment-options small {
    display: block;
}

.payment-options small {
    margin-top: 3px;
    color: #c8bfcd;
    font-size: 14px;
}

.delivery-steps ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    counter-reset: delivery-step;
    list-style: none;
}

.delivery-steps li {
    position: relative;
    padding: 68px 28px 30px;
    border-top: 1px solid rgba(70, 55, 77, .15);
    counter-increment: delivery-step;
}

.delivery-steps li::before {
    position: absolute;
    top: 18px;
    left: 28px;
    content: "0" counter(delivery-step);
    color: var(--delivery-pink-dark);
    font-family: roboto_slab, serif;
    font-size: 26px;
    font-weight: 700;
}

.delivery-steps strong,
.delivery-steps span {
    display: block;
}

.delivery-steps strong {
    margin-bottom: 10px;
    font-size: 20px;
}

.delivery-steps span {
    color: var(--delivery-muted);
    line-height: 1.55;
}

.delivery-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 84px;
    padding: clamp(34px, 6vw, 66px);
    border-radius: 32px;
    background: linear-gradient(135deg, #dff8f3, #f3e9ff);
}

.delivery-contact__links {
    display: grid;
    gap: 10px;
}

.delivery-contact__links a:any-link {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 16px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .75);
    color: var(--delivery-ink);
}

.delivery-contact__links span {
    color: var(--delivery-muted);
}

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

    .delivery-hero__copy {
        padding: 48px 30px;
    }

    .delivery-hero__visual {
        min-height: 540px;
        max-height: 680px;
    }

    .delivery-rates,
    .payment-section,
    .delivery-contact {
        grid-template-columns: 1fr;
    }

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

    .delivery-steps li {
        padding-bottom: 18px;
    }
}

@media (max-width: 520px) {
    .delivery-page {
        width: min(100% - 20px, 1180px);
        margin-top: 14px;
        margin-bottom: 40px;
    }

    .delivery-hero,
    .payment-section,
    .delivery-contact {
        border-radius: 24px;
    }

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

    .delivery-hero__visual {
        min-height: 440px;
    }

    .delivery-hero__actions,
    .delivery-button {
        width: 100%;
    }

    .delivery-section,
    .delivery-steps {
        padding-top: 68px;
    }

    .delivery-card {
        min-height: auto;
        padding: 28px;
    }

    .payment-section,
    .delivery-contact {
        margin-top: 62px;
        padding: 30px 22px;
    }

    .delivery-contact__links a:any-link {
        flex-direction: column;
        gap: 4px;
    }
}
