/* ================================
   TABELLA APPORTO TERMICO
================================ */

.tabella-termica {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 40px 0;
    background: #ffffff;
    border: 2px solid #111111;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.10);
    font-size: 16px;
}

.tabella-termica th,
.tabella-termica td {
    padding: 20px 24px;
    text-align: left;
    border-right: 1px solid #111111;
    border-bottom: 1px solid #111111;
    line-height: 1.6;
}

.tabella-termica th:last-child,
.tabella-termica td:last-child {
    border-right: none;
}

.tabella-termica thead th {
    background: #1f2937;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.4px;
    padding: 22px 24px;
}

.tabella-termica tbody td:first-child {
    font-weight: 700;
    color: #1f2937;
}

.tabella-termica tbody tr:nth-child(even) {
    background: #f3f4f6;
}

.tabella-termica tbody tr:hover {
    background: #e6f4ea;
}

.tabella-termica tbody tr:last-child td {
    border-bottom: none;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 800px) {

    .tabella-termica {
        font-size: 14px;
    }

    .tabella-termica th,
    .tabella-termica td {
        padding: 16px 14px;
    }
}

@media (max-width: 600px) {

    .tabella-termica {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        border-radius: 8px;
    }

    .tabella-termica th,
    .tabella-termica td {
        padding: 14px 16px;
    }
}

/* =========================================================
   SCHEDA PROCESSO DI SALDATURA
   ========================================================= */

.scheda-processo {
    width: 100%;
    margin-top: 35px;

    /* Nasconde la scheda quando non è attiva */
    display: none;

    /* Animazione */
    opacity: 0;
    transform: translateY(-15px);

    transition:
        opacity 0.35s ease,
        transform 0.35s ease;
}


/* =========================================================
   SCHEDA APERTA
   ========================================================= */

.scheda-processo.aperta {
    display: block;

    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   CONTENUTO DELLA SCHEDA
   ========================================================= */

.scheda-contenuto {
    position: relative;

    width: 100%;
    box-sizing: border-box;

    padding: 45px 55px;

    background: #ffffff;

    border: 1px solid #e1e5e9;

    border-radius: 18px;

    box-shadow:
        0 10px 35px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   PULSANTE CHIUSURA
   ========================================================= */

.chiudi-scheda {
    position: absolute;

    top: 18px;
    right: 20px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: #f1f3f5;

    color: #333;

    font-size: 18px;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.chiudi-scheda:hover {
    background: #222;
    color: #fff;

    transform: rotate(90deg);
}


/* =========================================================
   TITOLO
   ========================================================= */

#scheda-titolo {
    margin: 0 50px 30px 0;

    font-size: 30px;

    font-weight: 700;

    line-height: 1.2;

    color: #222;

    letter-spacing: 0.5px;
}


/* =========================================================
   LINEA SOTTO IL TITOLO
   ========================================================= */

#scheda-titolo::after {
    content: "";

    display: block;

    width: 65px;
    height: 4px;

    margin-top: 14px;

    background: #39b54a;

    border-radius: 3px;
}


/* =========================================================
   TESTO
   ========================================================= */

#scheda-argomenti {
    max-width: 100%;
}


#scheda-argomenti p {
    margin: 0 0 20px 0;

    font-size: 16px;

    line-height: 1.75;

    color: #555;

    text-align: left;
}


/* =========================================================
   GRASSETTI
   ========================================================= */

#scheda-argomenti strong {
    color: #222;

    font-weight: 700;
}


/* =========================================================
   ULTIMO PARAGRAFO
   ========================================================= */

#scheda-argomenti p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MODULI
   ========================================================= */

.modulo {
    cursor: pointer;
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 900px) {

    .scheda-contenuto {
        padding: 35px 30px;
    }

    #scheda-titolo {
        font-size: 26px;
    }

    #scheda-argomenti p {
        font-size: 15px;
        line-height: 1.7;
    }

}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .scheda-processo {
        margin-top: 25px;
    }

    .scheda-contenuto {
        padding: 35px 20px 25px 20px;

        border-radius: 14px;
    }

    .chiudi-scheda {
        top: 12px;
        right: 12px;

        width: 34px;
        height: 34px;
    }

    #scheda-titolo {
        margin-right: 35px;

        font-size: 22px;
    }

    #scheda-titolo::after {
        width: 50px;
        height: 3px;
    }

    #scheda-argomenti p {
        font-size: 14px;
        line-height: 1.65;
    }

}