.flot-body {
    background: #fff;
}

.flot-top {
    padding: 28px 0 18px;
    text-align: center;
}

.flot-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    flex-wrap: wrap;
}

.flot-logos img {
    height: 34px;
    width: auto;
    object-fit: contain;
}

.flot-program-title {
    margin: 14px 0 0;
    font-size: clamp(22px, 3vw, 30px);
    color: var(--navy);
    font-weight: 700;
}

.flot-program-title span {
    color: var(--orange);
}

/* Hero */
.flot-hero {
    width: 100%;
    overflow: hidden;
}

.flot-hero-media {
    position: relative;
    width: 100%;
}

.flot-hero-media picture,
.flot-hero-media img {
    display: block;
    width: 100%;
    height: auto;
}

/* Why section / iceberg */
.flot-why-grid {
    width: 100%;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    align-items: center;
    gap: 50px;
    padding: 0 40px;
}

.flot-why-copy h2 {
    font-size: clamp(26px, 3vw, 36px);
    color: var(--navy);
    line-height: 1.05;
    margin: 0 0 14px;
}

.flot-why-copy h2 span {
    color: var(--orange);
}

.flot-why-copy p {
    color: var(--muted);
    line-height: 1.7;
    font-size: 15px;
}

.flot-why-icons {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin: 22px 0;
    padding: 0;
}

.flot-why-icons li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 86px;
    text-align: center;
}

.flot-why-icons img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.flot-why-icons span {
    font-size: .72rem;
    font-weight: 700;
    color: var(--navy);
}

.flot-iceberg {
    position: relative;
}

.flot-iceberg img {
    width: 100%;
    border-radius: 20px;
}

.flot-iceberg-label {
    position: absolute;
    right: 0;
    color: var(--navy);
    font-size: .85rem;
}

.flot-iceberg-label.top {
    top: 10px;
    display: flex;
    flex-direction: column;
    text-align: right;
}

.flot-iceberg-label.top strong {
    color: var(--orange);
    font-size: 1.1rem;
}

.flot-iceberg-label.bottom {
    bottom: 16px;
    background: rgba(255, 255, 255, .92);
    padding: 12px 16px;
    border-radius: 10px;
}

.flot-iceberg-label.bottom ul {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: .78rem;
}

.flot-iceberg-label.bottom i {
    color: var(--orange);
    margin-right: 6px;
}

/* Shared icon grid (how it works / what changes) */
.flot-grid {
    display: grid;
    gap: 24px;
}

.flot-grid.six {
    grid-template-columns: repeat(3, 1fr);
}

.flot-grid.three {
    grid-template-columns: repeat(3, 1fr);
}

.flot-how article,
.flot-change article {
    text-align: center;
    padding: 20px;
}

.flot-how img,
.flot-change img {
    width: 84px;
    height: 84px;
    object-fit: contain;
    margin: 0 auto 14px;
}

.flot-how h3,
.flot-change h3 {
    font-size: 1rem;
    color: var(--navy);
    margin: 0 0 8px;
}

.flot-how p {
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.6;
    margin: 0;
}

.flot-change {
    background: var(--soft);
}

/* Risk banner */
.flot-risk {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.flot-risk picture,
.flot-risk-bg {
    display: block;
    width: 100%;
    height: auto;
}

/* Allies */
.flot-ally-card {
    border-top: 4px solid var(--line);
    padding: 26px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    border-radius: 6px;
}

.flot-ally-card.canacar {
    border-top-color: #c0392b;
}

.flot-ally-card.qualitas {
    border-top-color: #7a3b9c;
}

.flot-ally-card.innovazione {
    border-top-color: var(--navy);
}

.flot-ally-card img {
    height: 34px;
    width: auto;
    object-fit: contain;
    margin: 0 auto 16px;
}

.flot-ally-card p {
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.6;
    margin: 0;
}

/* CTA banner */
.flot-cta {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.flot-cta picture,
.flot-cta-bg {
    display: block;
    width: 100%;
    height: auto;
}

.flot-cta .hero-actions-overlay {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    justify-content: center;
}

/* Form */
.flot-form {
    background: linear-gradient(120deg, var(--navy2) 0%, var(--navy) 100%);
    padding: 60px 0;
}

.flot-form-card {
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    padding: 0 0 28px;
}

.flot-form-card h2 {
    background: var(--orange);
    color: #fff;
    margin: 0;
    padding: 18px 24px;
    font-size: 1.1rem;
    text-align: center;
}

.flot-form-card h2 span {
    font-weight: 800;
}

.flot-form-alert-overlay {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, .55);
    animation: flot-form-alert-fade-in .2s ease-out;
}

.flot-form-alert-overlay.is-closing {
    animation: flot-form-alert-fade-out .2s ease-in forwards;
}

.flot-form-alert {
    position: relative;
    max-width: 420px;
    width: 100%;
    padding: 28px 32px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
    animation: flot-form-alert-pop .2s ease-out;
}

.flot-form-alert p {
    margin: 0;
}

.flot-form-alert.success {
    color: #1d7a3b;
    border-top: 6px solid #1d7a3b;
}

.flot-form-alert.error {
    color: #b42318;
    border-top: 6px solid #b42318;
}

.flot-form-alert-close {
    position: absolute;
    top: 6px;
    right: 10px;
    border: none;
    background: none;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: inherit;
}

@keyframes flot-form-alert-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes flot-form-alert-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes flot-form-alert-pop {
    from { transform: scale(.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.flot-form-card label {
    display: block;
    margin: 16px 24px 0;
    font-size: .78rem;
    font-weight: 700;
    color: var(--navy);
}

.flot-form-card input, 
.flot-form-card textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    font-size: .85rem;
    font-family: inherit;
}

.flot-captcha {
    margin: 18px 24px 0;
}

.flot-captcha > div {
    transform-origin: left top;
}

.flot-form-card .btn {
    width: calc(100% - 48px);
    margin: 20px 24px 0;
}

/* Footer */
.flot-footer {
    background: var(--navy2);
    color: #fff;
    padding: 20px 0;
}

.flot-footer-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    font-size: .8rem;
}

.flot-footer .socials {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
}

.flot-footer .socials a {
    color: #fff;
}

@media (max-width: 980px) {
    .flot-why-grid {
        grid-template-columns: 1fr;
    }

    .flot-grid.six {
        grid-template-columns: repeat(2, 1fr);
    }

    .flot-grid.three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .flot-cta .hero-actions-overlay {
        left: auto;
        transform: none;
    }

    .flot-logos {
        gap: 20px;
    }

    .flot-logos img {
        height: 26px;
    }

    .flot-why-grid {
        padding: 0 20px;
    }

    .flot-why-icons {
        gap: 14px;
    }

    .flot-why-icons li {
        width: 70px;
    }

    .flot-grid.six {
        grid-template-columns: 1fr;
    }

    .flot-form-card {
        max-width: 100%;
    }

    .flot-form-card .btn {
        width: calc(100% - 32px);
        margin: 20px 16px 0;
    }

    .flot-form-card label {
        margin: 16px 16px 0;
    }

    .flot-captcha {
        margin: 18px 16px 0;
    }
}

.flot-body .footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
    text-align: left;
}
