/* Extracted from PHP template; preserve original cascade position. */
:root {
        --primary-color: #094a7b;
        --secondary-color: #004445;
        --accent-color: #ff9f1c;
        --light-color: #f8f9fa;
        --dark-color: #2c3e50;
    }

    .contact-container {
        max-width: 1200px;
        margin: 30px auto;
        padding: 0 20px;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        color: #333;
    }

    .page-header {
        text-align: center;
        margin-bottom: 40px;
        padding-bottom: 20px;
        border-bottom: 2px solid var(--primary-color);
    }

    .page-header h1 {
        color: var(--dark-color);
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .page-header p {
        color: #666;
        font-size: 1.1rem;
    }

    .contact-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 40px;
    }

    @media (min-width: 992px) {
        .contact-grid {
            grid-template-columns: 2fr 1fr;
        }
    }

    .contact-info {
        background: white;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    }

    .contact-section {
        margin-bottom: 30px;
        padding-bottom: 25px;
        border-bottom: 1px solid #eee;
    }

    .contact-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .contact-title {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;
        color: var(--primary-color);
    }

    .contact-title i {
        font-size: 1.3rem;
    }

    .contact-title h3 {
        font-size: 1.3rem;
        margin: 0;
        font-weight: 600;
    }

    .contact-detail {
        display: flex;
        align-items: flex-start;
        margin-bottom: 18px;
        padding: 15px;
        background: var(--light-color);
        border-radius: 8px;
        transition: all 0.3s ease;
    }

    .contact-detail:hover {
        background: rgba(44, 120, 115, 0.05);
        transform: translateX(3px);
    }

    .detail-icon {
        background: var(--primary-color);
        color: white;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-right: 15px;
        flex-shrink: 0;
        font-size: 1rem;
    }

    .detail-content {
        flex: 1;
    }

    .detail-content h4 {
        color: var(--dark-color);
        font-size: 1rem;
        margin: 0 0 5px 0;
        font-weight: 600;
    }

    .detail-content p {
        margin: 0;
        color: #555;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .detail-content a {
        color: var(--primary-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .detail-content a:hover {
        color: var(--secondary-color);
        text-decoration: underline;
    }

    .text-muted {
        color: #777 !important;
        font-size: 0.85rem !important;
        margin-top: 5px !important;
    }

    .social-links {
        display: flex;
        gap: 10px;
        flex-wrap: wrap;
        margin-top: 15px;
    }

    .social-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--light-color);
        color: var(--primary-color);
        padding: 8px 15px;
        border-radius: 20px;
        text-decoration: none;
        transition: all 0.3s ease;
        font-size: 0.9rem;
    }

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

    .map-container {
        margin-top: 30px;
    }

    .map-placeholder {
        background: #f5f5f5;
        border-radius: 10px;
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        font-size: 1rem;
        overflow: hidden;
        box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    }

    .map-placeholder iframe {
        width: 100%;
        height: 100%;
        border: none;
        border-radius: 10px;
    }

    /* Форма обратной связи */
    .contact-form {
        background: white;
        border-radius: 12px;
        padding: 30px;
        box-shadow: 0 3px 15px rgba(0,0,0,0.08);
        height: fit-content;
    }

    .form-title {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 25px;
        color: var(--primary-color);
    }

    .form-title i {
        font-size: 1.3rem;
    }

    .form-title h3 {
        font-size: 1.3rem;
        margin: 0;
        font-weight: 600;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-label {
        display: block;
        font-weight: 500;
        color: var(--dark-color);
        margin-bottom: 8px;
        font-size: 0.95rem;
    }

    .form-control {
        width: 100%;
        padding: 12px 15px;
        border: 1px solid #ddd;
        border-radius: 8px;
        font-size: 1rem;
        transition: all 0.3s ease;
        font-family: inherit;
    }

    .form-control:focus {
        outline: none;
        border-color: var(--primary-color);
        box-shadow: 0 0 0 3px rgba(44, 120, 115, 0.1);
    }

    .btn-send {
        background: var(--primary-color);
        color: white;
        border: none;
        padding: 12px 25px;
        border-radius: 8px;
        font-weight: 500;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        width: 100%;
        font-family: inherit;
    }

    .btn-send:hover {
        background: var(--secondary-color);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(44, 120, 115, 0.2);
    }

    /* Информационные блоки */
    .info-blocks {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
        margin-top: 30px;
    }

    .info-block {
        background: white;
        border-radius: 10px;
        padding: 20px;
        text-align: center;
        box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        border-top: 3px solid var(--primary-color);
    }

    .info-block i {
        color: var(--primary-color);
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .info-block h5 {
        color: var(--dark-color);
        margin-bottom: 10px;
        font-size: 1rem;
    }

    .info-block p {
        color: #666;
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.5;
    }

    @media (max-width: 768px) {
        .contact-container {
            padding: 0 15px;
        }
        
        .contact-info, .contact-form {
            padding: 20px;
        }
        
        .page-header h1 {
            font-size: 1.6rem;
        }
        
        .info-blocks {
            grid-template-columns: 1fr;
        }
        
        .contact-detail {
            padding: 12px;
        }
    }
