/* ============================================
   FOOTER V1 - STRUMENTI TOPOGRAFICI
   Reset e Base
   ============================================ */

   .footer-v1 {
    background-color: #000;
    color: #fff;
    font-family: 'Inter',sans-serif;
    padding: 60px 50px;
}

.footer-v1 *,
.footer-v1 *::before,
.footer-v1 *::after {
    box-sizing: border-box;
}

/* ============================================
   CONTAINER E STRUTTURA
   ============================================ */

.footer-v1-container {
    max-width: 1500px;
    margin: 0 auto;
}

/* LOGO */
.footer-v1-row-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.footer-v1-logo-wrapper {
    width: 100%;
    text-align: left;
}

.footer-v1-logo {
    height: 60px;
    width: auto;
}

/* ============================================
   LAYOUT PRINCIPALE
   ============================================ */

.footer-v1-row-main {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

/* COLONNE BASE */
.footer-v1-col-info,
.footer-v1-col-menu1,
.footer-v1-col-menu2,
.footer-v1-col-newsletter {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* LARGHEZZE */
.footer-v1-col-info {
    width: 25%;
    padding-right: 10px;
}


.footer-v1-row-menus {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 33.333%; 
}

/* Le due colonne menu all’interno */
.footer-v1-row-menus .footer-v1-col-menu1,
.footer-v1-row-menus .footer-v1-col-menu2 {
    width: 48%; 
}

.footer-v1-col-newsletter {
    width: 34%;
}

/* ============================================
   COLONNA INFO AZIENDALI
   ============================================ */

.footer-v1-info-content p {
    line-height: 19px;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-v1-company {
    margin-top: 0;
}

.footer-v1-info-actions {
    margin-top: auto;
}

/* ============================================
   SOCIAL ICONS
   ============================================ */

.footer-v1-social {
    display: flex;
    gap: 15px;
}

.footer-v1-social i {
    font-size: 26px;
}

.footer-v1-social i:hover {
    transform: scale(1.15);
}

.footer-v1-social-link {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.footer-v1-social-link:hover {
    opacity: 0.8;
}

.footer-v1-social-linkedin {
    background-color: #0077B5 !important;
}

.footer-v1-social-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%) !important;
}

.footer-v1-social-facebook {
    background-color: #1877F2 !important;
}

.footer-v1-social-youtube {
    background-color: #FF0000;
}

/* ============================================
   MENU 1 e MENU 2
   ============================================ */

.footer-v1-nav1 ul,
.footer-v1-nav2 ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-v1-menu1 li,
.footer-v1-menu2 li {
    margin-bottom: 8px;
    text-decoration: underline;
}

.footer-v1-menu-link {
    color: #fff;
    text-decoration: underline;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.footer-v1-menu-link:hover {
    opacity: 0.8;
}

/* ============================================
   PULSANTE STORE
   ============================================ */

.footer-v1-btn-store {
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    border: 2px solid transparent;
    line-height: 24px;
    width: 100px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;
}

.footer-v1-btn-store:hover {
    background-color: #0056b3;
}

.footer-v1-btn-store i {
    margin-right: 6px;
    font-size: 14px;
}

/* ============================================
   NEWSLETTER
   ============================================ */

.footer-v1-newsletter-content {
    flex: 0 0 auto;
}

.footer-v1-newsletter-title {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #fff;
}

.footer-v1-newsletter-desc {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #fff;
}

/* ============================================
   FORM NEWSLETTER
   ============================================ */

.footer-v1-form {
    width: 100%;
    margin-block-end: 0px !important;
}

.footer-v1-form-group,
.footer-v1-form-group-privacy {
    margin-bottom: 15px;
}

/* INPUT */
.footer-v1-input {
    width: 100%;
    background-color: #fff;
    border: 1px solid #fff;
    color: #000;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 16px;
    outline: none;
    transition: box-shadow 0.3s ease;
}

.footer-v1-input::placeholder {
    color: rgba(0, 0, 0, 0.5);
}

.footer-v1-input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.5);
    border: 1px solid white !important;
}



/* CHECKBOX PRIVACY */
.footer-v1-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.footer-v1-checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    cursor: pointer;
    appearance: none;
    background-color: transparent;
    border: 1px solid #fff;
    border-radius: 3px;
    position: relative;
}

.footer-v1-checkbox:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.footer-v1-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 14px;
}

.footer-v1-checkbox-label {
    font-size: 12px;
    line-height: 19px;
    color: #ccc;
    cursor: pointer;
}



/* ============================================
   PULSANTE INVIA
   ============================================ */

.footer-v1-btn-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    height: 40px;
    border-radius: 25px;
    align-self: center;
    transition: all 0.3s ease;
    padding: 10px 15px;
    
}

.footer-v1-btn-submit:hover {
    background-color: #fff;
    color: #000;
}

/* ============================================
   FOOTER BOTTOM
   ============================================ */

.footer-v1-row-bottom {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid #ccc;
    padding-top: px;
    padding-bottom: 10px;
    align-items: center;
    width: 100%;
}

.footer-v1-bottom-left {
    width: 50%;
}

.footer-v1-bottom-right {
    width: 50%;
    text-align: right;
}

/* ============================================
   LINK LEGALI
   ============================================ */

.footer-v1-legal {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 15px;
}

.footer-v1-legal-link {
    color: #ccc;
    text-decoration: none;
    font-size: 13px;
    line-height: 19px;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-decoration: underline;
}

.footer-v1-legal-link:hover {
    text-decoration: underline;
    color: white;
}

/* ============================================
   LOGO MEPA
   ============================================ */

.footer-v1-mepa {
    margin: 0;
    color: #fff;
    font-size: 12px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding-top: 3px;;
}

.footer-v1-mepa-logo {
    height: 15px;
    width: auto;
}
 
.footer-v1-menu2-actions2 {
    display: none;
}

.quote-privacy-link {
    color: #fff !important;
    text-decoration: underline;
    font-size: 11px !important;
}
/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 991px) {
    .footer-v1-col-info {
        width: 33.333%;
    }

    .footer-v1-info-content p {
        margin-bottom: 20px;
    }

    .footer-v1-input {
        width: 466px;
    }

    .footer-v1-row-menus {
        width: 100%;
    }

    .footer-v1-col-menu1,
    .footer-v1-col-menu2 {
        width: 50%;
    }

    .footer-v1-col-newsletter {
        width: 100%;
        padding-top: 40px;
    }

    .footer-v1-checkbox-label {
        font-size: 11px;
    }

    .footer-v1-row-bottom {
        width: 100%;
    }

}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 699px) {
    .footer-v1 {
        padding: 40px 30px;
    }

    .footer-v1-row-main {
        flex-direction: column;
    }

    .footer-v1-col-info,
    .footer-v1-col-menu1,
    .footer-v1-col-menu2,
    .footer-v1-col-newsletter {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-v1-btn-store {
        margin-top: 10px;
        margin-bottom: 20px;
    }

    .footer-v1-col-newsletter {
        padding-top: 0px;
        margin-bottom: 20px;
    }

    .footer-v1-col-info {
        padding-right: 0px;
    }

    .footer-v1-input {
        width: 325px;
    }

    .footer-v1-menu2-actions2 {
        display: block;
    }

   

    .footer-v1-bottom-left,
    .footer-v1-bottom-right {
        width: 100%;
        text-align: left;
    }

    .footer-v1-row-main {
        margin-bottom: 20px;
    }


    .footer-v1-bottom-right {
        margin-top: 20px;
    }




    .footer-v1-row-bottom {
        padding-top:10px;
        padding-bottom: 0px;
    }

    .footer-v1-mepa {
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start;
        align-items: center;
    }


}

/* ============================================
   MOBILE PICCOLO
   ============================================ */

@media (max-width: 480px) {
    .footer-v1-input {
        padding: 8px 15px;
        font-size: 14px;
    }

    .footer-v1-row-main {
        margin-bottom: 20px;
    }

    .footer-v1-row-menus {
        width: 100%;
    }

    .footer-v1-btn-store {
        margin-top: 10px;
    }

    .footer-v1-col-newsletter {
        padding-top: 0px;
        margin-bottom: 20px;
    }

    .footer-v1-col-info {
        padding-right: 0px;
    }

    .footer-v1-input {
        width: 100%;
    }

    .footer-v1-row-bottom {
        padding-top: 10px;
        padding-bottom: 0px;
    }

    .footer-v1-mepa {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 409px) {
    .footer-v1 {
        padding-left: 30px;
        padding-right: 30px;
    }
}

@media (min-width: 410px) and (max-width: 699px) {
    .footer-v1 {
        padding-left: 50px;
        padding-right: 50px;
    }
}

@media (min-width: 700px) and (max-width: 870px) {
    .footer-v1 {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* ===============================
   NEWSLETTER - INPUT MINIMAL E STATI
   =============================== */

/* Input minimal con solo linea inferiore */
.footer-v1-input {
        box-shadow: none !important;
    background: transparent !important;
    color: #fff;
    padding: 10px 0;
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    width: 100%;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease, color 0.3s ease;
}

/* Placeholder */
.footer-v1-input::placeholder {
    color: #ccc;
    opacity: 1;
}

/* Focus */
.footer-v1-input:focus {
    outline: none !important;
    color: #fff !important;
}

/* Stato errore */
.footer-v1-input.error {
    border: 1px solid #ea5858 !important;
}

/* Messaggio errore */
/* Stato iniziale messaggio errore nascosto */
.footer-v1-form-group .error-message {
    position: absolute;
    bottom: -17px;
    right: 0;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    color: #ea5858;
    font-size: 11px;
    line-height: 18px;
    transition: all 0.3s ease;
}

.footer-v1-form-group .error-message.show {
    opacity: 1;
    max-height: 20px;
}




/* Bottone disabilitato */
.button-disabled {
    background-color: rgb(133, 133, 133) !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    border: 2px solid rgb(133, 133, 133) !important;
    color: #fff !important;
}

/* Spinner */
.spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #555;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    display: inline-block;
    margin-left: 4px;
    vertical-align: middle;
    margin-bottom: 2px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* FOOTER PERSONALIZZATO */
.footer-v1-h5-3 {
    font-size: 19px;
    line-height: 25px;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #fff;
    font-family: Inter, 'sans-serif';
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    padding-bottom: 15px;
}

.footer-v1-mb-3-2 {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 20px;
    color: #fff;
    font-family: Inter, 'sans-serif';
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    padding-bottom: 15px;
}

.footer-v1-final-message {
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    font-family: Inter, 'sans-serif';
    margin-block-start: 0px !important;
    margin-block-end: 0px !important;
    color: #fff;
    padding-bottom: 15px;
}

@media (max-width: 699px) {
    .footer-v1-mepa-logo {
        height: 30px;
    }
}

@media (min-width: 700px) and (max-width: 1125px) {
    .footer-v1-bottom-left {
        width: 100%;
    }

    .footer-v1-mepa {
        justify-content: flex-start;
    }
}


.footer-v1-form-group {
    position: relative;
    width: 100%;
}

.footer-v1-input {
    width: 100%;
    padding: 10px 20px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: transparent;
    outline: none;
}

/* Label */
.footer-v1-label {
    position: absolute;
    left: 18px;
    top: 48%;
    transform: translateY(-50%);
    font-size: 14px;
    color: white;
    pointer-events: none;
    background: #000000;
    transition: all 0.25s ease;
}

/* Quando focus o input compilato */
.footer-v1-input:focus + .footer-v1-label,
.footer-v1-form-group.has-value .footer-v1-label {
    top: 1px;
    font-size: 13px;
    color: white;
}

.footer-v1-row-bottom {
    display: flex;
    flex-wrap: wrap; /* così si adatta su schermi piccoli */
    justify-content: space-between; /* spaziatura tra colonne */
    align-items: center; /* allinea verticalmente i contenuti */
    gap: 20px; /* spazio tra colonne */
    padding: 20px 0px;
    background: #000; /* o quello che vuoi */
    color: #fff;
}



.footer-v1-col-1 p {
    font-size: 14px;
    line-height: 20px;
    margin-block-end: 0px !important;
}

.footer-v1-col-2 ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap:10px 24px; /* spazio tra link */
    flex-wrap: wrap; /* su schermi piccoli va a capo */
}

.footer-v1-col-2 ul li a {
    color: #fff;
    text-decoration: underline;
    font-size: 13px;
}

.footer-v1-col-2 ul li a:hover {
    color: #ccc;
}

.footer-v1-col-3 .footer-v1-mepa {
    display: flex;
    gap: 10px;
    font-size: 15px;
    line-height: 21px;
}

.footer-v1-mepa-logo {
    display: block;
}


@media (max-width: 699px) {
    .footer-v1-row-bottom {
        flex-direction: column;
        align-items: flex-start;
    }


}


@media (min-width: 1100px) and (max-width: 1420px) {
    .footer-v1-error-message {
        left: 50%;
    }
}

@media (min-width: 992px) and (max-width: 1099px) {
    .footer-v1-error-message {
        left: 45%;
    }
}

@media (min-width: 650px) and (max-width: 991px) {
    .footer-v1-error-message {
        left: 55%;
    }
}

@media (min-width: 320px) and (max-width: 649px) {
    .footer-v1-error-message {
        left: 35%;
    }
}

@media (max-width: 699px) {
    .display_none_footer  {
        display: none;
    }
}

/* Chrome / Edge / Safari */
.footer-v1-input:-webkit-autofill,
.footer-v1-input:-webkit-autofill:hover,
.footer-v1-input:-webkit-autofill:focus,
.footer-v1-input:-webkit-autofill:active {
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0 1000px #000 inset;
    transition: background-color 9999s ease-in-out 0s;
}