/* Дополнительные стили для улучшения внешнего вида */

/* Стили для логотипа */
header .top-nav a.logo {
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 12px !important;
}

header .top-nav a.logo .logo-image {
    height: 50px !important;
    width: auto !important;
    max-width: 200px !important;
    object-fit: contain !important;
    display: block !important;
}

header .top-nav a.logo .logo-text {
    display: block !important;
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Улучшенные стили для кнопок */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Улучшенные карточки */
.card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* Секции с градиентами */
.gradient-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    position: relative;
}

.gradient-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Улучшенная типографика */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Списки */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #27ae60;
    font-weight: bold;
    font-size: 1.2em;
}

/* Формы */
.form-group {
    margin-bottom: 20px;
}

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

.form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* Адаптивные улучшения */
@media (max-width: 768px) {
    .card {
        padding: 20px;
        margin: 15px 0;
    }
    
    .gradient-section {
        padding: 60px 0;
    }
}

/* Улучшения для мобильных устройств */
@media (max-width: 480px) {
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .card {
        padding: 15px;
    }
}

/* Секция процесса - увеличенный блок */
.process-section {
    padding: 80px 60px !important;
    margin: 50px 20px !important;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%) !important;
    border: 2px solid rgba(255, 107, 53, 0.2) !important;
    position: relative !important;
    overflow: hidden !important;
    border-radius: 20px !important;
}

.process-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 8px !important;
    height: 100% !important;
    background: linear-gradient(180deg, #FF6B35 0%, #FF8C5A 100%) !important;
}

.process-section h2 {
    font-size: 2.8rem !important;
    margin-bottom: 25px !important;
    color: #1a1a2e !important;
    font-weight: 800 !important;
}

.process-section > p {
    font-size: 1.35rem !important;
    line-height: 1.9 !important;
    color: #444 !important;
    max-width: 900px !important;
    margin-bottom: 50px !important;
}

.process-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px !important;
    margin-top: 30px !important;
    padding: 20px !important;
}

.process-step {
    background: white !important;
    padding: 35px !important;
    border-radius: 16px !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1) !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    position: relative !important;
    border-left: 4px solid #FF6B35 !important;
    min-height: 180px !important;
}

.process-step:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.2) !important;
}

.step-number {
    font-size: 3rem !important;
    font-weight: 900 !important;
    color: #FF6B35 !important;
    margin-bottom: 15px !important;
    line-height: 1 !important;
}

.process-step h3 {
    font-size: 1.5rem !important;
    margin-bottom: 15px !important;
    color: #1a1a2e !important;
    font-weight: 700 !important;
}

.process-step p {
    color: #555 !important;
    line-height: 1.8 !important;
    font-size: 1.1rem !important;
}

/* Изображение в секции процесса */
.process-image-container {
    margin-top: 50px;
    text-align: center;
}

.process-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Оранжевый фильтр для изображений */
.orange-image {
    /* filter: sepia(1) saturate(10) hue-rotate(335deg) brightness(0.9) !important; */
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Растягивание изображения на весь блок article.image */
section.hero article.image,
section.hero .image {
    display: flex !important;
    align-items: stretch !important;
}

section.hero article.image img,
section.hero .image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

section.hero article.image .orange-image,
section.hero .image .orange-image {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* Адаптивность для логотипа */
@media (max-width: 768px) {
    header .top-nav a.logo .logo-image {
        height: 40px !important;
        max-width: 150px !important;
    }
}

@media (max-width: 480px) {
    header .top-nav a.logo .logo-image {
        height: 35px !important;
        max-width: 120px !important;
    }
}

/* Адаптивность для секции процесса */
@media (max-width: 768px) {
    .process-section {
        padding: 50px 25px !important;
        margin: 30px 10px !important;
    }
    
    .process-section h2 {
        font-size: 2rem !important;
    }
    
    .process-section > p {
        font-size: 1.15rem !important;
    }
    
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .step-number {
        font-size: 2.5rem !important;
    }
    
    .process-step {
        min-height: auto !important;
    }
}
