/* Цветовая палитра */
:root {
    --primary-color: #0097dc;
    --primary-light: #00b4ff;
    --primary-dark: #007bb5;
    --secondary-color: #00dcb4;
    --gradient-primary: linear-gradient(135deg, #0097dc 0%, #00b4ff 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 151, 220, 0.9) 0%, rgba(0, 180, 255, 0.85) 100%);
}

/* Hero секция */
.contact-hero {
    position: relative;
    height: 10vh;
    min-height: 130px;
    overflow: hidden;
    background: var(--gradient-primary);
    color: white;
    margin-bottom: 60px;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    z-index: 1;
}

.contact-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.custom-breadcrumbs {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 10px;
}

.custom-breadcrumbs a {
    color: white;
    text-decoration: none;
    transition: all 0.2s ease;
}

.custom-breadcrumbs a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}

.custom-breadcrumbs span {
    margin: 0 8px;
}

.contact-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.contact-hero p {
    display: none; /* Скрываем subtitle для единообразия */
}

/* Контактная информация */
.contact-info-section {
    padding: 0 0 80px 0;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(0, 151, 220, 0.02) 100%);
}

.contact-info-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 151, 220, 0.1);
    transition: all 0.4s ease;
    height: 100%;
}

.contact-info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 151, 220, 0.2);
}

.contact-info-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(0, 151, 220, 0.3);
    transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
    transform: scale(1.1) rotateY(360deg);
}

.contact-info-icon i {
    font-size: 28px;
    color: white;
}

.contact-info-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.contact-info-card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 10px;
}

.contact-info-card a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.contact-info-card a:hover {
    color: var(--secondary-color);
}

.contact-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-social {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.contact-social-link {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, rgba(0, 151, 220, 0.1) 0%, rgba(0, 220, 180, 0.1) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
}

.contact-social-link:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* Форма обратной связи */
.contact-form-section {
    padding: 80px 0;
    background: white;
}

.contact-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 10px 40px rgba(0, 151, 220, 0.15);
}

.contact-form-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.form-group-modern {
    position: relative;
}

.form-group-modern label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.form-control-modern {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s;
    background: #f9fafb;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 151, 220, 0.1);
}

.form-control-modern::placeholder {
    color: #a0a9b3;
}

.btn-submit-modern {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 18px 50px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 151, 220, 0.3);
    display: inline-flex;
    align-items: center;
}

.btn-submit-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 151, 220, 0.4);
}

.alert-modern {
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 30px;
    border: none;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

/* Карта */
.contact-map-section {
    padding: 0;
}

.contact-map-wrapper {
    position: relative;
    overflow: hidden;
}

.contact-map-wrapper iframe {
    width: 100%;
    height: 500px;
    border: none;
}

/* Дополнительная информация */
.contact-additional-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, rgba(0, 151, 220, 0.02) 0%, #ffffff 100%);
}

.additional-info-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 151, 220, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.additional-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 151, 220, 0.15);
}

.additional-info-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(0, 151, 220, 0.1) 0%, rgba(0, 220, 180, 0.1) 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.additional-info-card:hover .additional-info-icon {
    background: var(--gradient-primary);
}

.additional-info-icon i {
    font-size: 24px;
    color: var(--primary-color);
    transition: color 0.3s;
}

.additional-info-card:hover .additional-info-icon i {
    color: white;
}

.additional-info-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.additional-info-card p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 15px;
}

/* Адаптивность */
@media (max-width: 991px) {
    .contact-hero {
        height: 10vh;
        min-height: 100px;
    }

    .contact-hero h1 {
        font-size: 2.5rem;
    }

    .contact-form-wrapper {
        padding: 35px;
    }

    .contact-info-section,
    .contact-form-section,
    .contact-additional-section {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .contact-hero {
        height: 10vh;
        min-height: 80px;
    }

    .contact-hero h1 {
        font-size: 2rem;
    }

    .contact-form-wrapper {
        padding: 25px;
    }

    .btn-submit-modern {
        width: 100%;
        justify-content: center;
    }

    .contact-info-card,
    .additional-info-card {
        padding: 30px 20px;
    }

    .contact-map-wrapper iframe {
        height: 350px;
    }
}