/* ===== СТРАНИЦА КОНТАКТОВ ===== */
/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: #333;
    background-color: #c8e4ed;
    font-size: 16px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Типография */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #2c3e50;
}

h1 {
    font-size: 2.8rem;
}

h2 {
    font-size: 2.2rem;
    color: #597d89;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    text-decoration: none;
    color: #597d89;
    transition: color 0.3s ease;
}

a:hover {
    color: #4a6a75;
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #597d89;
    color: white;
    border: none;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background-color: #4a6a75;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: white;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid #597d89;
    color: #597d89;
}

.btn-secondary:hover {
    background-color: #597d89;
    color: white;
}

/* Шапка сайта */
.header {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 15px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: #597d89;
}

.nav {
    display: flex;
    gap: 2rem;
}

.nav a {
    font-weight: 600;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #4a6a75;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #597d89;
}

/* Подвал сайта */
.footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 3rem 0 2rem;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav {
    display: flex;
    gap: 1.5rem;
}

.footer-nav a {
    color: #bdc3c7;
}

.footer-nav a:hover {
    color: #ecf0f1;
}

/* Хлебные крошки */
.breadcrumbs {
    background-color: #f8f9fa;
    padding: 1rem 0;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.breadcrumbs a {
    color: #597d89;
}

.breadcrumbs span {
    color: #666;
}

/* Герой-секция контактов */
.contact-hero {
    background: linear-gradient(135deg, #597d89 0%, #4a6a75 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.contact-hero h1 {
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.contact-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.contact-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-stat i {
    font-size: 1.5rem;
    opacity: 0.9;
}

/* Основной контент контактов */
.contact-content {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-form-section,
.contact-info-section {
    align-self: start;
}

/* Форма обратной связи */
.contact-form-section h2 {
    margin-bottom: 1rem;
    color: #2c3e50;
    margin-top: 0;
    padding-top: 0;
}

.form-description {
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #597d89;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-message {
    color: #e74c3c;
    font-size: 0.9rem;
    margin-top: 0.3rem;
    display: block;
    min-height: 1.2rem;
}

.checkbox-group {
    display: flex;
    align-items: start;
    gap: 0.8rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    line-height: 1.4;
}

.btn-submit {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    background: #597d89;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-submit:hover {
    background: #4a6a75;
}

.btn-submit:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

/* УСПЕШНОЕ СООБЩЕНИЕ - УЛУЧШЕННЫЙ СТИЛЬ */
.form-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #155724;
    box-shadow: 0 5px 20px rgba(21, 87, 36, 0.2);
    margin-top: 2rem;
}

.form-success i {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    color: #155724;
}

.form-success h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #155724;
}

.form-success p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.form-success strong {
    background: #155724;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Контактная информация */
.contact-info-section h2 {
    margin-bottom: 2rem;
    color: #2c3e50;
}

.contact-block {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.contact-block:first-child {
    margin-top: 0;
    padding-top: 0;
}

.contact-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.contact-block h3 {
    color: #597d89;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-block p {
    margin-bottom: 1.5rem;
    color: #666;
}

/* Блок сотрудничества */
.cooperation-block {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.cooperation-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.cooperation-header h3 {
    margin-bottom: 0;
    order: 2;
    text-align: center;
    width: 100%;
}

.cooperation-icon {
    font-size: 2.5rem;
    color: #597d89;
    order: 1;
    margin-bottom: 0.5rem;
}

.cooperation-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cooperation-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.cooperation-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.cooperation-item i {
    font-size: 1.5rem;
    color: #597d89;
    width: 40px;
    margin-top: 0.2rem;
}

.cooperation-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.cooperation-item span {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Идентификационные данные */
.contact-ids-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.contact-ids-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-id-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-id-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.contact-id-item i {
    font-size: 1.5rem;
    color: #597d89;
    width: 40px;
    margin-top: 0.2rem;
}

.contact-id-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.contact-id-item span {
    display: block;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* FAQ */
.faq-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
}

.faq-section h3 {
    color: #597d89;
    margin-bottom: 1.5rem;
}

.faq-short {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item h4 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Стили для блока экранизации */
.screen-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.screen-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.screen-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.screen-item i {
    font-size: 1.5rem;
    color: #597d89;
    width: 40px;
    margin-top: 0.2rem;
}

.screen-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
}

.screen-item span {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.screen-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Компактный график работы */
.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule-item-compact {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.schedule-item-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.schedule-item-compact i {
    font-size: 1.3rem;
    color: #597d89;
    width: 30px;
    margin-top: 0.1rem;
}

.schedule-item-compact strong {
    display: block;
    margin-bottom: 0.3rem;
    color: #2c3e50;
    font-size: 0.95rem;
}

.schedule-item-compact span {
    font-size: 0.85rem;
    color: #666;
}

/* Карта/локация */
.contact-map {
    padding: 60px 0;
    background: #f8f9fa;
}

.map-placeholder {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.map-placeholder i {
    font-size: 4rem;
    color: #597d89;
    margin-bottom: 1.5rem;
    display: block;
}

.map-placeholder h3 {
    margin-bottom: 1rem;
    color: #2c3e50;
}

.map-placeholder p {
    margin-bottom: 2rem;
    color: #666;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.event-cities {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.city-tag {
    background: #597d89;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Призыв к действию */
.contact-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    text-align: center;
}

.contact-cta h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.contact-cta p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta .btn {
    background: white;
    color: #2c3e50;
    border: 2px solid white;
}

.contact-cta .btn:hover {
    background: transparent;
    color: white;
}

.contact-cta .btn-secondary {
    background: white;
    color: #2c3e50;
    border: 2px solid white;
}

.contact-cta .btn-secondary:hover {
    background: transparent;
    color: white;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Анимация загрузки */
.fa-spin {
    animation: fa-spin 1s infinite linear;
}

@keyframes fa-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Адаптивность */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-form-section {
        order: 2;
    }
    
    .contact-info-section {
        order: 1;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2.5rem;
    }
    
    .contact-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-success {
        padding: 2rem 1.5rem;
    }
    
    .cooperation-item,
    .screen-item,
    .schedule-item-compact,
    .contact-id-item {
        flex-direction: column;
        text-align: center;
        gap: 0.8rem;
    }
    
    .cooperation-item i,
    .screen-item i,
    .schedule-item-compact i,
    .contact-id-item i {
        margin-top: 0;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer .container {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
    
    .footer-nav {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-subtitle {
        font-size: 1.1rem;
    }
    
    .map-placeholder {
        padding: 2rem 1.5rem;
    }
    
    .event-cities {
        flex-direction: column;
        align-items: center;
    }
    
    .container {
        width: 100%;
        padding: 0 20px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 1.5rem 1rem;
    }
    
    .cooperation-item,
    .screen-item,
    .schedule-item-compact,
    .contact-id-item {
        padding: 0.8rem;
    }
}

/* БАННЕР СОГЛАСИЯ на обработку ПДн */
.pd-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #2c3e50;
    color: white;
    padding: 15px;
    z-index: 9999;
    display: none;
}
.pd-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.pd-consent-text {
    flex: 1;
}
.pd-consent-text h4 {
    margin: 0 0 5px 0;
    color: #c8e4ed;
}
.pd-consent-text p {
    margin: 0;
    font-size: 14px;
}
.pd-consent-text a {
    color: #c8e4ed;
    text-decoration: underline;
}
.pd-consent-buttons {
    display: flex;
    gap: 10px;
}
.btn-primary {
    background: #597d89;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}
.btn-secondary {
    background: transparent;
    border: 1px solid #c8e4ed;
    color: #c8e4ed;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
}
.btn-link {
    background: transparent;
    color: #c8e4ed;
    text-decoration: underline;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
}
@media (max-width: 768px) {
    .pd-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    .pd-consent-buttons {
        width: 100%;
        justify-content: center;
    }
}
/* УСПЕШНОЕ СООБЩЕНИЕ - УЛУЧШЕННЫЙ СТИЛЬ */
.form-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    padding: 3rem 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid #155724;
    box-shadow: 0 10px 30px rgba(21, 87, 36, 0.2);
    margin: 2rem 0;
    display: none;
}

.form-success .success-content {
    max-width: 500px;
    margin: 0 auto;
}

.form-success i {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    display: block;
    color: #155724;
    animation: bounce 0.6s ease-in-out;
}

.form-success h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #155724;
}

.form-success p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.form-success strong {
    background: #155724;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-block;
    margin: 5px 0;
}

.btn-success {
    background: #155724;
    color: white;
    border: 2px solid #155724;
    padding: 12px 30px;
    font-size: 1.1rem;
}

.btn-success:hover {
    background: transparent;
    color: #155724;
    transform: translateY(-2px);
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

/* Анимация появления */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-success {
    animation: fadeInUp 0.6s ease-out;
}