
/* ==========================================================
   MISTERPACCO.IT - HOMEPAGE 2026
   Grafica commerciale + SEO
   ========================================================== */


/* ==========================================================
   1. FASCIA VANTAGGI SUPERIORE
   ========================================================== */

.mp-hero-benefits {
    background: #073590;
    color: #ffffff;
    padding: 12px 18px 17px;
}

.mp-hero-benefits-inner {
    max-width: 1180px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
}

.mp-hero-benefits span::first-letter {
    color: #f1c933;
}


/* ==========================================================
   2. BANNER PRENOTAZIONE TELEFONICA
   ========================================================== */

.mp-phone-banner {
    background: linear-gradient(
        100deg,
        #eaf5ff 0%,
        #e5f2ff 54%,
        #d8eaf9 100%
    );

    overflow: hidden;
    width: 100%;
}

.mp-phone-inner {
    max-width: 1180px;
    margin: 0 auto;

    min-height: 370px;

    display: grid;
    grid-template-columns: 54% 46%;
    align-items: stretch;
}


/* ==========================================================
   3. TESTI BANNER
   ========================================================== */

.mp-phone-copy {
    padding: 37px 18px 35px 24px;
    position: relative;
    z-index: 1;
    color: #0b2d6a;
}

.mp-eyebrow {
    display: inline-block;

    background: #073590;
    color: #ffffff;

    padding: 6px 12px;
    border-radius: 6px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.mp-phone-copy h2 {
    font-size: clamp(24px, 2.6vw, 38px);
    line-height: 1.13;
    letter-spacing: -0.03em;

    font-weight: 800;
    margin: 14px 0 12px;

    color: #0b2d6a;
}

.mp-phone-copy h2 strong {
    color: #e2262b;
    display: block;
}

.mp-phone-copy p {
    max-width: 540px;

    font-size: 15px;
    line-height: 1.5;

    margin: 0 0 12px;
}

.mp-phone-copy ul {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}

.mp-phone-copy li {
    font-size: 14px;
    margin: 8px 0;
    line-height: 1.35;
}

.mp-phone-copy li::before {
    content: "✓";

    color: #073590;
    background: #f1c933;

    border-radius: 50%;

    display: inline-grid;
    place-items: center;

    width: 21px;
    height: 21px;

    font-weight: 800;
    margin-right: 9px;
}


/* ==========================================================
   4. PULSANTE TELEFONICO
   ========================================================== */

.mp-phone-cta {
    display: inline-flex;
    flex-direction: column;

    background: #073590;
    color: #ffffff !important;

    border-radius: 9px;
    padding: 13px 24px;

    text-decoration: none !important;

    font-weight: 700;
    font-size: 19px;

    box-shadow: 0 5px 16px rgba(7, 53, 144, 0.15);

    transition: background-color 0.2s ease;
}

.mp-phone-cta:hover {
    background: #0d46a5;
}

.mp-phone-cta:focus-visible {
    outline: 3px solid #f1c933;
    outline-offset: 3px;
}

.mp-phone-cta small {
    font-size: 12px;
    font-weight: 400;

    margin-top: 3px;
    padding-left: 25px;
}


/* ==========================================================
   5. IMMAGINE OPERATRICE
   ========================================================== */

.mp-phone-art {
    background-image: url("../images/misterpacco-operatrice.png");

    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;

    min-height: 360px;
}


/* ==========================================================
   6. QUATTRO VANTAGGI INFERIORI
   ========================================================== */

.mp-values {
    background: #ffffff;
    padding: 27px 16px 32px;

    color: #073590;
}

.mp-values-inner {
    max-width: 1180px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 0;
    text-align: center;
}

.mp-values-inner > div {
    padding: 6px 18px;
    border-right: 1px solid #e1e8f0;
}

.mp-values-inner > div:last-child {
    border-right: 0;
}

.mp-values-inner span {
    display: block;

    color: #f0b900;
    font-size: 36px;
    line-height: 1.3;
}

.mp-values-inner h3 {
    font-size: 17px;
    font-weight: 800;

    margin: 7px 0;
    color: #073590;
}

.mp-values-inner p {
    font-size: 13px;
    color: #465772;

    line-height: 1.45;
    margin: 0;
}


/* ==========================================================
   7. TABLET
   ========================================================== */

@media (max-width: 800px) {

    .mp-phone-inner {
        grid-template-columns: 1fr;
    }

    .mp-phone-copy {
        padding: 28px 20px;
    }

    .mp-phone-art {
        min-height: 300px;
        background-size: contain;
        background-position: center bottom;
    }

    .mp-values-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 20px;
    }

    .mp-values-inner > div:nth-child(2) {
        border-right: 0;
    }
}


/* ==========================================================
   8. SMARTPHONE
   ========================================================== */

@media (max-width: 480px) {

    .mp-hero-benefits-inner {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        font-size: 11px;
    }

    .mp-phone-copy h2 {
        font-size: 27px;
    }

    .mp-phone-art {
        min-height: 230px;
    }

    .mp-phone-cta {
        font-size: 17px;
    }

    .mp-values {
        padding: 22px 10px;
    }

    .mp-values-inner > div {
        padding: 5px 9px;
    }

    .mp-values-inner h3 {
        font-size: 14px;
    }

    .mp-values-inner p {
        font-size: 12px;
    }
}
