/* ==========================================================================
   FLOOREX / V360 – FOOTER
   ========================================================================== */

.site-footer {
    background: var(--secondary, #183329);
    color: #fff;
    margin: 0;
}

.v360-footer-content {
    padding: 100px 2.5% 28px;
    max-width: 1500px;
    margin: 0 auto;
}


/* ==========================================================
   FLOOREX – FOOTER MENU
   ========================================================== */
.v360-footer-menu  {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}
.site-footer .v360-footer-menu {
    width: 100%;

}

.site-footer .v360-footer-menu .menu {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 28px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.site-footer .v360-footer-menu .menu > li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer .v360-footer-menu .menu > li::before,
.site-footer .v360-footer-menu .menu > li::marker {
    content: none;
}

.site-footer .v360-footer-menu .menu > li > a {
    position: relative;
    display: inline-block;

    padding: 5px 0;

    color: inherit;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    text-decoration: none;

    opacity: 0.7;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

/* ROHELINE JOON */

/*.site-footer .v360-footer-menu .menu > li > a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;

    width: 0;
    height: 1px;

    background: #72c943;

    transition: width 0.3s ease;
}*/

/* HOVER */

.site-footer .v360-footer-menu .menu > li > a:hover,
.site-footer .v360-footer-menu .menu > li > a:focus-visible {
 
    opacity: 1;
}

.site-footer .v360-footer-menu .menu > li > a:hover::after,
.site-footer .v360-footer-menu .menu > li > a:focus-visible::after {
    width: 100%;
}

/* AKTIIVNE LEHT */

.site-footer .v360-footer-menu .current-menu-item > a,
.site-footer .v360-footer-menu .current_page_item > a {
    opacity: 1;
    font-weight: 500;
}

.site-footer .v360-footer-menu .current-menu-item > a::after,
.site-footer .v360-footer-menu .current_page_item > a::after {
    width: 100%;
}

/* MOBIIL */

@media (max-width: 768px) {

    .site-footer .v360-footer-menu .menu {
        gap: 10px 22px;
    }

    .site-footer .v360-footer-menu .menu > li > a {
        font-size: 13px;
    }

}


/* GRID
   ========================================================================== */
.v360-footer-grid {
    display: flex;
    gap: 15px;
    align-items: start;
    flex-direction: column;
}


/* COMPANY
   ========================================================================== */

.v360-footer-company {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
}

.v360-footer-logo {
    margin: 0;
}

.v360-footer-logo .custom-logo-link {
    display: block;
}

.v360-footer-logo .custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 180px;
    max-height: 52px;
}

.v360-footer-company strong {
    display: block;
    margin: 0;
    font-size: 27px;
    font-weight: 400;
    margin-bottom: -5px;
    line-height: 1.3;
    color: #fff;
}


/* CONTACT
   ========================================================================== */
.v360-footer-contact > div:nth-child(4) {
    margin-bottom: 14px;
}
.v360-footer-contact {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
}

.v360-footer-contact > div {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 15px;
    line-height: 1.55;
}
.v360-footer-contact div:first-chilt a {
   margin-top:25px;
}
.v360-footer-contact a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    font-size: 110%;
    font-weight: 600;
    padding: 5px 15px;
    background-color: #142b23;
    border-radius: 8px;
}

.v360-footer-contact a:hover,
.v360-footer-contact a:focus-visible {
    opacity: 0.65;
}


/* SOCIAL
   ========================================================================== */
.v360-footer-contact a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.v360-contact-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    color: var(--primary, #72C943);
}
.v360-footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.v360-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 12px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 100px;
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
    margin-top: 25px;
}

.v360-footer-social a:hover,
.v360-footer-social a:focus-visible {
    background: white;
    border-color: white;
    color: var(--secondary, #183329);
}
.v360-footer-social .v360-contact-icon {
    width: 35px;
    height: 35px;
    flex: 0 0 35px;
    color: white;
}
.v360-footer-social .v360-contact-icon:hover {
    
        color: var(--secondary, #183329);
}
/* =========================================================
   FOOTER PARTNER
   ========================================================= */

.v360-footer-partner {
    margin-top: 45px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.v360-footer-partner__link {
    display: inline-flex;
    align-items: center;
    gap: 24px;

    color: inherit;
    text-decoration: none;
}

.v360-footer-partner__logo {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.v360-footer-partner__image {
    display: block;

    width: auto;
    height: auto;

    max-width: 110px;
    max-height: 50px;

    object-fit: contain;
}

.v360-footer-partner__content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.v360-footer-partner__title {
    display: block;

    font-size: 14px;
    line-height: 1.3;
    font-weight: 600;
}

.v360-footer-partner__text {
    font-size: 12px;
    line-height: 1.5;
    opacity: .7;
}

.v360-footer-partner__text p {
    margin: 0;
}

.v360-footer-partner__link[href] {
    transition: opacity .2s ease;
}

.v360-footer-partner__link[href]:hover {
    opacity: .75;
}


/* MOBILE */

@media (max-width: 600px) {

    .v360-footer-partner {
        margin-top: 35px;
        padding-top: 25px;
    }

    .v360-footer-partner__link {
        align-items: flex-start;
        gap: 18px;
    }

    .v360-footer-partner__image {
        max-width: 85px;
        max-height: 42px;
    }

}

/* BOTTOM
   ========================================================================== */

.v360-footer-bottom {
    margin-top: 56px;
    padding-top: 24px;

    border-top: 1px solid rgba(255, 255, 255, 0.14);

    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    line-height: 1.5;
}


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

@media (max-width: 960px) {

    .v360-footer-content {
        padding-top: 56px;
    }

    .v360-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 44px;
    }

    .v360-footer-social {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
    }
}


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

@media (max-width: 640px) {

    .v360-footer-content {
        padding: 60px 2.5% 24px;
    }

    .v360-footer-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .v360-footer-social {
        grid-column: auto;
    }

    .v360-footer-logo .custom-logo {
        max-width: 160px;
        max-height: 46px;
    }

    .v360-footer-bottom {
        margin-top: 40px;
        padding-top: 20px;
    }
}

/* ==========================================================
   FLOOREX – FOOTER CONTACT
   ========================================================== */
.footer-contact {
    position: relative;
    padding: clamp(80px, 9vw, 140px)
        0;
    background: #11261e;
    color: #fff;
}
.footer-contact .container {
    padding: 100px 2.5% 28px;
    max-width: 1500px;
    margin: 0 auto;
}

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

.footer-contact__grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(420px, 1.15fr);

    gap: clamp(70px, 10vw, 160px);

    align-items: start;
}


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

.footer-contact__intro {
    max-width: 540px;
}

.footer-contact__intro h2 {
    margin: 0 0 30px;

    color: #fff;

    font-size: clamp(44px, 5.5vw, 82px);
    font-weight: 400;
    line-height: 0.98;

    letter-spacing: -0.055em;
}

.footer-contact__intro p {
    max-width: 440px;

    margin: 0;

    color: rgba(255, 255, 255, 0.68);

    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================
   CONTACT FORM 7
   ========================================================== */

.footer-contact__form {
    width: 100%;
}

.footer-contact__form .wpcf7 {
    width: 100%;
}

.footer-contact__form form {
    width: 100%;
}


/* P
   ========================================================== */

.footer-contact__form p {
    margin: 0 0 28px;
}


/* LABEL
   ========================================================== */

.footer-contact__form label {
    display: block;

    margin: 0;

    color: rgba(255, 255, 255, 0.75);

    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}


/* CF7 WRAPPER
   ========================================================== */

.footer-contact__form .wpcf7-form-control-wrap {
    display: block;

    width: 100%;

    margin-top: 8px;
}


/* INPUTS
   ========================================================== */

.footer-contact__form input[type="text"],
.footer-contact__form input[type="email"],
.footer-contact__form input[type="tel"],
.footer-contact__form input[type="url"],
.footer-contact__form input[type="number"],
.footer-contact__form select,
.footer-contact__form textarea {
    display: block;

    width: 100%;

    margin: 0;
    padding: 15px 0;

    color: #fff;
    background: transparent;

    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 0;

    outline: none;
    box-shadow: none;

    font-family: inherit;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.5;

    transition:
        border-color 0.25s ease,
        color 0.25s ease;
}


/* TEXTAREA
   ========================================================== */

.footer-contact__form textarea {
    min-height: 120px;

    resize: vertical;
}


/* PLACEHOLDER
   ========================================================== */

.footer-contact__form input::placeholder,
.footer-contact__form textarea::placeholder {
    color: rgba(255, 255, 255, 0.42);

    opacity: 1;
}


/* FOCUS
   ========================================================== */

.footer-contact__form input:focus,
.footer-contact__form select:focus,
.footer-contact__form textarea:focus {
    border-bottom-color: #72c943;
}


/* AUTOFILL
   ========================================================== */

.footer-contact__form input:-webkit-autofill,
.footer-contact__form input:-webkit-autofill:hover,
.footer-contact__form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;

    box-shadow:
        0 0 0 1000px #183329 inset;

    transition:
        background-color 9999s ease-in-out 0s;
}


/* ==========================================================
   SUBMIT
   ========================================================== */
.footer-contact__form input[type="submit"],
.footer-contact__form button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 10px 33px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease,
        background-color 0.3s ease,
        border-color 0.3s ease,
        transform 0.35s cubic-bezier(.22, 1, .36, 1);
	color: white;
    background: #72c943;
    border-color: #72c943;

}


.footer-contact__form input[type="submit"]:hover,
.footer-contact__form button[type="submit"]:hover {
        color: white;
    background: #83d657;
    border-color: #83d657;
    transform: translateY(-2px);
}


/* ==========================================================
   CHECKBOX / ACCEPTANCE
   ========================================================== */

.footer-contact__form .wpcf7-acceptance {
    display: block;
}

.footer-contact__form .wpcf7-list-item {
    margin: 0;
}

.footer-contact__form .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    cursor: pointer;
}

.footer-contact__form input[type="checkbox"] {
    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    margin: 1px 0 0;

    accent-color: #72c943;
}

.footer-contact__form .wpcf7-list-item-label {
    color: rgba(255, 255, 255, 0.62);

    font-size: 13px;
    line-height: 1.5;
}

.footer-contact__form .wpcf7-list-item-label a {
    color: #fff;

    text-decoration-color: #72c943;
    text-underline-offset: 3px;
}


/* ==========================================================
   VALIDATION
   ========================================================== */

.footer-contact__form .wpcf7-not-valid-tip {
    margin-top: 7px;

    color: #ff9b8f;

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

.footer-contact__form .wpcf7-not-valid {
    border-bottom-color: #ff9b8f !important;
}


/* RESPONSE
   ========================================================== */

.footer-contact__form .wpcf7-response-output {
    margin:
        28px
        0
        0 !important;

    padding:
        15px
        18px !important;

    color: #fff;

    border: 1px solid rgba(255, 255, 255, 0.25) !important;

    font-size: 14px;
    line-height: 1.5;
}

.footer-contact__form form.sent .wpcf7-response-output {
    border-color: #72c943 !important;
}


/* SPINNER
   ========================================================== */

.footer-contact__form .wpcf7-spinner {
    margin:
        0
        0
        0
        14px;

    background-color: rgba(255, 255, 255, 0.25);
}


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

@media (max-width: 1024px) {

    .footer-contact__grid {
        grid-template-columns:
            minmax(260px, 0.8fr)
            minmax(380px, 1.2fr);

        gap: 60px;
    }

}


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

@media (max-width: 768px) {

    .footer-contact {
        padding:
            75px
            0
            80px;
    }

    .footer-contact__grid {
        display: block;
    }

    .footer-contact__intro {
        margin-bottom: 60px;
    }

    .footer-contact__intro h2 {
        margin-bottom: 24px;

        font-size: clamp(42px, 13vw, 62px);
    }

    .footer-contact__intro p {
        font-size: 16px;
    }

    .footer-contact__form p {
        margin-bottom: 24px;
    }

    .footer-contact__form input[type="text"],
    .footer-contact__form input[type="email"],
    .footer-contact__form input[type="tel"],
    .footer-contact__form input[type="url"],
    .footer-contact__form input[type="number"],
    .footer-contact__form select,
    .footer-contact__form textarea {
        font-size: 16px;
    }

    .footer-contact__form input[type="submit"],
    .footer-contact__form button[type="submit"] {
        width: 100%;

        padding:
            18px
            24px;
    }

}