/* ============================================
   CONTACTS PAGE
   ============================================ */

:root {
    --st-primary: #0D6EFD;
    --st-primary-dark: #0B2545;
    --st-primary-light: #DCEEFF;
    --st-primary-medium: #4D9FFF;
    --st-primary-gradient: linear-gradient(135deg, #0D6EFD 0%, #4D9FFF 100%);
    --st-white: #FFFFFF;
    --st-gray-bg: #F8FAFC;
    --st-text-main: #1F2937;
    --st-text-muted: #6B7280;
    --st-border: #E5E7EB;
    --st-blue-light: #E8F1FF;
    --st-blue-lighter: #F0F6FF;
    --st-shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --st-shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --st-shadow-lg: 0 10px 30px rgba(0,0,0,0.12);
    --st-shadow-xl: 0 20px 50px rgba(0,0,0,0.2);
}

/* ===== ШИРОКИЙ КОНТЕЙНЕР ===== */
.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    width: 100%;
}

@media (max-width: 1200px) {
    .container-wide {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .container-wide {
        padding: 0 15px;
    }
}

/* ===== HERO ===== */
.contacts-hero {
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 60px 0;
}

.contacts-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.contacts-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(11, 37, 69, 0.95) 0%,
        rgba(11, 37, 69, 0.8) 50%,
        rgba(11, 37, 69, 0.5) 100%
    );
}

.contacts-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

/* Хлебные крошки */
.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
}

.breadcrumbs a:hover {
    color: var(--st-primary-medium);
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

.breadcrumb-current {
    color: var(--st-primary-medium);
    font-weight: 600;
    font-size: 14px;
}

.contacts-hero-content h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contacts-hero-content p {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    line-height: 1.6;
}

/* ===== ОСНОВНОЙ КОНТЕНТ ===== */
.contacts-page-section {
    padding: 80px 0;
    background: var(--st-gray-bg);
}

.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 50px;
    margin-bottom: 60px;
}

/* ===== ИНФОРМАЦИЯ ===== */
.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contacts-block {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--st-shadow-md);
    border: 1px solid var(--st-border);
    transition: all 0.3s;
}

.contacts-block:hover {
    transform: translateY(-3px);
    box-shadow: var(--st-shadow-lg);
    border-color: var(--st-primary);
}

.contacts-block-icon {
    width: 50px;
    height: 50px;
    background: var(--st-primary-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.contacts-block-content {
    flex: 1;
}

.contacts-block-content h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-primary-dark);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contacts-block-content a {
    display: block;
    font-size: 15px;
    color: var(--st-text-main);
    text-decoration: none;
    line-height: 1.6;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.contacts-block-content a:hover {
    color: var(--st-primary);
}

.contacts-block-content p {
    font-size: 14px;
    color: var(--st-text-muted);
    line-height: 1.6;
    margin: 0 0 5px;
}

.contacts-note {
    font-size: 13px;
    color: var(--st-text-muted);
    background: var(--st-blue-lighter);
    border-radius: 10px;
    padding: 12px;
    margin-top: 10px !important;
    border: 1px solid var(--st-blue-light);
}

/* ===== СОЦСЕТИ ===== */
.contacts-social {
    background: #fff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: var(--st-shadow-md);
    border: 1px solid var(--st-border);
}

.contacts-social h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: var(--st-primary-dark);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links .social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--st-blue-lighter);
    color: var(--st-primary);
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s;
    border: 1px solid var(--st-blue-light);
}

.social-links .social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.2);
}

.social-links .social-icon.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: #fff;
}

.social-links .social-icon.tiktok:hover {
    background: #000;
    color: #fff;
}

.social-links .social-icon.telegram:hover {
    background: #0088cc;
    color: #fff;
}

.social-links .social-icon.whatsapp:hover {
    background: #25D366;
    color: #fff;
}

/* ===== ДОПОЛНИТЕЛЬНАЯ ИНФОРМАЦИЯ ===== */
.contacts-extra {
    background: var(--st-blue-lighter);
    border: 1px solid var(--st-blue-light);
    border-radius: 20px;
    padding: 25px;
}

.contacts-extra-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--st-text-main);
    font-weight: 500;
}

.contacts-extra-item:not(:last-child) {
    border-bottom: 1px solid var(--st-blue-light);
}

.contacts-extra-item i {
    color: var(--st-primary);
    font-size: 18px;
}

/* ===== ФОРМА ===== */
.contacts-form {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--st-shadow-xl);
    border: 1px solid var(--st-border);
}

.contacts-form-header {
    text-align: center;
    margin-bottom: 30px;
}

.contacts-form-icon {
    width: 70px;
    height: 70px;
    background: var(--st-primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin: 0 auto 15px;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.3);
}

.contacts-form-header h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--st-primary-dark);
    margin-bottom: 10px;
}

.contacts-form-header p {
    font-size: 15px;
    color: var(--st-text-muted);
    margin: 0;
}

/* Поля формы */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    position: relative;
}

.form-input-icon {
    position: relative;
}

.form-input-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--st-primary);
    font-size: 15px;
    z-index: 2;
}

.form-input-icon select + i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--st-primary);
    font-size: 15px;
}

.form-input-icon input,
.form-input-icon select,
.form-input-icon textarea {
    width: 100%;
    padding: 14px 16px 14px 45px;
    border: 2px solid var(--st-border);
    border-radius: 12px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    background: var(--st-gray-bg);
    transition: all 0.3s;
}

.form-input-icon textarea {
    resize: vertical;
    min-height: 120px;
}

.form-input-icon input:focus,
.form-input-icon select:focus,
.form-input-icon textarea:focus {
    outline: none;
    border-color: var(--st-primary);
    background: #fff;
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.1);
}

.form-input-icon select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.form-group.full-width {
    width: 100%;
}

.contact-form .btn {
    width: 100%;
    padding: 16px 30px;
    font-size: 15px;
    margin-top: 5px;
}

.form-note {
    font-size: 12px;
    color: var(--st-text-muted);
    text-align: center;
    margin: 10px 0 0;
}

/* ===== КАРТА ===== */
.contacts-map {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--st-shadow-lg);
    border: 1px solid var(--st-border);
}

.map-header {
    padding: 25px;
    text-align: center;
    background: var(--st-blue-lighter);
    border-bottom: 1px solid var(--st-border);
}

.map-header i {
    font-size: 24px;
    color: var(--st-primary);
    margin-bottom: 10px;
}

.map-header h3 {
    font-family: 'Exo 2', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--st-primary-dark);
    margin-bottom: 5px;
}

.map-header p {
    font-size: 14px;
    color: var(--st-text-muted);
    margin: 0;
}

.contacts-map iframe {
    display: block;
}

/* ===== АДАПТИВНОСТЬ ===== */

@media (max-width: 1200px) {
    .contacts-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 992px) {
    .contacts-hero {
        min-height: 300px;
        padding: 40px 0;
    }
    
    .contacts-hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .contacts-hero-content h1 {
        font-size: 28px;
    }
    
    .contacts-hero-content p {
        font-size: 15px;
    }
    
    .contacts-form {
        padding: 25px;
    }
    
    .contacts-form-header h2 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .contacts-hero-content h1 {
        font-size: 24px;
    }
    
    .contacts-block {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
}