/*
 * GP_HUB_FOCUS_FACCIATE_20260909
 * Layout HUB preventivatori:
 * - facciate elemento principale
 * - FV / retrofit / servizi tecnici secondari
 * - nessuna immagine hero
 */

.gp-home.gp-hub-focus {
    width: min(1500px, 92vw) !important;
    max-width: none !important;
    margin: 0 auto !important;
    padding: 22px 0 30px !important;
    display: block !important;
    box-sizing: border-box;
}


/* =====================================================
   INTRO
   ===================================================== */

.gp-hub-intro {
    width: 100%;
    text-align: center;
    margin: 0 0 18px;
}

.gp-hub-territorio {
    margin: 0 0 15px;
    color: #556487;
    font-size: clamp(18px, 1.45vw, 25px);
    line-height: 1.3;
    font-weight: 500;
}

.gp-hub-tutorial {
    appearance: none;
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    cursor: pointer;
    font-family: inherit;
    color: #111827;
    font-size: clamp(17px, 1.25vw, 22px);
    font-weight: 700;
}

.gp-hub-tutorial-arrow {
    color: #149447;
    font-size: 30px;
    line-height: 1;
    font-weight: 800;
}

.gp-hub-tutorial-t {
    width: 48px;
    height: 48px;
    border: 2px solid #159447;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #159447;
    background: #fff;
    font-size: 31px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 5px 13px rgba(0,0,0,.08);
}


/* =====================================================
   CARD PRINCIPALE FACCIATE
   ===================================================== */

.gp-hub-primary {
    width: 100%;
    min-height: 365px;
    box-sizing: border-box;

    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.99) 0%,
            rgba(250,255,251,.99) 100%
        );

    border: 1px solid #e2e8e5;
    border-radius: 19px;

    box-shadow:
        0 9px 25px rgba(27, 53, 42, .07);

    padding: 34px 48px 31px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
}

.gp-hub-primary-title {
    margin: 0;
    padding: 0;
    line-height: .98;
    text-transform: uppercase;
    letter-spacing: -1.4px;
}

.gp-hub-primary-title span {
    display: block;
}

.gp-hub-primary-dark {
    color: #111820;
    font-size: clamp(42px, 4vw, 68px);
    font-weight: 850;
}

.gp-hub-primary-green {
    margin-top: 5px;
    color: #078c46;
    font-size: clamp(42px, 4vw, 68px);
    font-weight: 850;
}

.gp-hub-primary-subtitle {
    margin: 19px auto 15px;
    max-width: 1050px;
    color: #56617e;
    font-size: clamp(18px, 1.45vw, 25px);
    line-height: 1.35;
    font-weight: 400;
}

.gp-hub-rateazione {
    margin: 0 auto 21px;
    padding: 9px 30px;

    border-radius: 999px;

    background: #e7f8ed;
    color: #087d3d;

    font-size: clamp(16px, 1.2vw, 21px);
    line-height: 1.2;
    font-weight: 600;
}

.gp-hub-rateazione strong {
    font-weight: 800;
}


/* =====================================================
   AZIONI FACCIATE
   ===================================================== */

.gp-hub-primary-actions {
    width: min(970px, 100%);
    display: grid;
    grid-template-columns: 1.08fr .92fr;
    gap: 24px;
}

.gp-hub-primary-action {
    min-height: 78px;

    box-sizing: border-box;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 27px;

    text-decoration: none !important;

    font-size: clamp(15px, 1.12vw, 19px);
    line-height: 1.15;
    font-weight: 800;

    transition:
        transform .16s ease,
        box-shadow .16s ease,
        background .16s ease;
}

.gp-hub-primary-action:hover {
    transform: translateY(-2px);
}

.gp-hub-primary-action-main {
    background: linear-gradient(135deg, #20b658, #058c43);
    color: #fff !important;
    border: 1px solid #078d45;

    box-shadow:
        0 8px 17px rgba(10, 143, 68, .17);
}

.gp-hub-primary-action-secondary {
    background: #fff;
    color: #087c40 !important;
    border: 2px solid #0c934b;
}

.gp-hub-action-arrow {
    margin-left: 20px;
    font-size: 32px;
    font-weight: 400;
    line-height: 1;
}


/* =====================================================
   MODULI SECONDARI
   ===================================================== */

.gp-hub-secondary {
    width: 100%;
    margin-top: 20px;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.gp-hub-secondary-card {
    min-height: 188px;

    box-sizing: border-box;

    background: #fff;

    border: 1px solid #e3e8e6;
    border-radius: 17px;

    box-shadow:
        0 7px 18px rgba(20, 45, 35, .055);

    padding: 24px 25px 20px;

    display: grid;
    grid-template-columns: 76px 1fr;
    column-gap: 20px;
    row-gap: 10px;

    align-items: start;
}

.gp-hub-secondary-icon {
    width: 68px;
    height: 68px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    grid-row: 1 / span 2;
}

.gp-hub-secondary-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gp-hub-fv .gp-hub-secondary-icon {
    color: #1186ec;
    background: #e3f3ff;
}

.gp-hub-retrofit .gp-hub-secondary-icon {
    color: #f47914;
    background: #fff0df;
}

.gp-hub-tecnici .gp-hub-secondary-icon {
    color: #8438df;
    background: #f0e4ff;
}

.gp-hub-secondary-copy h2 {
    margin: 3px 0 8px;
    color: #11213b;
    font-size: clamp(17px, 1.12vw, 21px);
    line-height: 1.08;
    font-weight: 850;
}

.gp-hub-secondary-copy p {
    margin: 0;
    color: #526078;
    font-size: clamp(13px, .9vw, 16px);
    line-height: 1.35;
}

.gp-hub-secondary-link {
    grid-column: 2;

    align-self: end;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    width: fit-content;

    text-decoration: none !important;

    font-size: clamp(14px, .95vw, 16px);
    font-weight: 750;
}

.gp-hub-fv .gp-hub-secondary-link {
    color: #087ee3 !important;
}

.gp-hub-retrofit .gp-hub-secondary-link {
    color: #eb6800 !important;
}

.gp-hub-tecnici .gp-hub-secondary-link {
    color: #7a28df !important;
}

.gp-hub-secondary-link:hover {
    text-decoration: underline !important;
}


/* =====================================================
   POPUP TUTORIAL
   ===================================================== */

.gp-hub-tutorial-modal {
    position: fixed;
    inset: 0;

    z-index: 99999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 30px;

    background: rgba(10, 18, 16, .72);
}

.gp-hub-tutorial-modal.aperto {
    display: flex;
}

.gp-hub-tutorial-box {
    position: relative;

    width: min(960px, 92vw);

    box-sizing: border-box;

    background: #fff;

    border-radius: 18px;

    padding: 28px;

    box-shadow:
        0 20px 70px rgba(0,0,0,.32);
}

.gp-hub-tutorial-box h2 {
    margin: 0 50px 20px 0;
    color: #13201a;
    font-size: 25px;
}

.gp-hub-tutorial-close {
    position: absolute;

    right: 19px;
    top: 14px;

    width: 42px;
    height: 42px;

    border: 0;
    border-radius: 50%;

    background: #f1f4f2;

    color: #17211c;

    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}

.gp-hub-tutorial-video {
    width: 100%;
    max-height: 72vh;

    display: block;

    border-radius: 12px;

    background: #000;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 1050px) {

    .gp-home.gp-hub-focus {
        width: min(94vw, 920px) !important;
    }

    .gp-hub-primary {
        min-height: 0;
        padding: 34px 28px 29px;
    }

    .gp-hub-primary-actions {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .gp-hub-secondary {
        grid-template-columns: 1fr;
    }

    .gp-hub-secondary-card {
        min-height: 145px;
    }
}


/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 650px) {

    .gp-home.gp-hub-focus {
        width: 93vw !important;
        padding-top: 16px !important;
    }

    .gp-hub-territorio {
        font-size: 16px;
    }

    .gp-hub-tutorial {
        font-size: 15px;
        gap: 9px;
    }

    .gp-hub-tutorial-t {
        width: 41px;
        height: 41px;
        font-size: 25px;
    }

    .gp-hub-primary {
        padding: 28px 18px 23px;
        border-radius: 15px;
    }

    .gp-hub-primary-title {
        letter-spacing: -.7px;
    }

    .gp-hub-primary-subtitle {
        font-size: 17px;
    }

    .gp-hub-rateazione {
        font-size: 15px;
        padding: 8px 18px;
    }

    .gp-hub-primary-action {
        min-height: 68px;
        padding: 0 18px;
        font-size: 14px;
    }

    .gp-hub-secondary-card {
        grid-template-columns: 58px 1fr;
        padding: 19px;
        column-gap: 15px;
    }

    .gp-hub-secondary-icon {
        width: 54px;
        height: 54px;
    }

    .gp-hub-secondary-icon svg {
        width: 31px;
        height: 31px;
    }
}


/* =====================================================
   GP_HUB_CANTIERI_STYLE_20260909
   ===================================================== */

.gp-hub-cantieri {
    width: 100%;
    min-height: 78px;

    box-sizing: border-box;

    margin-top: 18px;
    padding: 15px 22px;

    background: #ffffff;

    border: 1px solid #e2e8e5;
    border-radius: 16px;

    box-shadow:
        0 6px 17px rgba(20, 45, 35, .055);

    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;

    align-items: center;
    gap: 17px;
}

.gp-hub-cantieri-icon {
    width: 44px;
    height: 44px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #159447;
    background: #edf8f0;
}

.gp-hub-cantieri-icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: currentColor;
    stroke-width: 2;

    stroke-linecap: round;
    stroke-linejoin: round;
}

.gp-hub-cantieri-copy h2 {
    margin: 0 0 3px;

    color: #141b20;

    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
}

.gp-hub-cantieri-copy p {
    margin: 0;

    color: #5a6370;

    font-size: 12px;
    line-height: 1.3;
}

.gp-hub-cantieri-button {
    min-width: 245px;
    min-height: 40px;

    box-sizing: border-box;

    padding: 0 18px;

    border: 2px solid #159447;
    border-radius: 9px;

    background: #fff;
    color: #08793c !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;

    text-decoration: none !important;

    font-size: 12px;
    line-height: 1;
    font-weight: 800;
}

.gp-hub-cantieri-button:hover {
    background: #f3fbf5;
}


/* tablet */

@media (max-width: 900px) {

    .gp-hub-cantieri {
        grid-template-columns: 48px 1fr;
    }

    .gp-hub-cantieri-button {
        grid-column: 1 / -1;

        width: 100%;
        min-width: 0;

        margin-top: 5px;
    }
}


/* mobile */

@media (max-width: 600px) {

    .gp-hub-cantieri {
        padding: 16px;
    }

    .gp-hub-cantieri-copy p {
        font-size: 11px;
    }
}


/* =====================================================
   GP_HUB_FONDO_FACCIATE_20260909
   ===================================================== */

.gp-hub-primary {

    background:
        linear-gradient(
            180deg,
            #f4fbf6 0%,
            #edf8f1 100%
        ) !important;

    border-color: #d7e9dd !important;

    box-shadow:
        0 10px 27px rgba(20, 92, 54, .08) !important;
}



/* =====================================================
   GP_HUB_TARATURA_COMPATTA_V2_20260909

   1. Fondo facciate più evidente
   2. Card principale più compatta
   3. Card secondarie più vicine
   ===================================================== */

.gp-hub-primary {

    background:
        linear-gradient(
            180deg,
            #f0f9f3 0%,
            #e8f5ec 100%
        ) !important;

    border-color: #d1e6d8 !important;

    min-height: 340px !important;

    padding-top: 24px !important;
    padding-bottom: 24px !important;
}

.gp-hub-primary-subtitle {
    margin-top: 14px !important;
    margin-bottom: 12px !important;
}

.gp-hub-rateazione {
    margin-bottom: 17px !important;
}

.gp-hub-secondary {
    margin-top: 12px !important;
}


/* TABLET */

@media (max-width: 1050px) {

    .gp-hub-primary {
        min-height: 0 !important;
        padding-top: 27px !important;
        padding-bottom: 24px !important;
    }

}


/* MOBILE */

@media (max-width: 650px) {

    .gp-hub-primary {
        padding-top: 23px !important;
        padding-bottom: 20px !important;
    }

    .gp-hub-secondary {
        margin-top: 10px !important;
    }

}



/* =====================================================
   GP_HUB_MODULI_CONGELATI_STYLE_20260909
   ===================================================== */

.gp-hub-disabled-card {
    position: relative;
    cursor: pointer;
    opacity: .64;
    background: #fbfbfc !important;
    transition:
        opacity .18s ease,
        transform .18s ease,
        box-shadow .18s ease;
}

.gp-hub-disabled-card:hover,
.gp-hub-disabled-card:focus {
    opacity: .84;
    transform: translateY(-1px);
    outline: none;
}

.gp-hub-disabled-card .gp-hub-secondary-icon {
    background: #f1f3f6 !important;
    color: #97a1b1 !important;
}

.gp-hub-disabled-card .gp-hub-secondary-copy h2 {
    color: #7f8898 !important;
}

.gp-hub-disabled-card .gp-hub-secondary-copy p {
    color: #99a1ae !important;
}

.gp-hub-disabled-card .gp-hub-secondary-link {
    color: #8f97a6 !important;
}

.gp-hub-secondary-copy {
    position: relative;
}

.gp-hub-stato-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 7px;
    padding: 5px 11px;
    border-radius: 999px;
    background: #eef1f5;
    color: #778193;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.gp-hub-secondary-link-disabled {
    pointer-events: none;
}


/* popup moduli in lavorazione */

.gp-hub-coming-modal {
    position: fixed;
    inset: 0;
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(15, 22, 28, .42);
}

.gp-hub-coming-modal.aperto {
    display: flex;
}

.gp-hub-coming-box {
    width: min(520px, 92vw);
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    background: #ffffff;
    border: 1px solid #e5e8ee;
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(0,0,0,.18);
    padding: 24px 24px 22px;
    position: relative;
}

.gp-hub-coming-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f3f5f8;
    color: #253042;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.gp-hub-coming-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #f2f4f7;
    color: #7b8799;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gp-hub-coming-icon svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.gp-hub-coming-state {
    display: inline-flex;
    margin: 0 0 8px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef2f6;
    color: #728094;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.gp-hub-coming-copy h2 {
    margin: 0 0 8px;
    color: #182433;
    font-size: 29px;
    line-height: 1.06;
    font-weight: 800;
}

.gp-hub-coming-copy p {
    margin: 0;
    color: #667287;
    font-size: 17px;
    line-height: 1.42;
}

.gp-hub-coming-actions {
    margin-top: 18px;
}

.gp-hub-coming-ok {
    min-width: 140px;
    min-height: 44px;
    padding: 0 18px;
    border: 1px solid #98a3b4;
    border-radius: 10px;
    background: #fff;
    color: #243246;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.gp-hub-coming-ok:hover {
    background: #f6f8fb;
}

@media (max-width: 650px) {

    .gp-hub-coming-box {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 20px 18px 18px;
    }

    .gp-hub-coming-icon {
        width: 54px;
        height: 54px;
    }

    .gp-hub-coming-copy h2 {
        font-size: 23px;
    }

    .gp-hub-coming-copy p {
        font-size: 15px;
    }
}


/* =========================================================
   GP_HUB_RATEAZIONE_MOCKUP_20260909
   ========================================================= */

.gp-hub-rateazione {
    width: fit-content !important;
    max-width: 760px !important;
    margin: 18px auto 24px auto !important;
    padding: 16px 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;

    background: #e5f6eb !important;
    border-radius: 999px !important;

    text-align: left !important;
}

.gp-hub-rateazione-icona {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;

    color: #0a9948;
}

.gp-hub-rateazione-testi {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.gp-hub-rateazione-titolo {
    color: #087943;
    font-size: 20px;
    line-height: 1.15;
    font-weight: 700;
}

.gp-hub-rateazione-titolo strong {
    color: #079647;
    font-size: 25px;
    font-weight: 800;
}

.gp-hub-rateazione-sottotitolo {
    color: #53617d;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 400;
}

@media (max-width: 720px) {

    .gp-hub-rateazione {
        width: calc(100% - 20px) !important;
        padding: 13px 16px !important;
        gap: 12px !important;
        border-radius: 24px !important;
    }

    .gp-hub-rateazione-icona svg {
        width: 27px;
        height: 27px;
    }

    .gp-hub-rateazione-titolo {
        font-size: 16px;
    }

    .gp-hub-rateazione-titolo strong {
        font-size: 19px;
    }

    .gp-hub-rateazione-sottotitolo {
        font-size: 12px;
    }
}

/* /GP_HUB_RATEAZIONE_MOCKUP_20260909 */

