.contacts {
    background-color: var(--section-background);
    margin: 0 auto;
    padding: 60px 0;
}

.contacts__container {
    max-width: 80vw;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовок секции */
.contacts__heading {
    color: var(--brand-primary);
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

/* Подзаголовок секции */
.contacts__intro {
    color: var(--warm-gray);
    text-align: center;
    font-size: 1.25rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Контейнер колонок */
.contacts__columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Левая колонка */
.contacts__column--left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Заголовок левой части */
.contacts__subheading {
    color: var(--brand-primary);
    font-size: 1.7rem;
    font-weight: 700;
    text-align: left;
    margin: 0;
}

/* Контейнер карточек */
.contacts__info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Карточка информации */
.contacts__info-card {
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    padding-left: 2rem;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contacts__info-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Иконка карточки */
.contacts__info-icon {
    color: var(--brand-accent);
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    margin-top: 0.9rem;
}

/* Контент карточки */
.contacts__info-content {
    flex: 1;
    padding-left: 0.5rem;
}

/* Заголовок карточки */
.contacts__info-title {
    color: var(--brand-primary);
    font-size: 1.1rem;
    font-weight: 700;
    padding-left: 8px;
}

/* Основной текст карточки */
.contacts__info-text {
    color: var(--warm-gray);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    padding: 8px 12px;
    padding-left: 8px;
    border-radius: 1rem;
    transition: background-color 0.3s ease;
}

.contacts__info-card .contacts__info-text:hover {
    background-color: rgba(0, 0, 0, 0.03);
}

/* Заметка в карточке */
.contacts__info-note {
    color: #9ca3af;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 4px 8px;
    border-radius: 0.8rem;
    transition: all 0.3s ease;
}

.contacts__info-card .contacts__info-note:hover {
    background-color: rgba(0, 0, 0, 0.02);
    color: #8e9197;
}

/* Заметка с акцентом */
.contacts__info-note--accent {
    color: var(--brand-accent);
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

/* Иконка ссылки */
.contacts__link-icon {
    width: 14px;
    height: 14px;
    color: var(--brand-accent);
}

/* Секция быстрой связи */
.contacts__quick-contact {
    margin-top: 20px;
}

/* Заголовок быстрой связи */
.contacts__quick-heading {
    color: var(--brand-primary);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: left;
    margin: 0 0 15px 0;
}

/* Контейнер кнопок быстрой связи */
.contacts__quick-buttons {
    display: flex;
    gap: 15px;
    max-width: 50%;
}

/* Кнопка быстрой связи */
.contacts__quick-button {
    flex: 1;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

/* Основная кнопка быстрой связи */
.contacts__quick-button--primary {
    background-color: var(--brand-accent);
    color: white;
}

.contacts__quick-button--primary:hover {
    transform: scale(1.03);
}

/* Вторичная кнопка быстрой связи */
.contacts__quick-button--secondary {
    background-color: white;
    color: var(--brand-accent);
    border: 2px solid var(--brand-accent);
}

.contacts__quick-button--secondary:hover {
    background-color: var(--brand-accent);
    color: white;
}

.contacts__quick-button--secondary:hover .contacts__button-icon {
    color: white;
}

/* Иконка кнопки */
.contacts__button-icon {
    width: 18px;
    height: 18px;
    color: inherit;
}

/* Правая колонка */
.contacts__column--right {
    display: flex;
    justify-content: center;
}

/* Контейнер формы */
.contacts__form-container {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    padding-bottom: 11.6rem;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Заголовок формы */
.contacts__form-heading {
    color: var(--brand-primary);
    font-size: 1.3rem;
    font-weight: 700;
    text-align: left;
    margin: 0 0 25px 0;
}

/* Форма */
.contacts__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Группа поля формы */
.contacts__form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Лейбл поля */
.contacts__form-label {
    color: var(--brand-primary);
    font-size: 1rem;
    font-weight: 600;
}

/* Поле ввода */
.contacts__form-input,
.contacts__form-textarea {
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background-color: white;
}

.contacts__form-input:focus,
.contacts__form-textarea:focus {
    outline: none;
    border-color: var(--brand-accent);
}

.contacts__form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Кнопка отправки */
.contacts__form-button {
    background-color: var(--brand-accent);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.contacts__form-button:hover {
    transform: scale(1.02);
}

/* Иконка кнопки формы */
.contacts__form-button-icon {
    width: 18px;
    height: 18px;
    color: white;
}

/* Соглашение */
.contacts__form-agreement {
    color: var(--warm-gray);
    font-size: 0.85rem;
    text-align: center;
    margin: 10px 0 0 0;
    line-height: 1.4;
}

/* Адаптация для планшетов */
@media (max-width: 768px) {
    .contacts {
        width: 90vw;
        padding: 40px 0;
    }
    
    .contacts__heading {
        font-size: 2rem;
    }
    
    .contacts__intro {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .contacts__columns {
        grid-template-columns: 1fr;
        gap: 30px;
        justify-content: center;
    }
    
    .contacts__form-container {
        padding: 25px;
    }
    

}

/* Адаптация для мобильных устройств */
@media (max-width: 480px) {
    .contacts {
        width: 95vw;
        padding: 30px 0;
    }
    
    .contacts__heading {
        font-size: 1.8rem;
    }
    
    .contacts__intro {
        font-size: 0.95rem;
        padding: 0 15px;
        margin-bottom: 10px;
    }
    
    .contacts__container {
        padding: 0 15px;
    }
    
    .contacts__info-card {
        padding: 15px;
    }
    
    .contacts__form-container {
        padding: 20px;
    }
    
    .contacts__form-button {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
}