/**
 * Блог — подвал: тот же тёмный градиент и светлый текст, что на лендинге (sections.css).
 */
#footer-container {
    min-height: auto;
    height: auto;
    display: block;
    background: linear-gradient(
        135deg,
        rgba(29, 53, 87, 0.95) 0%,
        rgba(42, 74, 107, 0.95) 50%,
        rgba(29, 53, 87, 0.95) 100%
    ) !important;
}

.footer {
    color: #ffffff;
    padding: var(--spacing-xl) 0 var(--spacing-md);
    position: relative;
    overflow: hidden;
    min-height: auto;
    display: block;
    background: transparent;
    font-family: var(--font-family);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    align-items: start;
}

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

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-family: var(--font-family-heading);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: var(--spacing-md);
    color: #ffffff;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.2);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 48px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.15) 100%);
}

.footer-phone,
.footer-email {
    margin-bottom: var(--spacing-xs);
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.55;
}

.footer-phone a,
.footer-email a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease;
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--color-primary-light);
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.footer-support a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    text-decoration: none;
}

.footer-support a:hover {
    color: var(--color-primary-light);
}

.footer-cta .btn-primary {
    margin-top: 8px;
    text-decoration: none;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.2s ease, padding-left 0.3s ease;
    display: inline-block;
    padding: 4px 0;
    border-radius: 4px;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(6px);
    padding-left: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.footer-links a::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transition: opacity 0.3s ease, margin-right 0.3s ease;
    color: var(--color-primary-light);
    font-weight: 600;
}

.footer-links a:hover::before {
    opacity: 1;
    margin-right: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.65;
    position: relative;
}

.footer-bottom p {
    margin-bottom: var(--spacing-xs);
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.58);
    max-width: 52rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

.footer-version {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-subscribe-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
    line-height: 1.5;
}

.footer-subscribe-form {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-subscribe-submit {
    padding: 10px 16px;
    white-space: nowrap;
}

.footer-subscribe-input {
    flex: 1;
    min-width: 200px;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-family);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.footer-subscribe-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer-subscribe-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 8px;
    line-height: 1.4;
}

.footer .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.footer .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    color: #ffffff;
}
