/* MM Delivery — hero/band-patronen gelijk aan MM Admin (blur-stack, typografie, cinema-inset); eigen device-bands */

/* ---- Hero (same stack / metrics as .mm-kiosk-hero) ---- */
.mm-delivery-hero {
    position: relative;
    min-height: clamp(26rem, 60vh, 42rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 0 3rem;
    margin-bottom: 0;
    overflow: hidden;
}

.mm-delivery-hero-bg {
    --mm-delivery-hero-bg-shot: none;
    position: absolute;
    inset: 0;
    overflow: hidden;
    background-color: #17120f;
}

.mm-delivery-hero-bg::before {
    content: "";
    position: absolute;
    inset: -10%;
    background-image: var(--mm-delivery-hero-bg-shot);
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    filter: blur(11px) saturate(1.08);
    transform: scale(1.04);
    transform-origin: center top;
}

.mm-delivery-hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.06) 1px, transparent 0),
        linear-gradient(165deg, rgba(13, 148, 136, 0.14) 0%, transparent 58%),
        linear-gradient(0deg, rgba(40, 28, 22, 0.42) 0%, transparent 58%);
    background-size:
        24px 24px,
        100% 100%,
        100% 100%;
    background-position: center, center, center;
    background-repeat: no-repeat;
}

.mm-delivery-hero-scrim {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(
        ellipse 88% 78% at 50% 42%,
        transparent 0%,
        transparent 38%,
        rgba(23, 18, 15, 0.38) 68%,
        rgba(12, 10, 9, 0.62) 100%
    );
}

.mm-delivery-hero-content {
    position: relative;
    z-index: 1;
    max-width: 42rem;
    padding-top: 0;
    text-align: center;
}

.mm-delivery-hero-content h1 {
    font-size: clamp(2.25rem, 5.2vw, 3.15rem);
    margin-bottom: 0.65rem;
    line-height: 1.06;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #f6fdfb 0%, var(--primary-color) 42%, #a8ddd4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 20px rgba(0, 0, 0, 0.45));
}

.mm-delivery-tagline {
    font-size: 1.18rem;
    color: #2a2420;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
    text-shadow: none;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.mm-delivery-lead {
    font-size: 1.05rem;
    color: rgba(26, 26, 26, 0.88);
    line-height: 1.65;
    margin: 0 auto 1rem;
    max-width: 38rem;
    text-align: center;
}

.mm-delivery-lead strong {
    color: #111;
}

.mm-delivery-hero-note {
    margin: 0 auto;
    font-size: 0.9rem;
    color: color-mix(in srgb, var(--primary-color) 72%, transparent);
    line-height: 1.45;
    max-width: 32rem;
}

/* ---- Shared: images ---- */
.mm-delivery-media {
    margin: 0;
}

.mm-delivery-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

/* Screenshots uit platformaanbod (Offer/) */
.mm-delivery-ph--photo {
    position: relative;
    padding: 0 !important;
    gap: 0 !important;
    border: none !important;
    background: #0c0e10 !important;
    box-shadow: none;
    overflow: hidden;
}

.mm-delivery-ph--photo .mm-delivery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 0;
}

.mm-delivery-media-placeholder--phone.mm-delivery-ph--photo {
    box-shadow:
        inset 0 0 0 3px rgba(45, 40, 36, 0.9),
        0 12px 40px rgba(0, 0, 0, 0.4);
}

.mm-delivery-media-placeholder--phone.mm-delivery-ph--photo .mm-delivery-img {
    object-position: center 15%;
}

/* Placeholder tones (match kiosk) */
.mm-delivery-ph--soft {
    border: 1px solid color-mix(in srgb, var(--primary-color) 22%, transparent);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(30, 22, 18, 0.45) 100%);
}

.mm-delivery-ph--edge {
    border: none;
    border-radius: 0;
    border-bottom: 3px solid color-mix(in srgb, var(--primary-color) 58%, transparent);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.28) 100%);
}

.mm-delivery-ph--solid {
    border: 2px solid rgba(80, 70, 64, 0.6);
    background: linear-gradient(145deg, rgba(35, 30, 28, 0.95) 0%, rgba(12, 10, 9, 0.9) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 24px 48px rgba(0, 0, 0, 0.45);
}

.mm-delivery-media-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    padding: 1.5rem;
    box-sizing: border-box;
    border-radius: 14px;
}

.mm-delivery-media-placeholder-icon {
    font-size: 2rem;
    color: rgba(196, 235, 228, 0.9);
    opacity: 0.95;
}

.mm-delivery-media-placeholder-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.45;
    font-weight: 500;
}

.mm-delivery-media-placeholder-text small {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.38);
}

.mm-delivery-caption {
    margin-top: 0.65rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.45;
}

/* ---- Band B: ingekaderde panorama (niet full-bleed — contrast met Kiosk) ---- */
.mm-delivery-band--b {
    padding: 3rem 0 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(10, 14, 18, 0.45) 100%);
}

.mm-delivery-stack-head {
    margin-bottom: 1.75rem;
    text-align: center;
}

.mm-delivery-stack-head h2 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
    max-width: 40rem;
}

.mm-delivery-stack-head p {
    margin: 0 auto;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
    max-width: 40rem;
}

.mm-delivery-media--stack-wide {
    width: 100%;
    max-width: min(100%, 70rem);
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.mm-delivery-media-placeholder--panorama {
    aspect-ratio: 2.4 / 1;
    min-height: 12rem;
    border-radius: clamp(10px, 1.5vw, 16px);
    overflow: hidden;
}

.mm-delivery-map-wrap {
    position: relative;
    padding: 0 !important;
    background: #0c0e10;
}

.mm-delivery-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    z-index: 0;
}

.mm-delivery-map .leaflet-container {
    font-family: "Funnel Sans", system-ui, sans-serif;
    background: #1a1a1a;
}

.mm-delivery-map-marker {
    background: transparent !important;
    border: none !important;
}

.mm-delivery-media--stack-wide .mm-delivery-caption {
    text-align: center;
    padding: 0.75rem 20px 2.5rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Band C: phone card + text (device shape specific to delivery) ---- */
.mm-delivery-band--c {
    padding: 3rem 0;
    background: var(--dark-gray);
}

.mm-delivery-float-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
}

.mm-delivery-media-placeholder--phone {
    aspect-ratio: 10 / 16;
    width: min(100%, clamp(17.5rem, 72vw, 22rem));
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    border-radius: clamp(22px, 5vw, 32px);
    box-shadow:
        inset 0 0 0 3px rgba(45, 40, 36, 0.9),
        0 12px 40px rgba(0, 0, 0, 0.4);
}

.mm-delivery-media--float-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: rotate(2.25deg);
    transition: transform 0.25s ease;
}

.mm-delivery-media--float-card:hover {
    transform: rotate(0deg) translateY(-4px);
}

@media (min-width: 800px) {
    .mm-delivery-float-split {
        grid-template-columns: 1fr 0.95fr;
        gap: 3rem;
        align-items: center;
    }

    .mm-delivery-media--float-card {
        order: -1;
    }

    .mm-delivery-media-placeholder--phone {
        width: min(100%, 26rem);
    }

    .mm-delivery-media--float-card .mm-delivery-caption {
        text-align: center;
        max-width: min(100%, 28rem);
        margin-left: auto;
        margin-right: auto;
    }
}

.mm-delivery-split-text--padded h2 {
    font-size: clamp(1.45rem, 3vw, 1.9rem);
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}

.mm-delivery-split-text--padded p {
    margin: 0;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
    max-width: 34rem;
}

@media (max-width: 799px) {
    .mm-delivery-split-text--padded {
        text-align: center;
    }

    .mm-delivery-split-text--padded p {
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- Close: pull-quote (zelfde patroon als MM Kiosk / MM Admin) ---- */
.mm-delivery-close {
    padding: 2.5rem 0 3rem;
    border-top: 1px solid color-mix(in srgb, var(--primary-color) 28%, transparent);
    background: linear-gradient(180deg, rgba(13, 148, 136, 0.06) 0%, rgba(8, 12, 16, 0.92) 100%);
}

.mm-delivery-close-inner {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto;
    padding: 0 20px;
}

.mm-delivery-quote {
    margin: 0;
    padding: 1.45rem 1.5rem 1.55rem 3.15rem;
    border: none;
    border-left: 4px solid var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0 16px 16px 0;
    text-align: left;
    position: relative;
    box-shadow: 0 12px 38px rgba(0, 0, 0, 0.26);
}

.mm-delivery-quote::before {
    content: "\201C";
    position: absolute;
    left: 0.95rem;
    top: 0.3rem;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 2.65rem;
    line-height: 1;
    color: color-mix(in srgb, var(--primary-color) 58%, transparent);
    font-weight: 700;
    pointer-events: none;
}

.mm-delivery-quote p {
    margin: 0;
    padding: 0;
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    line-height: 1.62;
    font-style: italic;
    color: rgba(238, 242, 240, 0.92);
    font-weight: 500;
}
