.tg-compact-horizontal {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 16px;
    max-width: 350px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.tg-compact-horizontal:hover {
    background: #e9ecef;
}

.tg-compact__text {
    flex-grow: 1;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;

    span {
       color: #333 !important;
       margin-bottom: 0 !important;
    }
}

.tg-compact__icon {
    display: flex;
    align-items: center;
}

.tg-compact__button {
    background: #0088cc;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease;
}

.tg-compact__button:hover {
    background: #0077b5;
}

@media only screen and (max-width: 1023px) {
    .footer form {
        margin-top: 0 !important; 
    }
}

.telegram-consultation-fullwidth {
    padding: 60px 20px;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.telegram-consultation-fullwidth h2 {
    text-align: center;
    margin-bottom: 16px;
    font-size: 2rem;
}

.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.tg-fullwidth-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.tg-main-content {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.tg-text-content h3 {
    margin: 0 0 12px 0;
    color: #333;
    font-size: 1.5rem;
}

.tg-text-content p {
    margin: 0;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.5;
    max-width: 500px;
}

.tg-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.tg-fullwidth-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0088cc;
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tg-fullwidth-button:hover {
    background: #0077b5;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
    color: white;
    text-decoration: none;
}

.arrow {
    font-weight: bold;
    font-size: 1.2rem;
}

.tg-note {
    color: #888;
    font-size: 0.9rem;
    text-align: center;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .telegram-consultation-fullwidth {
        padding: 40px 15px;
    }
    
    .tg-fullwidth-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
        gap: 30px;
    }
    
    .tg-main-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .tg-icon svg {
        width: 48px;
        height: 48px;
    }
    
    .telegram-consultation-fullwidth h2 {
        font-size: 1.5rem;
    }
    
    .subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}