:root {
    --primary-orange: #FF6B35;
    --secondary-orange: #FF8C42;
    --primary-blue: #1A6CA3;
    --secondary-blue: #2C8AC8;
    --dark-gray: #424867;
    --light-gray: #F8F9FA;
    --white: #FFFFFF;
}

/* Общие стили */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
}

/* Верхняя панель (только десктоп) */
.top-bar {
    background: linear-gradient(95deg, var(--primary-blue), var(--secondary-blue));
    color: white;
    padding: 8px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.top-bar a:hover {
    opacity: 0.9;
}

.phone-link {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Основной хедер */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo img {
    max-height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Блоки телефонов */
.phone-block {
    text-align: center;
    padding: 0 15px;
}

.phone-label {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-bottom: 3px;
    font-weight: 500;
}

.phone-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: var(--primary-orange);
}

/* Кнопки */
.header-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.btn-callback {
    background: var(--primary-orange);
    color: white;
}

.btn-callback:hover {
    background: var(--secondary-orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    color: white;
}

.btn-demo {
    background: linear-gradient(95deg, var(--primary-orange), var(--dark-gray));
    color: white;
}

.btn-demo:hover {
    background: linear-gradient(95deg, var(--secondary-orange), var(--dark-gray));
    transform: translateY(-2px);
    color: white;
}

.btn-connect {
    background: var(--dark-gray);
    color: white;
}

.btn-connect:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
    color: white;
}

/* Слоган */
.slogan-bar {
    background: var(--light-gray);
    padding: 10px 0;
    border-top: 1px solid #eaeaea;
    border-bottom: 1px solid #eaeaea;
}

.slogan-text {
    color: var(--dark-gray);
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
}

.slogan-icon {
    color: var(--primary-orange);
    font-size: 1.2rem;
}

/* Мобильная версия */
.mobile-header {
    background: var(--white);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-menu {
    display: inline-block;
}

.logo-menu img {
    max-height: 40px;
    width: auto;
}

.tel-phone-mob {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: block;
    text-align: right;
    padding: 0 0 15px 0;
}

.tel-phone-mob:hover {
    color: var(--primary-orange);
}

/* Адаптивность */
@media (max-width: 1199px) {
    .phone-block {
        padding: 0 10px;
    }
    
    .phone-number {
        font-size: 1rem;
    }
    
    .header-btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

@media (max-width: 991px) {
    .d-lg-block {
        display: none !important;
    }
    
    .main-header .btn-group {
        justify-content: center;
        margin-top: 15px;
    }
    
    .phone-block {
        margin-bottom: 10px;
    }
    
}

@media (max-width: 767px) {
    .slogan-text {
        font-size: 0.85rem;
    }
    
    .slogan-icon {
        font-size: 1rem;
    }
}

@media (max-width: 575px) {
    .header-btn {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .main-header .btn-group {
        flex-direction: column;
    }
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.main-header, .mobile-header {
    animation: fadeIn 0.5s ease-out;
}

/* Footer styles */
.site-footer {
    background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
    color: white;
    padding: 40px 0 20px;
    margin-top: auto;
}

.footer-main {
    padding: 30px 0;
}

.footer-mobile .footer-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 576px) {
    .footer-mobile .footer-contact-cards {
        grid-template-columns: 1fr;
    }
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: #FF6B35;
    flex-shrink: 0;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info {
    flex: 1;
}

.contact-title {
    font-size: 0.9rem;
    color: #a0aec0;
    margin: 0 0 5px;
    font-weight: 500;
}

.contact-link {
    display: block;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #FF6B35;
}

.contact-note {
    display: block;
    font-size: 0.85rem;
    color: #a0aec0;
}

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

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #FF6B35;
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Десктопная версия */
.footer-desktop .footer-content {
    padding: 0 0 40px;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    flex: 1;
}

.contact-item {
    text-align: center;
}

.contact-heading {
    font-size: 1rem;
    color: #a0aec0;
    margin: 0 0 10px;
    font-weight: 500;
}

.contact-value {
    display: block;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 5px;
    transition: color 0.3s ease;
}

.contact-value:hover {
    color: #FF6B35;
}

.social-block {
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 10px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #FF6B35;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Копирайт */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.copyright {
    color: #a0aec0;
    font-size: 0.95rem;
}

/* Анимации */
@keyframes footerFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.site-footer {
    animation: footerFadeIn 0.5s ease;
}

/* Адаптивность */
@media (max-width: 992px) {
    .contact-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .site-footer {
        padding: 30px 0 20px;
    }
    
    .footer-main {
        padding: 20px 0;
    }
}

