/* Assicurazioni Monopattino — stile personalizzato sopra Bootstrap 5 */

:root {
    --am-primary: #0d6efd;
    --am-dark: #10243e;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

.navbar-brand i {
    color: var(--am-primary);
}

.hero {
    background: linear-gradient(135deg, var(--am-dark) 0%, #1c3f66 100%);
    color: #fff;
    padding: 4rem 0;
}

.hero .lead {
    color: rgba(255, 255, 255, 0.85);
}

/* Hero "amichevole": angoli arrotondati, badge pillola, gradiente più morbido */
.hero-friendly {
    background: linear-gradient(135deg, #1c3f66 0%, #2a6fb0 60%, #3d8bd6 100%);
    border-radius: 0 0 2rem 2rem;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 50rem;
    font-size: 0.85rem;
    font-weight: 600;
}

.stat-tile {
    border: 1px solid var(--bs-border-color);
    border-radius: 1rem;
    background: var(--bs-body-bg);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.08);
}

.card-prodotto {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    height: 100%;
    border-radius: 1rem;
}

.card-prodotto:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

/* Box "colpo d'occhio" per compagnia in home page */
.card-compagnia {
    border-radius: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card-compagnia:hover {
    transform: translateY(-4px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.1);
}

.icona-compagnia {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.badge-massimale {
    font-size: 0.85rem;
}

#mappa-prezzi,
#mappa-regioni {
    width: 100%;
    height: 70vh;
    min-height: 420px;
    border-radius: 1rem;
    z-index: 0;
}

.leaflet-popup-content {
    font-size: 0.9rem;
}

.privacy-note {
    background-color: rgba(13, 110, 253, 0.08);
    border-left: 4px solid var(--am-primary);
    padding: 0.85rem 1rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
}

/* Campo honeypot: invisibile per gli utenti reali, i bot lo compilano comunque */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

footer.site-footer {
    background-color: var(--am-dark);
    color: rgba(255, 255, 255, 0.75);
}

footer.site-footer a {
    color: rgba(255, 255, 255, 0.85);
}

.grecaptcha-badge {
    z-index: 1030;
}
