/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    width: 100%;
    background: #27292b;
    color: #ffffff;
    padding: 35px 40px 95px;
    box-sizing: border-box;
    font-family: inherit;
}

.site-footer *,
.site-footer *::before,
.site-footer *::after {
    box-sizing: border-box;
}

.site-footer__container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}


/* =========================================================
   TOP AREA
========================================================= */

.site-footer__top {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(420px, 1.6fr) minmax(180px, 0.7fr) minmax(380px, 1.1fr);
    gap: 50px;
    align-items: start;
}


/* =========================================================
   BRAND
========================================================= */

.site-footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.site-footer__logo-link {
    display: inline-block;
    text-decoration: none;
}

.site-footer__logo {
    display: block;
    width: 390px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* =========================================================
   COUNTRY ICONS
========================================================= */

.site-footer__countries {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
}

.site-footer__country {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    overflow: hidden;
    transition: transform 0.25s ease;
}

.site-footer__country:hover {
    transform: translateY(-3px);
}

.site-footer__country img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}


/* =========================================================
   NAVIGATION
========================================================= */

.site-footer__navigation {
    padding-top: 4px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
}

.footer-nav a {
    position: relative;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;
    transition: color 0.25s ease;
}

.footer-nav a:hover,
.footer-nav__active {
    color: #5ab4e6 !important;
}

.footer-nav__dropdown {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.footer-nav__arrow {
    background: none;
    border: 0;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
}

.footer-nav__arrow i {
    font-size: 14px;
    line-height: 1;
    transition: transform 0.3s ease;
}

/* Rotate when opened */
.footer-nav__arrow[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* =========================================================
   RIGHT CONTACT AREA
========================================================= */

.site-footer__contact {
    width: 100%;
}

.site-footer__contact-inner {
    display: flex;
    align-items: flex-start;
    gap: 35px;
}

.site-footer__iso {
    flex: 0 0 auto;
}

.site-footer__iso img {
    display: block;
    width: 78px;
    height: auto;
    object-fit: contain;
}

.site-footer__details {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.site-footer__details address {
    margin: 0;
    color: #ffffff;
    font-size: 14px;
    line-height: 1.65;
    font-style: normal;
}

.site-footer__emails {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.site-footer__emails a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.45;
    transition: color 0.25s ease;
}

.site-footer__emails a:hover {
    color: #5ab4e6;
}


/* =========================================================
   FORM SECTION
========================================================= */

.site-footer__form-section {
    width: 100%;
    margin-top: 25px;
}

.site-footer__form-title {
    margin: 0 0 68px;
    color: #ffffff;
    font-size: 27px;
    line-height: 1.25;
    font-weight: 400;
    letter-spacing: -0.5px;
}


/* =========================================================
   FORM
========================================================= */

.site-footer__form {
    width: 100%;
}

.site-footer__form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
    row-gap: 41px;
}

.site-footer__field {
    position: relative;
    width: 100%;
}

.site-footer__field label {
    display: block;
    margin-bottom: 20px;
    color: #ffffff;
    font-size: 14px;
    line-height: 1;
    font-weight: 400;
}

.site-footer__field label span {
    color: #ffffff;
}

.site-footer__field input,
.site-footer__field textarea {
    width: 100%;
    display: block;
    padding: 0 0 10px;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 0;
    outline: none;
    background: transparent;
    color: #ffffff;
    font-family: inherit;
    font-size: 15px;
    box-shadow: none;
}

.site-footer__field input {
    height: 26px;
}

.site-footer__field textarea {
    min-height: 62px;
    height: 62px;
    resize: vertical;
}

.site-footer__field input:focus,
.site-footer__field textarea:focus {
    border-bottom-color: #5ab4e6;
}


/* =========================================================
   PHONE
========================================================= */

.site-footer__phone-wrapper {
    width: 100%;
    height: 26px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.site-footer__phone-wrapper input {
    flex: 1;
    border: 0 !important;
    height: 25px;
    padding-left: 8px !important;
}

.site-footer__globe {
    width: 17px;
    height: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 10px;
    opacity: 0.9;
}

.site-footer__phone-arrow {
    color: #ffffff;
    font-size: 13px;
    margin-left: 4px;
    line-height: 1;
}


/* =========================================================
   MESSAGE
========================================================= */

.site-footer__field--message {
    grid-column: 1 / -1;
    margin-top: 0;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.site-footer__submit {
    width: 100%;
    height: 39px;
    margin-top: 40px;
    padding: 0 20px;
    border: 0;
    border-radius: 30px;
    background: #d9dce2;
    color: #25272a;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    cursor: pointer;
    transition:
        background 0.25s ease,
        transform 0.2s ease;
}

.site-footer__submit:hover {
    background: #ffffff;
}

.site-footer__submit:active {
    transform: scale(0.995);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .site-footer {
        padding: 35px 30px 70px;
    }

    .site-footer__top {
        grid-template-columns: 1fr 1fr;
        gap: 45px;
    }

    .site-footer__brand {
        grid-column: 1 / -1;
    }

    .site-footer__navigation {
        grid-column: 1;
    }

    .site-footer__contact {
        grid-column: 2;
    }

    .site-footer__form-section {
        margin-top: 45px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .site-footer {
        padding: 35px 22px 55px;
    }

    .site-footer__top {
        display: flex;
        flex-direction: column;
        gap: 40px;
    }


    /* Logo */

    .site-footer__logo {
        width: 310px;
        max-width: 100%;
    }


    /* Countries */

    .site-footer__countries {
        gap: 11px;
        margin-top: 20px;
        flex-wrap: wrap;
    }

    .site-footer__country {
        width: 45px;
        height: 45px;
    }


    /* Navigation */

    .site-footer__navigation {
        width: 100%;
    }

    .footer-nav {
        gap: 9px;
    }

    .footer-nav a {
        font-size: 14px;
    }


    /* Contact */

    .site-footer__contact {
        width: 100%;
    }

    .site-footer__contact-inner {
        gap: 22px;
    }

    .site-footer__iso img {
        width: 70px;
    }

    .site-footer__details address,
    .site-footer__emails a {
        font-size: 13px;
    }


    /* Form */

    .site-footer__form-section {
        margin-top: 10px;
    }

    .site-footer__form-title {
        margin-bottom: 45px;
        font-size: 24px;
    }

    .site-footer__form-grid {
        display: flex;
        flex-direction: column;
        gap: 35px;
    }

    .site-footer__field--message {
        width: 100%;
    }

    .site-footer__submit {
        margin-top: 35px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    .site-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    .site-footer__logo {
        width: 280px;
    }

    .site-footer__country {
        width: 42px;
        height: 42px;
    }

    .site-footer__contact-inner {
        gap: 18px;
    }

    .site-footer__iso img {
        width: 62px;
    }

    .site-footer__form-title {
        font-size: 22px;
    }

}

/* =========================================================
   SERVICES DROPDOWN
========================================================= */

.footer-nav__dropdown {
    width: 100%;
    display: block;
}

.footer-nav__service-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-nav__service-header > a {
    display: inline-block;
}


/* Arrow */

.footer-nav__arrow {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;

    margin-left: auto;
    margin-right: 8px;

    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;

    transform: none;
}


/* Arrow shape */

.footer-nav__arrow span {
    width: 7px;
    height: 7px;
    display: block;

    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;

    transform: rotate(45deg);
    transition: transform 0.25s ease;
}


/* Arrow becomes UP */

.footer-nav__dropdown.is-open .footer-nav__arrow span {
    transform: rotate(225deg);
}


/* Services list */

.footer-nav__services-list {
    display: none;

    margin: 3px 0 0;
    padding: 0;

    list-style: none;
}


/* Open list */

.footer-nav__dropdown.is-open .footer-nav__services-list {
    display: block;
}


/* Individual service */

.footer-nav__services-list li {
    margin: 0;
    padding: 0;
}


/* Service links */

.footer-nav__services-list a {
    display: block;

    padding: 0;
    margin: 0;

    color: #ffffff;
    text-decoration: none;

    font-size: 14px;
    line-height: 1.45;
    font-weight: 400;

    transition: color 0.25s ease;
}


.footer-nav__services-list a:hover {
    color: #5ab4e6;
}

/* =========================================
   FOOTER BOTTOM LEGAL BAR
========================================= */

.site-footer__bottom {
    width: 100%;
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 42px;

    background: #27282a;
    color: #ffffff;

    box-sizing: border-box;
}

.site-footer__copyright {
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    white-space: nowrap;
}

.site-footer__legal-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 42px;
}

.site-footer__legal-links a {
    color: #ffffff;
    text-decoration: none;

    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;

    white-space: nowrap;

    transition: opacity 0.2s ease;
}

.site-footer__legal-links a:hover {
    opacity: 0.7;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .site-footer__bottom {
        padding: 0 30px;
    }

    .site-footer__legal-links {
        gap: 25px;
    }

    .site-footer__copyright,
    .site-footer__legal-links a {
        font-size: 13px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .site-footer__bottom {
        min-height: auto;

        flex-direction: column;
        align-items: flex-start;

        gap: 20px;

        padding: 28px 24px;
    }

    .site-footer__copyright {
        white-space: normal;
    }

    .site-footer__legal-links {
        width: 100%;

        flex-direction: column;
        align-items: flex-start;

        gap: 14px;
    }

    .site-footer__legal-links a {
        white-space: normal;
    }

}

/* =========================================================
   Footer contact form — COLORS ONLY (scoped to .site-footer)
   Layout, spacing, sizes and fonts stay as defined in
   contact-body.css. Load this AFTER contact-body.css.
   Tweak the variables below to change the whole palette.
========================================================= */

.site-footer .contact-form {
    --ft-label:        #ffffff;   /* field labels */
    --ft-req:          #ff6b6b;   /* required asterisk */
    --ft-input-bg:     #ffffff;   /* input background */
    --ft-input-text:   #27292b;   /* typed text */
    --ft-placeholder:  #8a8f94;
    --ft-focus:        #4fb3ff;   /* focus ring / accent */
    --ft-btn-bg:       #4fb3ff;   /* submit button */
    --ft-btn-text:     #0f1113;
    --ft-btn-bg-hover: #7cc6ff;
    --ft-btn-disabled-bg:   #5b6670;
    --ft-btn-disabled-text: rgba(255, 255, 255, .65);
    --ft-dd-bg:        #ffffff;   /* country dropdown */
    --ft-dd-text:      #27292b;
    --ft-dd-muted:     #6b7075;
    --ft-dd-hover:     #e8f4ff;
}

/* ---------- Labels ---------- */
.site-footer .contact-form label {
    color: var(--ft-label);
}
.site-footer .contact-form .contact-form__req {
    color: var(--ft-req);
}

/* ---------- Inputs ---------- */
.site-footer .contact-form input[type="text"],
.site-footer .contact-form input[type="email"],
.site-footer .contact-form input[type="tel"],
.site-footer .contact-form textarea {
    background-color: var(--ft-input-bg);
    color: var(--ft-input-text);
    border-color: transparent;
}
.site-footer .contact-form input::placeholder,
.site-footer .contact-form textarea::placeholder {
    color: var(--ft-placeholder);
}
.site-footer .contact-form input:focus,
.site-footer .contact-form textarea:focus {
    outline-color: var(--ft-focus);
    border-color: var(--ft-focus);
}

/* ---------- Submit button ---------- */
.site-footer .contact-form .contact-form__submit {
    background-color: var(--ft-btn-bg);
    color: var(--ft-btn-text);
}
.site-footer .contact-form .contact-form__submit:hover:not(:disabled) {
    background-color: var(--ft-btn-bg-hover);
}
.site-footer .contact-form .contact-form__submit:disabled {
    background-color: var(--ft-btn-disabled-bg);
    color: var(--ft-btn-disabled-text);
}

/* ---------- Phone field (intl-tel-input) ---------- */
.site-footer .iti__selected-dial-code {
    color: var(--ft-input-text);
}
.site-footer .iti__arrow {
    border-top-color: var(--ft-input-text);
    border-bottom-color: var(--ft-input-text);
}

/* Dropdown (rendered inside .iti, so it inherits the footer's white text —
   force dark text on the white panel) */
.site-footer .iti__dropdown-content {
    background-color: var(--ft-dd-bg);
    color: var(--ft-dd-text);
}
.site-footer .iti__country-name,
.site-footer .iti__country {
    color: var(--ft-dd-text);
}
.site-footer .iti__dial-code {
    color: var(--ft-dd-muted);
}
.site-footer .iti__country.iti__highlight,
.site-footer .iti__country:hover {
    background-color: var(--ft-dd-hover);
}
.site-footer .iti__search-input {
    background-color: var(--ft-dd-bg);
    color: var(--ft-dd-text);
}
.site-footer .iti__search-input::placeholder {
    color: var(--ft-dd-muted);
}

/* If the dropdown is appended to <body> (useFullscreenPopup / dropdownContainer),
   it sits outside .site-footer, so the Contact page styles already apply to it. */

/* ---------- Success / error notices ---------- */
.site-footer .contact-body__notice--success {
    color: #b8f5c9;
    background-color: rgba(46, 160, 90, .18);
    border-color: rgba(46, 160, 90, .6);
}
.site-footer .contact-body__notice--error {
    color: #ffc9c9;
    background-color: rgba(220, 70, 70, .18);
    border-color: rgba(220, 70, 70, .6);
}