/* CSS Variables */
:root {
    --primary-color: #2E7D32;
    --primary-light: #66BB6A;
    --primary-dark: #1B5E20;
    --secondary-color: #FF7043;
    --secondary-light: #FFAB91;
    --secondary-dark: #D84315;
    --accent-color: #5E35B1;
    --accent-light: #9575CD;
    --accent-dark: #4527A0;
    --neutral-color: #78909C;
    --neutral-light: #B0BEC5;
    --neutral-dark: #455A64;
    --success-color: #43A047;
    --success-light: #81C784;
    --success-dark: #2E7D32;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Conservative Typography */
.navbar-brand {
    font-size: 1.5rem;
}

h1, .display-4 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3, .h3 {
    font-size: 1.5rem;
}

h4, .h4 {
    font-size: 1.25rem;
}

h5, .h5 {
    font-size: 1.1rem;
}

p, .lead {
    font-size: 1rem;
}

/* Custom Bootstrap Theme */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

/* Card Styles */
.card {
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Section Spacing */
section {
    padding: 4rem 0;
}

/* Gallery Styles */
#gallery img {
    transition: transform 0.3s ease;
}

#gallery img:hover {
    transform: scale(1.05);
}

/* Footer Styles */
#footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff !important;
}

#footer h5 {
    color: #ffffff !important;
    font-weight: 600 !important;
}

#footer p {
    color: #e0e0e0 !important;
}

#footer .text-muted {
    color: #d0d0d0 !important;
}

#footer a {
    color: #b8b8b8 !important;
    transition: color 0.3s ease;
}

#footer a:hover {
    color: var(--primary-light) !important;
    text-decoration: underline !important;
}

#footer hr {
    border-color: #4a4a4a !important;
    opacity: 0.8;
}

#footer small {
    color: #c0c0c0 !important;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(46, 125, 50, 0.25);
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Team Images */
.team-member img {
    object-fit: cover;
    border: 3px solid var(--primary-light);
}

/* Breadcrumb Styles */
.breadcrumb {
    background: transparent;
}

.breadcrumb-item img {
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.breadcrumb-item img:hover {
    opacity: 1;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
}

.service-card img {
    height: 200px;
    object-fit: cover;
}

/* Price Cards */
.price-card {
    position: relative;
}

.price-card.featured {
    transform: scale(1.05);
    z-index: 2;
}

/* FAQ Cards */
.faq-card {
    border-left: 4px solid var(--primary-color);
}

/* Timeline Styles */
.timeline-item {
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: var(--primary-light);
}

/* Contact Info Icons */
.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* Utility Classes */
.shadow-soft {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.rounded-lg {
    border-radius: 10px;
}

.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .timeline-item::before {
        display: none;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus Styles */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success States */
.success-message {
    color: var(--success-color);
    font-weight: 500;
}

/* Error States */
.error-message {
    color: #dc3545;
    font-weight: 500;
} 


/* Team Social Links - Modern Style */
.team-social-links {
    margin-top: 25px;
    padding: 20px 0;
}

.social-icons-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    transform: scale(0);
    border-radius: inherit;
    transition: transform 0.5s ease;
}

.social-link:hover::before {
    transform: scale(1.2);
}

.social-link:hover {
    transform: translateY(-8px) rotate(10deg);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #00c6ff);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #0099cc);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f093fb, #f5576c);
}

.x-link {
    background: linear-gradient(45deg, #000000, #434343);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 15px;
    }
    
    .social-link {
        width: 46px;
        height: 46px;
        font-size: 20px;
    }
}


/* Cookie Manager theme (auto-injected) */
/**
 * САЙТ-СПЕЦИФИЧНЫЕ СТИЛИ
 * Тема: gradient
 * Toggle: 3
 * Содержит только стили для выбранной темы
 * Сгенерировано автоматически - НЕ РЕДАКТИРОВАТЬ ВРУЧНУЮ
 */

/**
 * OptimizedCookieManager Styles
 * Уникальные классы с префиксом ocm- для избежания конфликтов
 * Все стили с !important для гарантированного применения
 */

/* ===== БАЗОВЫЕ СТИЛИ ===== */
.ocm-banner {
    position: fixed !important;
    z-index: 999999 !important;
    max-width: 400px !important;
    min-width: 320px !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    color: #333333 !important;
    transform: translateY(100px) !important;
    opacity: 0 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid #e5e5e5 !important;
    overflow: hidden !important;
}

.ocm-banner.ocm-show {
    transform: translateY(0) !important;
    opacity: 1 !important;
}

/* ===== ПОЗИЦИОНИРОВАНИЕ ===== */
.ocm-position-bottom-right {
    bottom: 20px !important;
    right: 20px !important;
}

.ocm-position-bottom-left {
    bottom: 20px !important;
    left: 20px !important;
}

.ocm-position-bottom-center {
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(100px) !important;
}

.ocm-position-bottom-center.ocm-show {
    transform: translateX(-50%) translateY(0) !important;
}

.ocm-position-top-right {
    top: 20px !important;
    right: 20px !important;
    transform: translateY(-100px) !important;
}

.ocm-position-top-right.ocm-show {
    transform: translateY(0) !important;
}

/* ===== СОДЕРЖИМОЕ БАННЕРА ===== */
.ocm-banner-content,
.ocm-settings {
    padding: 24px !important;
}

.ocm-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 16px !important;
}

.ocm-title {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #1a1a1a !important;
}

.ocm-close {
    background: none !important;
    border: none !important;
    font-size: 24px !important;
    color: #666666 !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: 30px !important;
    height: 30px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
}

.ocm-close:hover {
    background: #f5f5f5 !important;
    color: #333333 !important;
}

.ocm-description {
    margin: 0 0 20px 0 !important;
    color: #666666 !important;
    line-height: 1.6 !important;
}

.ocm-buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
}

.ocm-btn {
    padding: 12px 20px !important;
    border-radius: 8px !important;
    border: none !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    text-decoration: none !important;
    display: inline-block !important;
    font-family: inherit !important;
}

.ocm-btn-accept {
    background: #007bff !important;
    color: #ffffff !important;
}

.ocm-btn-accept:hover {
    background: #0056b3 !important;
    transform: translateY(-1px) !important;
}

.ocm-btn-reject {
    background: #6c757d !important;
    color: #ffffff !important;
}

.ocm-btn-reject:hover {
    background: #545b62 !important;
    transform: translateY(-1px) !important;
}

.ocm-btn-customize {
    background: transparent !important;
    color: #007bff !important;
    border: 2px solid #007bff !important;
}

.ocm-btn-customize:hover {
    background: #007bff !important;
    color: #ffffff !important;
}

.ocm-btn-save {
    background: #28a745 !important;
    color: #ffffff !important;
}

.ocm-btn-save:hover {
    background: #1e7e34 !important;
    transform: translateY(-1px) !important;
}

.ocm-back {
    background: none !important;
    border: none !important;
    color: #007bff !important;
    cursor: pointer !important;
    font-size: 14px !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    font-family: inherit !important;
}

.ocm-back:hover {
    background: #f8f9fa !important;
}

/* ===== НАСТРОЙКИ COOKIE ===== */
.ocm-category {
    margin-bottom: 20px !important;
    padding: 16px !important;
    background: #f8f9fa !important;
    border-radius: 8px !important;
    border: 1px solid #e9ecef !important;
}

.ocm-category-header {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 8px !important;
}

.ocm-category-title {
    font-weight: 500 !important;
    color: #1a1a1a !important;
    font-size: 15px !important;
}

.ocm-category-desc {
    margin: 0 !important;
    color: #666666 !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* ===== ПЕРЕКЛЮЧАТЕЛИ ===== */
.ocm-switch {
    position: relative !important;
    display: inline-block !important;
    width: 50px !important;
    height: 24px !important;
}

.ocm-switch input {
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
}

.ocm-slider {
    position: absolute !important;
    cursor: pointer !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #ccc !important;
    border-radius: 24px !important;
    transition: all 0.3s ease !important;
}

.ocm-slider:before {
    position: absolute !important;
    content: "" !important;
    height: 18px !important;
    width: 18px !important;
    left: 3px !important;
    bottom: 3px !important;
    background-color: white !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
}

input:checked + .ocm-slider {
    background-color: #007bff !important;
}

input:checked + .ocm-slider:before {
    transform: translateX(26px) !important;
}

input:disabled + .ocm-slider {
    background-color: #28a745 !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
}

/* ===== КНОПКА ПЕРЕКЛЮЧЕНИЯ - БАЗОВЫЕ СТИЛИ ===== */
.ocm-toggle {
    position: fixed !important;
    width: 50px !important;
    height: 50px !important;
    border: none !important;
    color: white !important;
    font-size: 20px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 999998 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: inherit !important;
}

/* ===== ПОЗИЦИОНИРОВАНИЕ TOGGLE КНОПКИ ===== */
.ocm-toggle.ocm-toggle-position-bottom-right {
    bottom: 20px !important;
    right: 20px !important;
}

.ocm-toggle.ocm-toggle-position-bottom-left {
    bottom: 20px !important;
    left: 20px !important;
}

.ocm-toggle.ocm-toggle-position-top-right {
    top: 20px !important;
    right: 20px !important;
}

.ocm-toggle.ocm-toggle-position-top-left {
    top: 20px !important;
    left: 20px !important;
}

.ocm-toggle.ocm-toggle-position-center-left {
    top: 50% !important;
    left: 20px !important;
    transform: translateY(-50%) !important;
}

.ocm-toggle.ocm-toggle-position-center-right {
    top: 50% !important;
    right: 20px !important;
    transform: translateY(-50%) !important;
}

/* ===== TOGGLE СТИЛЬ 3: НЕОМОРФНЫЙ ДИЗАЙН ===== */
.ocm-toggle.ocm-toggle-style-3 {
    border-radius: 25px !important;
    background: #e0e5ec !important;
    color: #333 !important;
    box-shadow: 9px 9px 16px #a3b1c6, -9px -9px 16px #ffffff !important;
    width: 60px !important;
    height: 40px !important;
}

.ocm-toggle.ocm-toggle-style-3:hover {
    box-shadow: inset 9px 9px 16px #a3b1c6, inset -9px -9px 16px #ffffff !important;
    transform: scale(0.98) !important;
}

/* ===== ДОПОЛНИТЕЛЬНЫЕ ЭЛЕМЕНТЫ ===== */
.ocm-settings-buttons {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-top: 20px !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.ocm-policy-link {
    color: #007bff !important;
    text-decoration: none !important;
    font-size: 13px !important;
    border-bottom: 1px solid transparent !important;
    transition: border-color 0.2s ease !important;
}

.ocm-policy-link:hover {
    border-bottom-color: #007bff !important;
}

/* ===== ТЕМА: GRADIENT ===== */
.ocm-theme-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 20px !important;
}

.ocm-theme-gradient .ocm-title,
.ocm-theme-gradient .ocm-description,
.ocm-theme-gradient .ocm-category-title,
.ocm-theme-gradient .ocm-category-desc {
    color: #ffffff !important;
}

.ocm-theme-gradient .ocm-close {
    color: #ffffff !important;
}

.ocm-theme-gradient .ocm-close:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

.ocm-theme-gradient .ocm-btn-accept {
    background: #ffffff !important;
    color: #667eea !important;
}

.ocm-theme-gradient .ocm-btn-accept:hover {
    background: #f8f9fa !important;
}

.ocm-theme-gradient .ocm-btn-reject {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.ocm-theme-gradient .ocm-btn-reject:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.ocm-theme-gradient .ocm-btn-customize {
    background: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.ocm-theme-gradient .ocm-btn-customize:hover {
    background: #ffffff !important;
    color: #667eea !important;
}

.ocm-theme-gradient .ocm-category {
    background: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.ocm-theme-gradient input:checked + .ocm-slider {
    background-color: #ffffff !important;
}

.ocm-theme-gradient input:checked + .ocm-slider:before {
    background-color: #667eea !important;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 480px) {
    .ocm-banner {
        max-width: calc(100vw - 40px) !important;
        min-width: calc(100vw - 40px) !important;
    }
    
    .ocm-buttons {
        flex-direction: column !important;
    }
    
    .ocm-settings-buttons {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    .ocm-category-header {
        flex-wrap: wrap !important;
    }
}

/* ===== АНИМАЦИИ ===== */
@keyframes ocm-slideUp {
    from {
        transform: translateY(100%) !important;
        opacity: 0 !important;
    }
    to {
        transform: translateY(0) !important;
        opacity: 1 !important;
    }
}

@keyframes ocm-fadeIn {
    from {
        opacity: 0 !important;
    }
    to {
        opacity: 1 !important;
    }
}

/* ===== ТЕМНАЯ ТЕМА (медиазапрос) ===== */
@media (prefers-color-scheme: dark) {
    .ocm-banner:not(.ocm-theme-gradient):not(
    
    .ocm-banner:not(.ocm-theme-gradient) .ocm-title,
    .ocm-banner:not(.ocm-theme-gradient) .ocm-category-title {
        color: #ffffff !important;
    }
    
    .ocm-banner:not(.ocm-theme-gradient) .ocm-description,
    .ocm-banner:not(.ocm-theme-gradient) .ocm-category-desc {
        color: #cbd5e0 !important;
    }
    
    .ocm-banner:not(.ocm-theme-gradient) .ocm-category {
        background: #1a202c !important;
        border-color: #4a5568 !important;
    }
    
    .ocm-banner:not(.ocm-theme-gradient) .ocm-close {
        color: #cbd5e0 !important;
    }
    
    .ocm-banner:not(.ocm-theme-gradient) .ocm-close:hover {
        background: #4a5568 !important;
        color: #ffffff !important;
    }
}
