/* static/css/footer.css */

/* ===============================
   FOOTER BASE
================================= */

.site-footer {
    background-color: var(--ita-dark-blue);
    color: white;
    padding: 4rem 0 2rem;
    border-top: 6px solid var(--ita-blue);
}

/* ===============================
   GRID
================================= */

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 3rem;
    }
}

/* ===============================
   BRAND SECTION
================================= */

.brand-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Logo link */

.footer-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

/* Logo image (если используете PNG/SVG) */

.footer-logo-image {
    height: 42px;
    width: auto;
    object-fit: contain;
}

/* Logo text */

.footer-logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    line-height: 1;
}

/* Logo subtitle */

.footer-logo-subtext {
    font-size: 0.75rem;
    color: #9ca3af;
    margin-top: 0.25rem;
    max-width: 180px;
    line-height: 1.2;
}

/* Description */

.footer-description {
    font-size: 0.875rem;
    color: #9ca3af;
    line-height: 1.6;
    max-width: 24rem;
}

/* ===============================
   SOCIAL LINKS
================================= */

.social-links {
    display: flex;
    gap: 0.75rem;
    padding-top: 0.5rem;
}

.social-link {
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 0.65rem;
    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);

    display: flex;
    align-items: center;
    justify-content: center;

    color: #d1d5db;
    text-decoration: none;

    transition: all 0.25s ease;
}

.social-link:hover {
    background-color: var(--ita-blue);
    border-color: var(--ita-blue);
    color: white;
}

/* ===============================
   FOOTER SECTIONS
================================= */

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-title {
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.75rem;

    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 0.75rem;
}

/* ===============================
   CONTACT LIST
================================= */

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;

    color: #9ca3af;
    font-size: 0.875rem;
}

.contact-icon-wrapper {
    margin-top: 0.1rem;
    padding: 0.45rem;

    background-color: rgba(255,255,255,0.05);
    border-radius: 0.45rem;
}

.contact-icon {
    width: 1.1rem;
    height: 1.1rem;
}

.contact-link {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: white;
}

/* ===============================
   INFO LINKS
================================= */

.info-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.info-link {
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.875rem;

    display: flex;
    align-items: center;
    gap: 0.5rem;

    transition: all 0.25s ease;
}

.info-link:hover {
    color: white;
    text-decoration: underline;
}

.info-link-arrow {
    font-size: 1rem;
}

/* ===============================
   FEEDBACK FORM
================================= */

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-input,
.form-textarea {
    width: 100%;

    background-color: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);

    border-radius: 0.6rem;

    padding: 0.7rem 0.9rem;

    font-size: 0.85rem;
    color: white;

    transition: all 0.25s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--ita-blue);
    box-shadow: 0 0 0 2px rgba(37,99,235,0.35);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #6b7280;
}

.form-textarea {
    resize: none;
}

/* Honeypot */

.honeypot-field {
    position: absolute;
    left: -9999px;
}

/* ===============================
   BUTTON
================================= */

.submit-btn {
    width: 100%;

    padding: 0.7rem 1.2rem;

    background-color: var(--ita-blue);
    color: white;

    border: none;
    border-radius: 0.65rem;

    font-weight: 600;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;

    cursor: pointer;

    transition: all 0.25s ease;
}

.submit-btn:hover {
    background-color: var(--ita-blue-hover);
}

.btn-arrow {
    width: 0.9rem;
    height: 0.9rem;
}

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

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);

    padding-top: 1.75rem;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    color: #6b7280;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.copyright {
    text-align: center;
}

@media (min-width: 768px) {
    .copyright {
        text-align: left;
    }
}

.footer-links {
    display: flex;
    gap: 1.2rem;
    font-weight: 500;
}

.footer-bottom-link {
    color: #6b7280;
    text-decoration: none;
}

.footer-bottom-link:hover {
    color: white;
}