/* Dedicated Food / Grocery / Gift service landing pages */

.bm-svc-page {
    --svc-primary: #ef3024;
    --svc-primary-dark: #c41e14;
    --svc-soft: #fff5f5;
    --svc-soft-border: #fecaca;
    --svc-glow: rgba(239, 48, 36, 0.22);
    --svc-text: #282c3f;
    --svc-muted: #686b78;
    --svc-radius: 20px;
    font-family: 'Inter', system-ui, sans-serif;
    background: #fafbfc;
}

.bm-svc-page--grocery {
    --svc-primary: #16a34a;
    --svc-primary-dark: #15803d;
    --svc-soft: #f0fdf4;
    --svc-soft-border: #bbf7d0;
    --svc-glow: rgba(22, 163, 74, 0.2);
}

.bm-svc-page--gift {
    --svc-primary: #db2777;
    --svc-primary-dark: #be185d;
    --svc-soft: #fdf2f8;
    --svc-soft-border: #fbcfe8;
    --svc-glow: rgba(219, 39, 119, 0.2);
}

/* Sticky light header over gradient hero */
.bm-svc-page header {
    background: #fff !important;
    position: sticky !important;
    top: 0 !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08) !important;
    padding: 15px 0 !important;
    z-index: 100;
}

.bm-svc-page .header-wrapper .menu li a,
.bm-svc-page .header-wrapper .dropdown--btn {
    color: var(--title-clr, #282c3f) !important;
}

.bm-svc-page .nav-toggle span {
    background: var(--title-clr, #282c3f) !important;
}

/* Hero */
.bm-svc-hero {
    position: relative;
    overflow: hidden;
    padding: 56px 0 0;
    color: #fff;
    background: linear-gradient(135deg, var(--svc-primary) 0%, var(--svc-primary-dark) 100%);
}

.bm-svc-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.12;
    background-image: radial-gradient(#fff 1.2px, transparent 1.2px);
    background-size: 22px 22px;
    pointer-events: none;
}

.bm-svc-hero__orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.bm-svc-hero__orb--1 {
    width: 320px;
    height: 320px;
    top: -80px;
    right: -60px;
}

.bm-svc-hero__orb--2 {
    width: 180px;
    height: 180px;
    bottom: 120px;
    left: -40px;
}

.bm-svc-hero .container {
    position: relative;
    z-index: 2;
}

.bm-svc-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    min-height: 380px;
    padding-bottom: 72px;
}

.bm-svc-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(8px);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}

.bm-svc-hero__title {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
    color: #fff;
}

.bm-svc-hero__highlight {
    display: block;
    font-size: clamp(1.35rem, 2.8vw, 2rem);
    font-weight: 700;
    opacity: 0.95;
    margin-top: 6px;
}

.bm-svc-hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.15rem);
    line-height: 1.65;
    opacity: 0.92;
    margin: 0 0 24px;
    max-width: 520px;
}

.bm-svc-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.bm-svc-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.88rem;
    font-weight: 500;
    line-height: 1.3;
}

.bm-svc-hero__meta-item svg {
    flex-shrink: 0;
    opacity: 0.9;
}

.bm-svc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.bm-svc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 14px !important;
    padding: 14px 24px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    border: none;
    cursor: pointer;
    line-height: 1.2;
    text-transform: none !important;
    box-shadow: none;
    outline: none !important;
}

.bm-svc-btn-primary {
    background: #fff;
    color: var(--svc-primary-dark);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.bm-svc-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
    color: var(--svc-primary-dark);
    text-decoration: none;
}

.bm-svc-btn-ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.bm-svc-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    text-decoration: none;
}

.bm-svc-btn-outline {
    background: #fff;
    color: var(--svc-primary);
    border: 2px solid var(--svc-soft-border);
}

.bm-svc-btn-outline:hover {
    border-color: var(--svc-primary);
    color: var(--svc-primary);
    text-decoration: none;
}

.bm-svc-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.bm-svc-hero__visual-ring {
    position: absolute;
    width: min(420px, 90%);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, var(--svc-glow) 0%, transparent 68%);
    animation: bm-svc-pulse 4s ease-in-out infinite;
}

.bm-svc-hero__visual img {
    position: relative;
    z-index: 2;
    width: min(340px, 100%);
    height: auto;
    filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.22));
    animation: bm-svc-float 5s ease-in-out infinite;
}

@keyframes bm-svc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes bm-svc-pulse {
    0%, 100% { transform: scale(1); opacity: 0.85; }
    50% { transform: scale(1.04); opacity: 1; }
}

.bm-svc-hero__wave {
    display: block;
    width: 100%;
    height: 56px;
    line-height: 0;
    margin-bottom: -1px;
}

.bm-svc-hero__wave svg {
    display: block;
    width: 100%;
    height: 56px;
}

/* Intro */
.bm-svc-intro {
    padding: 48px 0 24px;
}

.bm-svc-intro__card {
    background: #fff;
    border-radius: var(--svc-radius);
    border: 1px solid #f0f0f2;
    box-shadow: 0 12px 40px rgba(26, 26, 46, 0.06);
    padding: clamp(24px, 4vw, 40px);
    max-width: 820px;
    margin: 0 auto;
}

.bm-svc-intro__card p,
.bm-svc-intro__card li {
    color: var(--svc-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.bm-svc-intro__card p:last-child {
    margin-bottom: 0;
}

.bm-svc-intro__card strong {
    color: var(--svc-text);
}

/* Features */
.bm-svc-features {
    padding: 32px 0 56px;
}

.bm-svc-section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 40px;
}

.bm-svc-section-head h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--svc-text);
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.bm-svc-section-head p {
    color: var(--svc-muted);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.bm-svc-features__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.bm-svc-feature {
    background: #fff;
    border: 1px solid #f0f0f2;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.bm-svc-feature:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(26, 26, 46, 0.08);
}

.bm-svc-feature__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: var(--svc-soft);
    border: 1px solid var(--svc-soft-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    line-height: 1;
}

.bm-svc-feature h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--svc-text);
    margin: 0 0 8px;
    line-height: 1.35;
}

.bm-svc-feature p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--svc-muted);
}

/* CTA band */
.bm-svc-cta-band {
    padding: 0 0 56px;
}

.bm-svc-cta-band__inner {
    background: linear-gradient(135deg, var(--svc-primary) 0%, var(--svc-primary-dark) 100%);
    border-radius: 24px;
    padding: clamp(32px, 5vw, 48px);
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.bm-svc-cta-band__inner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: radial-gradient(#fff 1px, transparent 1px);
    background-size: 18px 18px;
}

.bm-svc-cta-band__inner > * {
    position: relative;
    z-index: 1;
}

.bm-svc-cta-band__inner h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    margin: 0 0 10px;
}

.bm-svc-cta-band__inner p {
    margin: 0 auto 24px;
    max-width: 520px;
    opacity: 0.92;
    font-size: 1rem;
    line-height: 1.6;
}

.bm-svc-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}

.bm-svc-cta-band__link {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bm-svc-cta-band__link:hover {
    color: #fff;
}

/* Explore other services */
.bm-svc-explore {
    padding: 0 0 80px;
}

.bm-svc-explore__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

.bm-svc-explore-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px;
    border-radius: var(--svc-radius);
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid transparent;
    min-height: 140px;
}

.bm-svc-explore-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26, 26, 46, 0.1);
    text-decoration: none;
}

.bm-svc-explore-card--food {
    background: linear-gradient(145deg, #fff5f5, #ffe8e8);
    border-color: #fecaca;
}

.bm-svc-explore-card--grocery {
    background: linear-gradient(145deg, #f0fdf4, #dcfce7);
    border-color: #bbf7d0;
}

.bm-svc-explore-card--gift {
    background: linear-gradient(145deg, #fdf2f8, #fce7f3);
    border-color: #fbcfe8;
}

.bm-svc-explore-card__label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.7;
}

.bm-svc-explore-card p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.4;
    color: var(--svc-muted);
}

.bm-svc-explore-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--svc-text);
    margin: 0;
}

.bm-svc-explore-card__arrow {
    margin-top: auto;
    font-weight: 700;
    font-size: 0.9rem;
}

.bm-svc-explore-card--food .bm-svc-explore-card__arrow { color: #ef3024; }
.bm-svc-explore-card--grocery .bm-svc-explore-card__arrow { color: #16a34a; }
.bm-svc-explore-card--gift .bm-svc-explore-card__arrow { color: #db2777; }

/* Responsive */
@media (max-width: 991px) {
    .bm-svc-hero__grid {
        grid-template-columns: 1fr;
        gap: 32px;
        min-height: 0;
        padding-bottom: 48px;
        text-align: center;
    }

    .bm-svc-hero__subtitle {
        margin-inline: auto;
    }

    .bm-svc-hero__meta,
    .bm-svc-hero__actions {
        justify-content: center;
    }

    .bm-svc-hero__visual {
        order: -1;
    }

    .bm-svc-hero__visual img {
        width: min(260px, 78vw);
    }

    .bm-svc-features__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .bm-svc-hero {
        padding-top: 40px;
    }

    .bm-svc-hero__grid {
        padding-bottom: 40px;
    }

    .bm-svc-hero__meta {
        flex-direction: column;
        align-items: stretch;
    }

    .bm-svc-hero__meta-item {
        justify-content: center;
    }

    .bm-svc-hero__actions {
        flex-direction: column;
        width: 100%;
    }

    .bm-svc-hero__actions .bm-svc-btn {
        width: 100%;
    }

    .bm-svc-features__grid {
        grid-template-columns: 1fr;
    }

    .bm-svc-explore__grid {
        grid-template-columns: 1fr;
    }

    .bm-svc-cta-band__actions {
        flex-direction: column;
        width: 100%;
    }

    .bm-svc-cta-band__actions .bm-svc-btn {
        width: 100%;
    }

    .bm-svc-intro {
        padding-top: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bm-svc-hero__visual img,
    .bm-svc-hero__visual-ring {
        animation: none;
    }

    .bm-svc-feature:hover,
    .bm-svc-explore-card:hover,
    .bm-svc-btn-primary:hover {
        transform: none;
    }
}
