* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #ffffff;
    font-family: 'Inter', sans-serif;
    color: #1a1e1b;
    line-height: 1.4;
    padding-top: 88px;
}

.main-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 32px 0 32px;
}

/* Хлебные крошки */
.breadcrumb {
    margin-bottom: 32px;
}

.breadcrumb a {
    text-decoration: none;
    color: #9bae95;
    font-size: 0.75rem;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #4faf54;
}

.breadcrumb span {
    color: #4a5a46;
    font-size: 0.75rem;
}

.breadcrumb i {
    font-size: 0.65rem;
    color: #cbd7c4;
    margin: 0 6px;
}

/* Страница контактов */
.contacts-container {
    max-width: 1200px;
    margin: 0 auto;
}

.contacts-hero {
    text-align: center;
    margin-bottom: 60px;
}

.contacts-hero h1 {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    color: #1e2a21;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.contacts-hero p {
    font-size: 1.1rem;
    color: #6f7e6a;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Уведомления */
.alert {
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 32px;
    font-size: 0.9rem;
    display: none;
}

.alert.show {
    display: block;
}

.alert-success {
    background: #e8f5e9;
    border: 1px solid #4faf54;
    color: #2c6e2f;
}

.alert-error {
    background: #ffebee;
    border: 1px solid #f44336;
    color: #c62828;
}

.alert i {
    margin-right: 8px;
}

/* Контактная информация */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.contact-card {
    background: #fafaf8;
    border-radius: 24px;
    padding: 32px 24px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4faf54, #60a87a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 2rem;
    color: white;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1e2a21;
    margin-bottom: 12px;
}

.contact-card p {
    font-size: 0.95rem;
    color: #4a5a46;
    line-height: 1.5;
    margin-bottom: 8px;
}

.contact-card a {
    color: #4faf54;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-card a:hover {
    color: #2c6e2f;
    text-decoration: underline;
}

/* Форма обратной связи */
.form-section {
    background: linear-gradient(135deg, #fafaf8, #ffffff);
    border-radius: 32px;
    padding: 48px;
    margin-bottom: 60px;
    border: 1px solid #f0f0ef;
}

.form-section h2 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #1e2a21;
    margin-bottom: 12px;
    text-align: center;
}

.form-section > p {
    text-align: center;
    color: #8aa185;
    margin-bottom: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #4a5a46;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: #ffffff;
    border: 1px solid #e6eae3;
    border-radius: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: all 0.2s;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #4faf54;
    box-shadow: 0 0 0 3px rgba(79, 175, 84, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #4faf54, #60a87a);
    border: none;
    padding: 14px 28px;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 175, 84, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.submit-btn .spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.mini-img-in-div {
    width: 50px;
}

.mini-img-in-div-2 {
    width: 70px;
}

.img-in-div {
    width: 45px;
}

/* Футер */
footer {
    border-top: 1px solid #f0f0ef;
    padding: 28px 0 36px;
    margin-top: 60px;
    text-align: center;
    font-size: 0.7rem;
    color: #8a9b86;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.footer-social {
    margin-top: 24px;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.4rem;
}

/* Адаптивность */
@media (max-width: 900px) {
    body {
        padding-top: 80px;
    }
    
    .main-wrapper {
        padding: 16px 20px 0 20px;
    }
    
    .contacts-hero h1 {
        font-size: 2.2rem;
    }
    
    .form-section {
        padding: 32px 24px;
    }
}

@media (max-width: 768px) {
    .social-icons {
        gap: 20px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 550px) {
    .contacts-hero h1 {
        font-size: 1.8rem;
    }
    
    .contact-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 110px;
    }
    
    .social-icons {
        gap: 16px;
    }
    
    .social-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
}