:root {
    --brand-primary: #4F46E5;
    --brand-primary-hover: #4338CA;
    --border-color: #D1D5DB;
    --focus-ring-color: #A5B4FC;
    --text-primary: #111827;
    --text-secondary: #6B7281;
    --background-light: #FFFFFF;
    --container-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

    --footer-bg: #323A44;
    --footer-text: #94A3B8;
    --footer-heading: #FFFFFF;
    --footer-muted: #64748B;
    --footer-accent: #B2CB22;
    --footer-inner-max: 1440px;
    --footer-gutter: 24px;
}

/* Layout */

.footer--vg {
    width: 100%;
    background: var(--footer-bg);
    color: var(--footer-heading);
    font-family: "Plus Jakarta Sans", sans-serif;
}

.footer__inner {
    max-width: var(--footer-inner-max);
    margin: 0 auto;
    padding: 40px var(--footer-gutter) 20px;
}

.footer__cols {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}

/* Brand column */

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    width: 340px;
    max-width: 100%;
}

.footer__logos {
    margin: 0;
    line-height: 0;
}

.footer__logos img {
    max-height: 60px;
    width: auto;
    max-width: 100%;
}

.footer__brand-text {
    margin: 0;
    font-size: 13px;
    line-height: 20px;
    font-weight: 400;
    color: var(--footer-text);
}

/* Link columns */

.footer__col {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 200px;
}

.footer__col--contact {
    width: 240px;
}

.footer__col-title {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    color: var(--footer-heading);
    white-space: nowrap;
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.footer__link {
    font-size: 13px;
    line-height: normal;
    min-height: 0;
}

.footer__link a {
    display: inline-block;
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: normal;
    color: var(--footer-text);
    transition: color 0.2s ease-out;
}

.footer__link a:hover,
.footer__link a:focus-visible {
    color: var(--footer-accent);
}

.footer__link--accent {
    color: var(--footer-accent);
    font-weight: 600;
}

.footer__link a.footer__link--accent {
    color: var(--footer-accent);
    font-weight: 600;
}

/* Contact column */

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.footer__contact-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--footer-text);
}

.footer__contact-row--address {
    align-items: flex-start;
}

.footer__contact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
    color: var(--footer-accent);
}

.footer__contact-row--address .footer__contact-icon {
    margin-top: 2px;
}

.footer__contact-text {
    display: block;
    font-size: 13px;
    line-height: 18px;
    color: var(--footer-text);
}

.footer__contact-line {
    display: block;
}

.footer__contact-text a {
    color: var(--footer-text);
    transition: color 0.2s ease-out;
}

.footer__contact-text a:hover,
.footer__contact-text a:focus-visible {
    color: var(--footer-accent);
}

/* Certification badges */

.footer__certs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin: 32px 0 0;
    padding: 0;
}

.footer__cert {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-heading);
}

.footer__cert img,
.footer__cert svg {
    display: block;
    width: auto;
    max-height: 30px;
}

/* The badge PNGs are alpha masks exported from the design, so their colour is
   whatever was behind the mask. Flatten each to white and keep the transparency. */
.footer__cert img {
    filter: brightness(0) invert(1);
}

.footer__cert--eu img {
    max-height: 46px;
}

/* Bottom bar */

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    padding-top: 24px;
}

.footer__copyright,
.block__footer-copyright {
    margin: 0;
    font-size: 12px;
    line-height: normal;
    font-weight: 400;
    color: var(--footer-muted);
    text-align: left;
}

.footer__copyright a {
    color: var(--footer-muted);
    transition: color 0.2s ease-out;
}

.footer__copyright a:hover,
.footer__copyright a:focus-visible {
    color: var(--footer-accent);
}

.footer__policies {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
}

.footer__policies a {
    font-size: 12px;
    color: var(--footer-muted);
    transition: color 0.2s ease-out;
}

.footer__policies a:hover,
.footer__policies a:focus-visible {
    color: var(--footer-accent);
}

/* Social */

.social-links {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.social-links li {
    margin-bottom: 0;
    line-height: 0;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--footer-text);
    transition: color 0.2s ease-out;
}

.social-links a:hover,
.social-links a:focus-visible {
    color: var(--footer-accent);
}

/* Responsive */

@media (max-width: 1199px) {
    .footer__cols {
        gap: 32px 40px;
    }

    .footer__brand {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .footer__inner {
        padding: 32px var(--footer-gutter) 20px;
    }

    .footer__cols {
        flex-direction: column;
        gap: 28px;
    }

    .footer__col,
    .footer__col--contact,
    .footer__brand {
        width: 100%;
    }

    .footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

/* Support contact widget */

.chat-button {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    background-color: #B2CB22;
    border: none;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease;
}

.chat-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(35, 129, 255, 0.4);
}

.chat-button svg {
    width: 32px;
    height: 32px;
}

.contact-support-container {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1001;
    width: calc(100% - 40px);
    max-width: 420px;
    background-color: #FFFFFF;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.15);
    border: 1px solid #E9E9E9;
    overflow: hidden;
    transform-origin: bottom right;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-support-container[hidden] {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}

.support-topbar {
    display: flex;
    justify-content: flex-end;
    padding: 16px 16px 0;
}

.close-button {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #B2CB22;
    border: 2px solid #B2CB22;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease-out, border-color 0.3s ease-out;
}

.close-button:hover {
    background-color: #FFFFFF;
    border-color: #B2CB22;
}

.close-button svg {
    width: 20px;
    height: 20px;
}

.close-button svg line {
    stroke: #FFFFFF;
    transition: stroke 0.3s ease-out;
}

.close-button:hover svg line {
    stroke: #B2CB22;
}

.support-form-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 0px 32px 32px;
}

.contact-support-container .block__label {
    margin-bottom: 8px;
    border-bottom: 1px solid #ECECEC;
    color: #272727;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.items--wrapper-support {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-form-list .item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.support-form-list .item__label {
    font-size: 0.875rem;
    color: #4C5D82;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.support-form-list .input--default {
    border: 2px solid #E5E8F2;
    border-radius: 10px;
    color: #272727;
    padding: 0 14px;
    font-size: 1rem;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 500;
    height: 50px;
    background-color: #FDFDFE;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.support-form-list .input--default:focus {
    outline: none;
    border-color: #B2CB22;
    box-shadow: 0 0 0 4px rgba(35, 129, 255, 0.1);
}

.support-form-list textarea.input--default {
    height: auto;
    padding-top: 14px;
    padding-bottom: 14px;
    resize: vertical;
}

.support-form-list button[type="submit"] {
    width: 100%;
    display: inline-flex;
    padding: 0 12px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #B2CB22;
    border-radius: 10px;
    color: #FFFFFF;
    border: 2px solid #B2CB22;
    transition: all 0.3s ease-out;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    height: 50px;
    margin-top: 8px;
}

.support-form-list button[type="submit"]:hover {
    background-color: #FFFFFF;
    border-color: #B2CB22;
    color: #B2CB22;
}

.footer__links a:not([href]) {
    cursor: text;
    pointer-events: none;
    text-decoration: none;
    color: inherit;
}

/* Email Marketing (EMT) subscribe embed — first footer column */

.footer__newsletter-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.footer__newsletter-submit {
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    padding: 8px 12px;
    background-color: var(--footer-accent);
    color: #323A44;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 39px;
}

.footer__newsletter-input {
    padding: 8px 12px;
    font-size: 14px;
    color: #fff;
    background-color: color-mix(in oklab, #fff 10%, transparent);
    border: 1px solid color-mix(in oklab, #fff 10%, transparent);
    height: 39px;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.footer__newsletter-label {
    font-size: 14px;
    margin-bottom: 8px;
    font-weight: 600;
}

.footer__newsletter-row {
    display: flex;
}

.footer__newsletter-field-label {
    display: none;
}

.footer__newsletter-submit:hover {
    opacity: 0.92;
}

.footer__newsletter-submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.footer__newsletter-message--error {
    color: #b91c1c;
    font-size: 14px;
}

.footer__newsletter-message--ok {
    color: #007f5c;
    font-size: 14px;
}
