/* =================================================================
   MAIN CONTACT FOOTER STYLES
   ================================================================= */
.main-footer {
    padding: 80px 40px 40px 40px;
    background-color: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px auto;
}

/* Колонка 1: О компании */
.footer-brand h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
}

.footer-legal {
    font-size: 12px;
    color: rgba(245, 245, 240, 0.5);
    line-height: 1.6;
}

/* Колонка 2-4: Контакты */
.footer-column h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    color: #F5F5F0;
}

.footer-column p,
.footer-column a {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    transition: color 0.3s;
}

.footer-column a:hover {
    color: #F5F5F0;
}

/* Иконки соцсетей - КРИТИЧЕСКИ ВАЖНО */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px !important;
    height: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.social-icon:hover {
    background: #F5F5F0;
    border-color: #F5F5F0;
}

.social-icon:hover svg {
    fill: #000;
}

.social-icon svg {
    width: 20px !important;
    height: 20px !important;
    fill: #F5F5F0;
    transition: fill 0.3s;
}

/* Копирайт */
.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    text-align: center;
    font-size: 12px;
    color: rgba(245, 245, 240, 0.5);
}

/* Footer Mobile */
@media (max-width: 1024px) {
    .main-footer {
        padding: 60px 20px 30px 20px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =================================================================
   PRE-FOOTER BLOCKS: TG Banner & Read Also
   ================================================================= */
.pre-footer-blocks {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px 0;
}

/* TG BANNER */
.tg-banner {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 4px;
    margin-bottom: 60px;
}

.tg-banner-text h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    margin-bottom: 8px;
    font-weight: 500;
    color: #fff;
}

.tg-banner-text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
}

.tg-banner-btn {
    background: #F5F5F0;
    color: #000;
    padding: 16px 32px;
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s, background 0.3s;
}

.tg-banner-btn:hover {
    transform: translateY(-2px);
    background: #ddd;
}

@media (max-width: 768px) {
    .tg-banner {
        flex-direction: column;
        text-align: center;
        gap: 24px;
        padding: 30px 20px;
    }
}

/* READ ALSO (mini blog cards) */
.read-also-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
    color: #fff;
}

.read-also-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 60px;
}

.mini-blog-card {
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: border-color 0.3s, transform 0.3s;
}

.mini-blog-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.mini-blog-img {
    height: 200px;
    background: #151515;
    background-size: cover;
    background-position: center;
}

.mini-blog-content {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.mini-blog-tag {
    font-family: 'Oswald', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.mini-blog-title {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    line-height: 1.3;
    margin-bottom: 16px;
    color: #fff;
}

.mini-blog-link {
    font-family: 'Oswald', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #F5F5F0;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 4px;
    align-self: flex-start;
    transition: border-color 0.3s;
}

.mini-blog-link:hover {
    border-color: #fff;
}