/* ============================================================
   OROSEIMETEO · DICONO DI NOI
   Stile coordinato con il nuovo portale.

   Manrope resta il carattere dell'intera pagina.
   Cormorant Garamond viene utilizzato ESCLUSIVAMENTE
   per il testo delle testimonianze.
   ============================================================ */


/* ============================================================
   PAGINA
   ============================================================ */

.reviews-page{
    padding:38px 0 54px;
    background:#fff;
}

.reviews-container{
    width:min(1180px,calc(100% - 32px));
    max-width:none;
    margin:0 auto;
    padding:0;
}


/* ============================================================
   HERO
   ============================================================ */

.reviews-heading{
    margin-bottom:30px;
    padding:30px 28px;
    border:1px solid #edf3f6;
    border-radius:17px;
    background:#fbfdfe;
}

.reviews-eyebrow,
.reviews-section-kicker{
    display:block;
    color:#168bb4;
    font-family:inherit;
    font-size:11px;
    line-height:1.35;
    font-weight:800;
    letter-spacing:.07em;
    text-transform:uppercase;
}

.reviews-heading h1{
    margin:6px 0 12px;
    color:#17465f;
    font-family:inherit;
    font-size:40px;
    line-height:1.05;
    font-weight:800;
    letter-spacing:-1.1px;
}

.reviews-heading p{
    max-width:760px;
    margin:0;
    color:#607c8d;
    font-family:inherit;
    font-size:15px;
    line-height:1.65;
}


/* ============================================================
   MESSAGGI DI STATO
   ============================================================ */

.reviews-message{
    margin:0 0 20px;
    padding:14px 16px;
    border:1px solid rgba(84,120,136,.14);
    border-radius:13px;
    background:#fff;
    font-family:inherit;
    font-size:13px;
    line-height:1.55;
    font-weight:700;
}

.reviews-message-success{
    border-color:#c7dfd0;
    background:#f2f8f4;
    color:#32714d;
}

.reviews-message-error{
    border-color:#e6c8c8;
    background:#fbf3f3;
    color:#a24c4c;
}


/* ============================================================
   LAYOUT PRINCIPALE
   ============================================================ */

.reviews-layout{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(320px,.85fr);
    gap:18px;
    align-items:start;
}


/* ============================================================
   CONTENITORI
   ============================================================ */

.reviews-list-section,
.reviews-form-card{
    min-width:0;
    padding:22px;
    border:1px solid rgba(84,120,136,.14);
    border-radius:16px;
    background:#fff;
    box-shadow:0 7px 22px rgba(24,77,105,.055);
}


/* ============================================================
   TESTATA MESSAGGI
   ============================================================ */

.reviews-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    margin-bottom:20px;
    padding-bottom:15px;
    border-bottom:1px solid #edf3f6;
}

.reviews-section-head h2,
.reviews-form-card h2{
    margin:5px 0 0;
    color:#17465f;
    font-family:inherit;
    font-size:24px;
    line-height:1.15;
    font-weight:800;
    letter-spacing:-.4px;
}

.reviews-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:34px;
    min-height:34px;
    padding:0 10px;
    border:1px solid rgba(84,120,136,.14);
    border-radius:11px;
    background:#f7fbfd;
    color:#168bb4;
    font-family:inherit;
    font-size:12px;
    line-height:1;
    font-weight:800;
}


/* ============================================================
   LISTA TESTIMONIANZE
   ============================================================ */

.reviews-list{
    display:grid;
    gap:16px;
}


/* ============================================================
   CARD TESTIMONIANZA
   ============================================================ */

.review-card{
    position:relative;
    padding:27px 26px 22px;
    overflow:hidden;
    border:1px solid #d8e7ed;
    border-radius:16px;
    background:#fff;
    box-shadow:0 5px 18px rgba(24,77,105,.045);
}


/* Virgoletta grafica */

.review-quote-mark{
    display:block;
    height:42px;
    margin:0 0 7px;
    color:#c4dced;
    font-family:Georgia,"Times New Roman",serif;
    font-size:66px;
    line-height:.8;
    font-weight:700;
    text-align:center;
    user-select:none;
}


/* ============================================================
   TESTO DEL MESSAGGIO

   QUESTA È L'UNICA PARTE DELLA PAGINA
   CHE UTILIZZA CORMORANT GARAMOND.
   ============================================================ */

.review-message-text{
    max-width:680px;
    margin:0 auto;
    color:#294e63;

    font-family:
        "Cormorant Garamond",
        Georgia,
        "Times New Roman",
        serif;

    font-size:25px;
    line-height:1.5;
    font-style:italic;
    font-weight:600;
    letter-spacing:.005em;
    text-align:center;
}


/* ============================================================
   FIRMA
   ============================================================ */

.review-signature{
    display:flex;
    align-items:flex-end;
    justify-content:center;
    gap:18px;
    margin-top:21px;
    padding-top:17px;
    border-top:1px solid #edf3f6;

    /*
     * Torniamo esplicitamente al carattere del sito.
     */
    font-family:inherit;
}

.review-author{
    text-align:center;
}

.review-author h3{
    margin:0;
    color:#17465f;
    font-family:inherit;
    font-size:16px;
    line-height:1.25;
    font-weight:800;
}

.review-author span{
    display:block;
    margin-top:3px;
    color:#718b9a;
    font-family:inherit;
    font-size:12px;
    line-height:1.4;
    font-weight:600;
}

.review-signature time{
    flex:0 0 auto;
    color:#8a9da8;
    font-family:inherit;
    font-size:11px;
    line-height:1.4;
    font-weight:700;
    white-space:nowrap;
}


/* ============================================================
   HOVER DESKTOP
   ============================================================ */

@media(hover:hover){

    .review-card{
        transition:
            border-color .18s ease,
            box-shadow .18s ease,
            transform .18s ease;
    }

    .review-card:hover{
        border-color:#c5dce6;
        box-shadow:0 9px 26px rgba(24,77,105,.07);
        transform:translateY(-1px);
    }
}


/* ============================================================
   STATO VUOTO
   ============================================================ */

.reviews-empty{
    padding:26px 22px;
    border:1px solid rgba(84,120,136,.14);
    border-radius:14px;
    background:#fbfdfe;
    text-align:center;
}

.reviews-empty strong{
    display:block;
    color:#17465f;
    font-family:inherit;
    font-size:15px;
    line-height:1.35;
    font-weight:800;
}

.reviews-empty p{
    margin:7px 0 0;
    color:#718b9a;
    font-family:inherit;
    font-size:13px;
    line-height:1.55;
}


/* ============================================================
   FORM
   ============================================================ */

.reviews-form-intro{
    margin:9px 0 20px;
    color:#607c8d;
    font-family:inherit;
    font-size:13px;
    line-height:1.6;
}

.reviews-form{
    display:grid;
    gap:16px;
}

.reviews-field{
    display:grid;
    gap:7px;
}

.reviews-field label{
    color:#315e76;
    font-family:inherit;
    font-size:12px;
    line-height:1.35;
    font-weight:800;
}

.reviews-field label span{
    margin-left:3px;
    color:#91a3ad;
    font-family:inherit;
    font-size:10px;
    font-weight:600;
}

.reviews-field input,
.reviews-field textarea{
    width:100%;
    box-sizing:border-box;
    border:1px solid #d0e1e9;
    border-radius:11px;
    background:#fff;
    color:#17465f;
    font-family:inherit;
    font-size:14px;
    outline:none;
    transition:
        border-color .18s ease,
        box-shadow .18s ease;
}

.reviews-field input{
    min-height:46px;
    padding:0 13px;
}

.reviews-field textarea{
    min-height:140px;
    padding:12px 13px;
    line-height:1.6;
    resize:vertical;
}

.reviews-field input:hover,
.reviews-field textarea:hover{
    border-color:#bfd6e0;
}

.reviews-field input:focus,
.reviews-field textarea:focus{
    border-color:#78bdd4;
    box-shadow:0 0 0 3px rgba(22,139,180,.10);
}

.reviews-field small{
    color:#899da8;
    font-family:inherit;
    font-size:10px;
    line-height:1.4;
}


/* ============================================================
   HONEYPOT
   ============================================================ */

.reviews-honeypot{
    position:absolute !important;
    left:-9999px !important;
    width:1px !important;
    height:1px !important;
    overflow:hidden !important;
}


/* ============================================================
   CONSENSO
   ============================================================ */

.reviews-consent{
    display:grid;
    grid-template-columns:18px minmax(0,1fr);
    gap:9px;
    align-items:start;
    margin-top:2px;
    color:#607c8d;
    font-family:inherit;
    font-size:11px;
    line-height:1.55;
    cursor:pointer;
}

.reviews-consent input{
    width:17px;
    height:17px;
    margin:1px 0 0;
    accent-color:#168bb4;
}


/* ============================================================
   PULSANTE
   ============================================================ */

.reviews-submit{
    width:100%;
    min-height:46px;
    margin-top:2px;
    padding:0 16px;
    border:0;
    border-radius:11px;
    background:#168bb4;
    color:#fff;
    font-family:inherit;
    font-size:13px;
    line-height:1;
    font-weight:800;
    cursor:pointer;
    transition:background-color .18s ease;
}

.reviews-submit:hover{
    background:#117da3;
}

.reviews-submit:active{
    background:#0f7295;
}


/* ============================================================
   NOTA FINALE
   ============================================================ */

.reviews-note{
    margin:18px 0 0;
    padding:14px 16px;
    border:1px solid rgba(84,120,136,.14);
    border-radius:13px;
    background:#f8fbfd;
    color:#708794;
    font-family:inherit;
    font-size:11px;
    line-height:1.6;
}


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

@media(max-width:900px){

    .reviews-layout{
        grid-template-columns:1fr;
    }
}


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

@media(max-width:640px){

    .reviews-page{
        padding:20px 0 42px;
    }

    .reviews-container{
        width:min(100% - 20px,1180px);
    }


    /* Hero */

    .reviews-heading{
        margin-bottom:18px;
        padding:22px 20px;
        border-radius:15px;
    }

    .reviews-heading h1{
        font-size:34px;
        line-height:1.06;
        letter-spacing:-.8px;
    }

    .reviews-heading p{
        font-size:13px;
        line-height:1.6;
    }


    /* Layout */

    .reviews-layout{
        gap:14px;
    }

    .reviews-list-section,
    .reviews-form-card{
        padding:16px;
        border-radius:15px;
    }


    /* Titoli */

    .reviews-section-head{
        margin-bottom:15px;
        padding-bottom:13px;
    }

    .reviews-section-head h2,
    .reviews-form-card h2{
        font-size:23px;
    }

    .reviews-count{
        min-width:32px;
        min-height:32px;
        font-size:12px;
    }


    /* Lista */

    .reviews-list{
        gap:12px;
    }


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

    .review-card{
        padding:23px 18px 19px;
        border-radius:15px;
    }

    .review-quote-mark{
        height:37px;
        margin-bottom:8px;
        font-size:58px;
    }

    /*
     * Solo il messaggio cambia carattere.
     * Lo teniamo volutamente grande perché è testo da leggere.
     */
    .review-message-text{
        max-width:none;
        font-size:23px;
        line-height:1.48;
        font-weight:600;
    }

    .review-signature{
        flex-direction:column;
        align-items:center;
        gap:7px;
        margin-top:19px;
        padding-top:15px;
    }

    .review-author{
        text-align:center;
    }

    .review-author h3{
        font-size:16px;
    }

    .review-author span{
        font-size:12px;
    }

    .review-signature time{
        font-size:11px;
    }


    /* Form */

    .reviews-form-intro{
        font-size:13px;
    }

    .reviews-field label{
        font-size:12px;
    }

    .reviews-field label span{
        font-size:10px;
    }

    .reviews-field input,
    .reviews-field textarea{
        font-size:15px;
    }

    .reviews-field small{
        font-size:10px;
    }

    .reviews-consent{
        font-size:12px;
    }

    .reviews-submit{
        min-height:48px;
        font-size:13px;
    }


    /* Nota */

    .reviews-note{
        margin-top:14px;
        font-size:11px;
    }
}