/* View: Views/Home/ChiSiamo.cshtml */
:root {
    --ap-font: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --ap-ink: #1d1d1f;
    --ap-grey: #6e6e73;
    --ap-grey2: #86868b;
    --ap-line: #e3e3e8;
    --ap-surface: #f5f5f7;
    --ap-cyan: #009fda;
    --ap-cyan-d: #007aa3;
    --cyan: #009fda;

    --fs-display: clamp(2.6rem, 6vw, 4.6rem);
    --fs-h2: clamp(2rem, 4.4vw, 3.4rem);
    --fs-h2-xl: clamp(2.4rem, 6vw, 4.4rem);
    --fs-card: 1.28rem;
    --fs-lead: clamp(1.05rem, 1.35vw, 1.25rem);
    --fs-sub: clamp(1rem, 1.2vw, 1.12rem);
    --ls-tight: -.03em;
    --ls-snug: -.015em;
    --lh-tight: 1.05;
}

#header.fixed-top {
    background-color: rgba(255,255,255,.82) !important;
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid var(--ap-line);
}
#header.fixed-top a,
#header.fixed-top .nav-link,
#header.fixed-top .navbar-nav .nav-link,
#header.fixed-top li a { color: var(--ap-ink) !important; }


.libro{background:transparent !important;border-radius: 0 !important;padding: 0 !important;}
.blog-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #fff;
    text-align: center;
    padding: clamp(120px, 14vw, 180px) 24px clamp(72px, 10vw, 120px);
    overflow: hidden;
}
.blog-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    bottom: -30%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,159,218,.12), transparent 65%);
    filter: blur(60px);
    pointer-events: none;
}
.blog-hero > * { position: relative; z-index: 1; }
.blog-hero .sez-label {
    font-family: var(--ap-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--ap-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}
.blog-hero h1 {
    font-family: var(--ap-font);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 600;
    color: var(--ap-ink);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 20px;
    max-width: 900px;
}
.blog-hero h1 span { color: var(--cyan); }
.blog-hero-divider {
    width: 56px;
    height: 3px;
    border: 0;
    border-radius: 3px;
    background: var(--cyan);
    margin: 0 auto 40px;
    opacity: 1;
}
.blog-hero .hero-sub {
    font-family: var(--ap-font);
    font-size: clamp(1rem, 1.3vw, 1.2rem);
    font-weight: 400;
    color: var(--ap-grey);
    line-height: 1.65;
    margin: 0 auto 40px;
    max-width: 640px;
}
.blog-hero .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.blog-hero .hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ap-ink);
    color: #fff;
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 500;
    padding: 16px 32px;
    border-radius: 980px;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.blog-hero .hero-cta:hover { background: var(--cyan); color: #fff; transform: translateY(-1px); text-decoration: none; }
.blog-hero .hero-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: var(--ap-ink);
    border: 1px solid var(--ap-line);
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 500;
    padding: 15px 30px;
    border-radius: 980px;
    text-decoration: none;
    transition: border-color .2s, color .2s, transform .15s;
}
.blog-hero .hero-ghost:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-1px); text-decoration: none; }

.sez-label-white {
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.sez-label-blu {
    font-size: 11px;
    font-weight: 700;
    color: rgba(0,100,160,.55);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.btn-outlineWHI {
    color: #fff !important;
    border: 1px solid #fff !important;
    padding: 20px;
}
.btn{padding:20px !important;}
.btn-outlineWHI:hover {
    background-color: #007fbf;
    color: #fff !important;
}

.divisore-minimal {
    border: none;
    border-top: 1px solid #e4edf5;
    margin: 0;
    opacity: 1;
}

.fg-icon {
    width: 36px;
    height: 36px;
    background: rgb(224,240,250);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #007fbf;
    flex-shrink: 0;
}

.sez-piattaforma {
    background: #fff;
    padding: 96px 0;
}

.sez-aree {
    background: #f8fbfd;
    padding: 96px 0;
}
.card-vantaggio {
    background: #fff;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    padding: 36px 28px;
    height: 100%;
    transition: box-shadow .25s, transform .25s;
    display: flex;
    flex-direction: column;
}
.card-vantaggio:hover {
    box-shadow: 0 8px 32px rgba(0,60,120,.09);
    transform: translateY(-3px);
}
.card-vantaggio .cv-icon {
    width: 52px;
    height: 52px;
    background: #e8f4fb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #007fbf;
    margin-bottom: 20px;
}
.card-vantaggio h4 {
    font-size: .95rem;
    font-weight: 800;
    color: #003c78;
    margin-bottom: 8px;
}
.card-vantaggio p {
    font-size: .87rem;
    color: #5a7a8a;
    margin-bottom: 0;
    line-height: 1.65;
    flex: 1;
}

.sez-chi-siamo {
    background: #fff;
    padding: 96px 0;
}


.box-libro {
    background: #fff6de;
    border-radius: 14px;
    padding: 36px;
    margin-top: 48px;
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}
.box-libro-testo {
    flex: 1;
    min-width: 200px;
}
.box-libro-testo h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #003c78;
    margin-bottom: 6px;
    line-height: 1.5;
}
.box-libro-testo p {
    font-size: .87rem;
    color: #5a7a8a;
    margin: 0;
}
.box-libro img {
    height: 60px;
    object-fit: contain;
}

.sez-cta-chisiamo {
    background: #f8fbfd;
    padding: 80px 0;
}
.cta-card-chisiamo {
    background: #fff;
    border: 1px solid #e4edf5;
    border-radius: 14px;
    overflow: hidden;
}
.cta-card-chisiamo .cta-img {
    background-image: url("/assets/img/bresciani.jpg");
    background-size: cover;
    background-position: center;
    min-height: 240px;
}
.cta-card-chisiamo .cta-body {
    padding: 48px 40px;
}
.cta-card-chisiamo .cta-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #003c78;
    margin-bottom: 12px;
}
.cta-card-chisiamo .cta-body h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #5a7a8a;
    margin-bottom: 28px;
}

@media (max-width: 768px) {
    .sez-piattaforma, .sez-aree, .sez-chi-siamo { padding: 64px 0; }
    .sez-cta-chisiamo { padding: 56px 0; }
    .box-libro { flex-direction: column; gap: 20px; }
}

@media (max-width: 767px) {
    .blog-hero { padding-left: 18px; padding-right: 18px; }
    .blog-hero h1 { font-size: clamp(2.1rem, 8.6vw, 2.8rem); }
    .blog-hero .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 340px; }
    .blog-hero .hero-cta, .blog-hero .hero-ghost { width: 100%; }
}
/* SCALA TIPOGRAFICA E BOTTONI DELLA HOME */
.hp-sec {
    position: relative;
    overflow: hidden;
    padding: clamp(84px, 11vw, 168px) 0;
    background: #fff;
}
.hp-sec--light { background: var(--ap-surface); }
.hp-title {
    font-family: var(--ap-font);
    font-weight: 600;
    color: var(--ap-ink);
    font-size: var(--fs-h2);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 14px;
}
.hp-title--xl { font-size: var(--fs-h2-xl); }
.hp-title span { color: inherit; }
.hp-title span.hl { color: var(--ap-cyan); }
.hp-sub {
    font-family: var(--ap-font);
    font-size: var(--fs-lead);
    color: var(--ap-ink);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}
.hp-lead {
    font-family: var(--ap-font);
    font-size: var(--fs-sub);
    color: var(--ap-grey);
    font-weight: 400;
    line-height: 1.6;
    margin: 22px 0 0;
}
.hp-actions {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.hp-cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e7f6fd 0%, #f3fbff 55%, #ffffff 100%);
    border: 1px solid #d4ecfa;
    border-radius: 32px;
    padding: clamp(56px, 8vw, 110px) 32px;
    text-align: center;
}
.hp-cta-band::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -45%;
    left: 50%;
    width: 70%;
    aspect-ratio: 1;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(0,159,218,.20), transparent 65%);
    filter: blur(54px);
    pointer-events: none;
}
.hp-cta-band > * { position: relative; z-index: 1; }
.hp-cta-band .hp-title { margin-bottom: 12px; }
.hp-cta-band .hp-sub {
    max-width: 820px;
    margin-left: auto;
    margin-right: auto;
}
.hp-cta-band .hp-actions {
    margin-top: 30px;
    justify-content: center;
}

/* TESTI DELLA PAGINA ALLINEATI ALLA SCALA DELLA HOME */
.titolo-interno {
    font-family: var(--ap-font);
    font-weight: 600;
    color: var(--ap-ink);
    font-size: var(--fs-h2);
    line-height: var(--lh-tight);
    letter-spacing: var(--ls-tight);
    margin: 0 0 14px;
}
.titolo-interno span, .titolo-interno .hl { color: var(--ap-cyan); }
.titolo-medio {
    font-family: var(--ap-font);
    font-weight: 600;
    color: var(--ap-ink);
    font-size: var(--fs-lead);
    line-height: 1.4;
    letter-spacing: var(--ls-snug);
    margin: 0;
}
.titolo-medio span, .titolo-medio .hl { color: var(--ap-cyan); }
.sottotitolo-interno {
    font-family: var(--ap-font);
    font-size: var(--fs-sub);
    color: var(--ap-grey);
    font-weight: 400;
    line-height: 1.6;
}
.sez-label-blu {
    font-family: var(--ap-font);
    font-size: 12px;
    font-weight: 700;
    color: var(--ap-grey);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

/* TUTTI I BOTTONI NERI COME IN HOME */
.hp-cta,
.blog-hero .hero-cta,
.blog-hero .hero-ghost,
.btn.btn-primary,
.btn.btn-outline-light,
.btn.btn-outlineWHI {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--ap-ink) !important;
    color: #fff !important;
    border: 1px solid var(--ap-ink) !important;
    font-family: var(--ap-font);
    font-size: 16px;
    font-weight: 500 !important;
    line-height: 1.2;
    padding: 16px 30px !important;
    border-radius: 980px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    box-shadow: none !important;
    text-decoration: none;
    transition: background .2s, transform .15s;
}
.hp-cta:hover,
.blog-hero .hero-cta:hover,
.blog-hero .hero-ghost:hover,
.btn.btn-primary:hover,
.btn.btn-outline-light:hover,
.btn.btn-outlineWHI:hover {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
    transform: translateY(-1px);
    text-decoration: none;
}

@media (max-width: 767px) {
    .hp-cta-band { border-radius: 24px; padding-left: 20px; padding-right: 20px; }
    .hp-cta-band .hp-actions { flex-direction: column; align-items: stretch; }
}
