/* ===== Footer Component ===== */

/* Container */
.ga-footer {
    background: var(--ga-navy);
    padding: var(--ga-6) 0;
    width: 100%;
}

.ga-footer__inner {
    max-width: var(--ga-container);
    margin: 0 auto;
    padding: 0 var(--ga-6);
}

/* === Top: Logo + Tagline === */
.ga-footer__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ga-4);
}

.ga-footer__logo {
    display: block;
    flex-shrink: 0;
}

.ga-footer__logo img {
    display: block;
    height: 114px;
    width: auto;
}

.ga-footer__tagline {
    font-family: var(--ga-font-sans);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.17;
    color: var(--ga-rust);
    white-space: nowrap;
}

/* === Divider === */
.ga-footer__divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: var(--ga-6) 0;
}

/* === Middle: Links + Form === */
.ga-footer__middle {
    display: flex;
    justify-content: space-between;
    gap: var(--ga-8);
}

/* Links column */
.ga-footer__links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
}

.ga-footer__link {
    font-family: var(--ga-font-sans);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.17;
    color: var(--ga-rust);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ga-footer__link:hover {
    opacity: 0.75;
}

/* Form column */
.ga-footer__form-section {
    max-width: 494px;
    width: 100%;
}

.ga-footer__form-title {
    font-family: var(--ga-font-serif);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.14;
    color: var(--ga-rust);
    margin: 0 0 var(--ga-4) 0;
}

.ga-footer__email-row {
    display: flex;
    align-items: center;
    gap: var(--ga-4);
    margin-bottom: var(--ga-8);
}

.ga-footer__email-icon {
    width: 24px;
    height: 22px;
    flex-shrink: 0;
}

.ga-footer__email-link {
    font-family: var(--ga-font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.17;
    color: var(--ga-rust);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.ga-footer__email-link:hover {
    opacity: 0.75;
}

/* Form */
.ga-footer__form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ga-footer__input,
.ga-footer__textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-family: var(--ga-font-sans);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.17;
    color: #333;
    padding: 16px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s ease;
}

.ga-footer__input::placeholder,
.ga-footer__textarea::placeholder {
    color: #4d4d4d;
}

.ga-footer__input:focus,
.ga-footer__textarea:focus {
    border-color: var(--ga-rust);
}

.ga-footer__input--error,
.ga-footer__textarea--error {
    border-color: var(--ga-rust);
}

.ga-footer__textarea {
    min-height: 146px;
    resize: vertical;
}

.ga-footer__submit {
    width: 100%;
    height: 59px;
    background: var(--ga-olive);
    border: 1px solid var(--ga-olive-border);
    border-radius: 4px;
    font-family: var(--ga-font-serif);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.14;
    color: #ffffff;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.ga-footer__submit:hover {
    opacity: 0.9;
}

.ga-footer__submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Form feedback */
.ga-footer__form-feedback {
    display: none;
    padding: var(--ga-4);
    border-radius: 4px;
    font-family: var(--ga-font-sans);
    font-size: 14px;
    line-height: 1.4;
    text-align: center;
}

.ga-footer__form-feedback--success {
    display: block;
    background: rgba(99, 118, 69, 0.15);
    color: var(--ga-olive);
    border: 1px solid var(--ga-olive);
}

.ga-footer__form-feedback--error {
    display: block;
    background: rgba(177, 49, 46, 0.15);
    color: var(--ga-rust);
    border: 1px solid var(--ga-rust);
}

.ga-footer__field-error {
    font-family: var(--ga-font-sans);
    font-size: 12px;
    color: var(--ga-rust);
    margin-top: 4px;
    display: none;
}

/* === Bottom: Copyright + Social === */
.ga-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ga-4);
}

.ga-footer__copyright {
    font-family: var(--ga-font-sans);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.17;
    color: rgba(255, 255, 255, 0.45);
}

.ga-footer__social {
    display: flex;
    align-items: center;
    gap: 22px;
}

.ga-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.ga-footer__social-link:hover {
    opacity: 0.75;
}

.ga-footer__social-link svg {
    display: block;
}

/* reCAPTCHA badge - hidden visually, accessible */
.ga-footer__recaptcha-notice {
    font-family: var(--ga-font-sans);
    font-size: 11px;
    color: rgba(177, 49, 46, 0.6);
    margin-top: 8px;
    line-height: 1.4;
}

.ga-footer__recaptcha-notice a {
    color: var(--ga-rust);
    text-decoration: underline;
}

/* === Responsive === */
@media (max-width: 900px) {
    .ga-footer__middle {
        flex-direction: column;
        gap: var(--ga-8);
    }

    .ga-footer__form-section {
        max-width: 100%;
    }

    .ga-footer__form-title {
        font-size: 32px;
    }
}

@media (max-width: 600px) {
    .ga-footer__top {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--ga-3);
    }

    .ga-footer__logo img {
        height: 80px;
    }

    .ga-footer__tagline {
        font-size: 18px;
    }

    .ga-footer__link {
        font-size: 16px;
    }

    .ga-footer__form-title {
        font-size: 26px;
    }

    .ga-footer__submit {
        font-size: 20px;
        height: 52px;
    }

    .ga-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--ga-3);
    }
}
