/* ~~~~~~~~~~ Home page design (loaded last, inc/mobilka-sales.php) ~~~~~~~~~~ */
/* Brand blue with the doodle pattern only in the hero; everything below on a calm light background,
   Calling Cards in a white panel. Header buttons blue instead of neon green. Red = buy, green = WhatsApp.
   Hero in a slightly deeper blue (see below). */

body.home {
    background: #f3f5f8 !important;
}

/* Hero: brand blue with the doodle pattern in blue tones (the original's white strokes were too prominent).
   #0088c0 = slightly deeper than the site's #00a1d3 (white headline contrast ~4:1 instead of ~3:1).
   To go back to the lighter site blue, change only this color. */
body.home .mobilka-hero {
    position: relative;
    isolation: isolate;
    background: #0088c0;
}

body.home .mobilka-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    /* tinted copy of images/page-decor.svg: light strokes light blue instead of white, dark strokes deep blue */
    background: url("hero-decor.svg") no-repeat 50% 0 / 100% auto;
    pointer-events: none;
}

body.home .mobilka-section__title {
    color: #14213d;
}

body.home .mobilka-section__lead {
    color: #4a5568;
}

:is(body.home, body.mobilka-packages-overview) .mobilka-section__more a,
:is(body.home, body.mobilka-packages-overview) .mobilka-section__more a:hover {
    color: #0a6e9a;
}

/* Both sections on the same light gray; Calling Cards are separated by a large white panel (below) */
body.home .mobilka-tariffs {
    background: #f3f5f8;
}

@media (min-width: 992px) {
    body.home .mobilka-tariffs,
    body.home .mobilka-showcase {
        padding: 4rem 0;
    }
}

/* Cards: larger radius, soft wide shadow */
:is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__card,
body.home .mobilka-cta.mobilka-hero__cta {
    border-radius: 1rem;
}

:is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__card {
    border: 1px solid #e3e7ee;
    box-shadow: 0 8px 24px rgba(20, 33, 61, .06);
}


/* Desktop WhatsApp button: a little more presence on the light page */
@media (min-width: 768px) {
    body.home .mobilka-sticky-cta .mobilka-cta__button {
        box-shadow: 0 6px 20px rgba(30, 158, 74, .35);
    }
}


/* Hero benefits: white chips with dark text (white text on the light blue was hard to read) */
body.home .mobilka-hero__bullets li {
    background: #fff;
    color: #14213d;
    box-shadow: 0 2px 6px rgba(20, 33, 61, .12);
}

body.home .mobilka-hero__bullets .mobilka-icon {
    color: #0a7fb0;
}

/* ~~~~~~~~~~ Calling Cards panel ~~~~~~~~~~ */
/* Calling Cards collected in one large white rounded panel on the shared light gray,
   the cards inside on a very light gray ("showcase in a showcase"). */

body.home .mobilka-showcase {
    background: #f3f5f8;
    padding-top: 0;
}

body.home .mobilka-showcase > .container {
    width: calc(100% - 2rem);
    padding: 1.75rem 1rem;
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 12px 40px rgba(20, 33, 61, .08);
}

@media (min-width: 768px) {
    body.home .mobilka-showcase > .container {
        width: auto;
        padding: 2.5rem 2rem;
    }
}

@media (min-width: 992px) {
    body.home .mobilka-showcase {
        padding-top: 0;
    }
}


/* ~~~~~~~~~~ Cards: more compact and modern (tariffs and Calling Cards) ~~~~~~~~~~ */

:is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__card {
    border: 1px solid #e6eaf0;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 1px 2px rgba(20, 33, 61, .04), 0 8px 24px rgba(20, 33, 61, .06);
    transition: transform .15s ease, box-shadow .15s ease;
}

@media (hover: hover) {
    :is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__card:hover {
        transform: translateY(-3px);
        box-shadow: 0 2px 4px rgba(20, 33, 61, .05), 0 14px 32px rgba(20, 33, 61, .1);
    }
}

:is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__card .mobilka-cta__button {
    min-height: 2.5rem;
    border-radius: .625rem;
    box-shadow: none;
    font-size: .9375rem;
}

/* Tariffs: price and period on one line, tighter options */
:is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__price {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0 .375rem;
    margin-top: .25rem;
    padding-bottom: .75rem;
    border-bottom-color: #eef1f5;
}

:is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__period {
    margin-top: 0;
    color: #8a94a6;
}

:is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__options {
    gap: .375rem;
    margin: .75rem 0 1rem;
    color: #2d3748;
    line-height: 1.35;
}

@media (min-width: 576px) {
    :is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__options {
        font-size: .875rem;
    }
}

:is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__option-icon {
    color: #0a7fb0;
}

:is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__option-icon .mobilka-icon {
    width: 1rem;
    height: 1rem;
    margin-top: .0625rem;
}

/* "5G internet" next to the data volume (client 13.10.2026: make 5G more visible) */
.mobilka-tariffs__badge {
    display: inline-block;
    margin-left: .25rem;
    padding: .0625rem .5rem;
    border-radius: 999px;
    background: #0a7fb0;
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.5;
    white-space: nowrap;
    vertical-align: .0625rem;
}

/* Same type scale in tariff and Calling Cards cards: name 18px dark, price 28px red, decimals 18px */
:is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__title {
    color: #14213d;
    font-size: 1.125rem;
    font-weight: 900;
    line-height: 1.2;
}

/* Mobile: less nested padding, so the card images get the width */
@media (max-width: 575.98px) {
    body.home .mobilka-showcase > .container {
        padding: 1.5rem .75rem;
    }

    body.home .mobilka-showcase .mobilka-products {
        gap: .625rem;
        padding: 0 !important;
    }

    body.home .mobilka-showcase .mobilka-product {
        padding: .5rem .5rem .75rem;
    }

    body.home .mobilka-showcase .mobilka-product__image {
        padding: .25rem;
    }

    :is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__grid {
        gap: .625rem;
    }

    /* narrow cards: period always under the price, so all cards line up */
    :is(body.home, body.mobilka-packages-overview) .mobilka-tariffs__price {
        flex-direction: column;
    }
}


/* Hero price: larger (the small decimals made it look smaller), note aligned to the price */
body.home .mobilka-hero__cta .mobilka-cta__price {
    align-items: center;
}

body.home .mobilka-hero__cta .mobilka-cta__price-value {
    font-size: 2.375rem;
    letter-spacing: -.01em;
}

/* Hero price note: "including 10 €" bold over a small gray "starting credit", divider as tall as the note */
body.home .mobilka-hero__cta .mobilka-cta__price {
    gap: .25rem 1rem;
}

body.home .mobilka-hero__cta .mobilka-cta__price-note {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 1rem;
    border-left: 2px solid #e6eaf0;
    line-height: 1.15;
}

body.home .mobilka-hero__cta .mobilka-cta__price-note-amount {
    color: #14213d;
    font-size: 1.25rem;
    font-weight: 900;
}

body.home .mobilka-hero__cta .mobilka-cta__price-note-incl {
    color: #6b7588;
    font-size: .875rem;
    font-weight: 500;
}

body.home .mobilka-hero__cta .mobilka-cta__price-note-label {
    margin-top: .125rem;
    color: #6b7588;
    font-size: .875rem;
    font-weight: 500;
}

/* Hero: "free shipping" badge on the right of the price row - only where the card is wide enough for one row
   (576-767px: full-width card; from 1200px: desktop). On phones and in the narrow tablet column it is hidden. */
body.home .mobilka-hero__cta .mobilka-cta__shipping {
    display: none;
}

@media (min-width: 576px) and (max-width: 767.98px), (min-width: 1200px) {
    body.home .mobilka-hero__cta .mobilka-cta__shipping {
        display: inline-flex;
        align-items: center;
        gap: .375rem;
        margin-left: auto;
        padding: .375rem .75rem;
        border-radius: 999px;
        background: #eef3f8; /* neutral: green is reserved for WhatsApp */
        color: #14213d;
        font-size: .8125rem;
        font-weight: 700;
        white-space: nowrap;
    }

    body.home .mobilka-hero__cta .mobilka-cta__shipping-icon {
        width: 1.125rem;
        height: 1.125rem;
        color: #0a7fb0;
    }
}

/* "How it works" right after the Calling Cards panel: no double gap on desktop */
@media (min-width: 992px) {
    body.home .mobilka-steps {
        padding-top: .5rem;
    }
}
