/* Rifiniture circoscritte alla home; nessuna regola per il logo dell'header. */
.sbc-home-refined {
    --sbc-refine-ink: #173956;
    --sbc-refine-copy: #5b6b7c;
    --sbc-refine-blue: #3268a8;
    --sbc-refine-line: #dde5ee;
}
#sbcHomeServices.full-row, #sbcHomeFeature.full-row, #sbcHomeMethod.full-row { padding: 64px 0 !important; }
.sbc-home-refined .sbc-home-refined-shell { width: calc(100% - 64px); max-width: 1184px; margin-inline: auto; }
.sbc-home-refined .sbc-home-refined-eyebrow { display: block; margin: 0 0 13px; color: #917039; font-size: 11px; font-weight: 800; letter-spacing: .13em; line-height: 1.5; text-transform: uppercase; }
.sbc-home-refined h2 { margin: 0 0 19px; color: var(--sbc-refine-ink); font-size: clamp(32px, 3.5vw, 46px); line-height: 1.14; letter-spacing: -.02em; }
.sbc-home-refined .sbc-home-refined-copy { min-width: 0; }
.sbc-home-refined .sbc-home-refined-copy > p { margin: 0; color: var(--sbc-refine-copy); font-size: 15.5px; line-height: 1.8; }
.sbc-home-refined .sbc-home-refined-actions { display: flex; flex-wrap: wrap; gap: 11px; margin-top: 27px; }
.sbc-home-refined .sbc-home-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 19px; border: 1px solid var(--sbc-refine-blue); border-radius: 8px; background: var(--sbc-refine-blue); color: #fff !important; font-size: 13px; font-weight: 700; line-height: 1.4; text-decoration: none !important; text-align: center; transition: background-color .18s ease, border-color .18s ease; }
.sbc-home-refined .sbc-home-action:hover { background: #244d82; border-color: #244d82; }
.sbc-home-refined .sbc-home-action i, .sbc-home-refined .sbc-home-service-link i { color: inherit !important; }
.sbc-home-refined .sbc-home-action--outline { color: var(--sbc-refine-ink) !important; border-color: #afbfce; background: transparent; }
.sbc-home-refined .sbc-home-action--outline:hover { background: #eef3f9; border-color: #6483a0; }
.sbc-home-refined a:focus-visible { outline: 3px solid #83afe3; outline-offset: 4px; }
.sbc-home-refined .sbc-home-editorial-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: 62px; }
#sbcHomeServices { background: #fff; }
#sbcHomeServices .sbc-home-service-head { max-width: 720px; margin: 0 auto 30px; text-align: center; }
#sbcHomeServices .sbc-home-service-head p { max-width: 620px; margin: 0 auto; color: var(--sbc-refine-copy); font-size: 16px; line-height: 1.75; }
#sbcHomeServices .sbc-home-service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
#sbcHomeServices .sbc-home-service-card { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 21px 17px; border: 1px solid #e1e8f1; border-radius: 16px; background: #f8fafc; }
#sbcHomeServices .sbc-home-service-icon { flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 21px; border-radius: 15px; background: #e7eff9; color: var(--sbc-refine-blue); }
#sbcHomeServices .sbc-home-service-icon i { font-size: 25px !important; line-height: 1; color: var(--sbc-refine-blue) !important; }
#sbcHomeServices .sbc-home-service-card h3 { margin: 0 0 11px; color: #244d82; font-size: 23px; line-height: 1.22; }
#sbcHomeServices .sbc-home-service-card p { flex: 1; margin: 0 0 16px; color: var(--sbc-refine-copy); font-size: 13.5px; line-height: 1.7; }
#sbcHomeServices .sbc-home-service-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #244d82 !important; font-size: 12px; font-weight: 700; line-height: 1.4; text-decoration: none; }
#sbcHomeFeature .sbc-home-refined-eyebrow { color: #e9ca8b; }
#sbcHomeFeature h2 { color: #fff; }
#sbcHomeFeature .sbc-home-refined-copy > p { color: #e0e9f3; }
#sbcHomeFeature .sbc-home-action--outline { color: #fff !important; border-color: rgba(255,255,255,.45); }
#sbcHomeFeature .sbc-home-action--outline:hover { background: rgba(255,255,255,.09); }
#sbcHomeFeature .sbc-home-feature__image, #sbcHomeMethod .sbc-process-image { position: relative; display: block; min-height: 0; aspect-ratio: 1 / 1.08; padding: 0; overflow: hidden; background: #eaf0f9; border: 0; border-radius: 16px; box-shadow: none; }
#sbcHomeFeature .sbc-home-feature__image::before, #sbcHomeFeature .sbc-home-feature__image::after, #sbcHomeMethod .sbc-process-image::before, #sbcHomeMethod .sbc-process-image::after { content: none; display: none; }
#sbcHomeFeature .sbc-home-feature__image img, #sbcHomeMethod .sbc-process-image img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; filter: none; }
#sbcHomeFeature .sbc-home-feature__image img { object-position: 50% 10%; }
#sbcHomeMethod .sbc-process-image img { object-position: 50% 24%; }
#sbcHomeFeature .sbc-home-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 0; margin: 25px 0 0; list-style: none; }
#sbcHomeFeature .sbc-home-detail-grid li { min-width: 0; padding: 13px 15px; border: 1px solid rgba(255,255,255,.13); border-radius: 10px; background: rgba(255,255,255,.045); }
#sbcHomeFeature .sbc-home-detail-grid strong { display: block; color: #fff; font-size: 14px; line-height: 1.5; }
#sbcHomeFeature .sbc-home-detail-grid span { display: block; margin-top: 4px; color: #d0ddeb; font-size: 12px; line-height: 1.6; }
#sbcHomeMethod .sbc-home-method-list { display: grid; gap: 0; margin: 25px 0 0; padding: 0; list-style: none; }
#sbcHomeMethod .sbc-home-method-list > li { display: grid; grid-template-columns: 43px minmax(0, 1fr); align-items: start; gap: 13px; padding: 18px 0; border-bottom: 1px solid var(--sbc-refine-line); }
#sbcHomeMethod .sbc-home-method-list > li:first-child { border-top: 1px solid var(--sbc-refine-line); }
#sbcHomeMethod .sbc-home-method-number { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 11px; color: #244d82; background: #edf3fa; font-size: 12px; font-weight: 800; }
#sbcHomeMethod .sbc-home-method-list h3 { margin: 0 0 5px; color: var(--sbc-refine-ink); font-size: 18px; line-height: 1.35; }
#sbcHomeMethod .sbc-home-method-list p { margin: 0; color: var(--sbc-refine-copy); font-size: 13px; line-height: 1.65; }
@media (max-width: 1199px) {
    #sbcHomeServices .sbc-home-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sbc-home-refined .sbc-home-editorial-grid { gap: 35px; }
    #sbcHomeServices .sbc-home-service-card p { font-size: 14px; }
}
@media (max-width: 991px) {
    .sbc-home-refined .sbc-home-editorial-grid { gap: 27px; }
    .sbc-home-refined .sbc-home-refined-copy > p { font-size: 14.5px; }
    .sbc-home-refined .sbc-home-action { font-size: 12px; padding: 12px 15px; }
}
@media (max-width: 767px) {
    #sbcHomeServices.full-row, #sbcHomeFeature.full-row, #sbcHomeMethod.full-row { padding: 40px 0 !important; }
    .sbc-home-refined .sbc-home-refined-shell { width: calc(100% - 32px); }
    .sbc-home-refined h2 { font-size: 33px; line-height: 1.17; }
    .sbc-home-refined .sbc-home-editorial-grid { grid-template-columns: minmax(0, 1fr); gap: 29px; }
    .sbc-home-refined .sbc-home-refined-copy > p { font-size: 15px; }
    .sbc-home-refined .sbc-home-refined-actions { margin-top: 23px; gap: 10px; }
    .sbc-home-refined .sbc-home-action { flex: 1 1 180px; min-height: 48px; font-size: 13px; }
    #sbcHomeServices .sbc-home-service-head { margin-bottom: 24px; }
    #sbcHomeServices .sbc-home-service-head p { font-size: 15px; }
    #sbcHomeServices .sbc-home-service-grid { gap: 14px; }
    #sbcHomeServices .sbc-home-service-card { padding: 20px 17px 12px; }
    #sbcHomeFeature .sbc-home-feature__image, #sbcHomeMethod .sbc-process-image { aspect-ratio: 4 / 5; max-height: 560px; }
    #sbcHomeFeature .sbc-home-detail-grid { gap: 10px; }
    #sbcHomeFeature .sbc-home-detail-grid li { padding: 12px; }
    #sbcHomeMethod .sbc-home-method-list > li { padding: 17px 0; gap: 11px; }
    #sbcHomeMethod .sbc-home-method-list h3 { font-size: 18px; }
    #sbcHomeMethod .sbc-home-method-list p { font-size: 14px; }
}
@media (max-width: 575px) {
    #sbcHomeServices .sbc-home-service-grid { grid-template-columns: minmax(0, 1fr); }
    #sbcHomeServices .sbc-home-service-card { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 15px; padding: 20px 18px 13px; }
    #sbcHomeServices .sbc-home-service-icon { width: 52px; height: 52px; grid-row: 1 / 4; margin: 0; }
    #sbcHomeServices .sbc-home-service-card h3 { grid-column: 2; margin-bottom: 8px; font-size: 23px; }
    #sbcHomeServices .sbc-home-service-card p { grid-column: 2; margin-bottom: 8px; font-size: 14px; }
    #sbcHomeServices .sbc-home-service-link { grid-column: 2; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
    .sbc-home-refined .sbc-home-action { transition: none; }
}
