/* contacts.css — «Айда!»: страница контактов */

/* Блок контактов */
.contact-section {
    margin-bottom: 40px;
}

/* Сетка карточек */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    margin-bottom: 40px;
}

/* Карточка контакта */
.contact-card {
    background: var(--panel);
    padding: 28px 24px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

/* янтарная кромка сверху, как у карточек серий */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(210, 162, 76, 0.55) 50%, transparent 100%);
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.contact-card:hover {
    border-color: rgba(210, 162, 76, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.65), 0 0 25px rgba(210, 162, 76, 0.08);
}

.contact-card:hover::before { opacity: 1; }

/* иконка */
.contact-icon {
    font-size: 26px;
    color: var(--gold);
    margin-bottom: 16px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(210, 162, 76, 0.35);
    border-radius: 3px;
    background: rgba(210, 162, 76, 0.06);
}

.contact-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--smoke);
    margin-bottom: 8px;
}

.contact-text {
    font-size: 13px;
    color: var(--dim);
    line-height: 1.55;
    margin-bottom: 16px;
}

.contact-link {
    color: var(--gold);
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: 1px dashed rgba(210, 162, 76, 0.4);
    padding-bottom: 2px;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-link:hover {
    color: #fff;
    border-color: rgba(210, 162, 76, 0.8);
}

/* Обёртка формы */
.contact-form-wrap {
    background: var(--concrete);
    padding: 35px 30px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-top: 1px solid rgba(210, 162, 76, 0.3);
}

.contact-form-wrap .section-title { margin-bottom: 30px; }

/* Форма */
.contact-form {
    max-width: 720px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-field {
    margin-bottom: 20px;
}

.form-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 8px;
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--panel);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    padding: 14px 16px;
    color: var(--smoke);
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #5c5a56;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: rgba(210, 162, 76, 0.6);
    box-shadow: 0 0 0 2px rgba(210, 162, 76, 0.08), 0 0 18px rgba(210, 162, 76, 0.06);
}

/* Кнопка отправки */
.submit-btn {
    width: 100%;
    background: var(--gold);
    color: var(--asphalt);
    border: none;
    padding: 14px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #e4b562;
    box-shadow: 0 0 25px rgba(210, 162, 76, 0.35);
}

.submit-btn:active {
    transform: translateY(1px);
}

.form-note {
    font-size: 12px;
    color: var(--dim);
    text-align: center;
    margin-top: 14px;
    line-height: 1.5;
}

/* Адаптив */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrap {
        padding: 25px 18px;
    }
}
