/**
 * Modern Styles for Twenty Twelve (PHP 8.3 Fixed)
 * Только ширина и базовые улучшения
 */

/* ============================================
   1. УВЕЛИЧЕННАЯ ШИРИНА КОНТЕНТА
   ============================================ */

.glob_wrapper {
    max-width: 1400px !important;
    margin: 0 auto;
}

.container {
    max-width: 1400px !important;
}

.site-content {
    max-width: 1000px !important;
}

/* Для страниц без сайдбара */
.full-width .site-content {
    max-width: 1200px !important;
}

/* ============================================
   2. СОВРЕМЕННЫЕ КНОПКИ
   ============================================ */

input[type="submit"],
input[type="button"],
button,
.btn,
.btn_alt,
.btn_primerka {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

input[type="submit"]:hover,
input[type="button"]:hover,
button:hover,
.btn:hover,
.btn_alt:hover,
.btn_primerka:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* ============================================
   3. УЛУЧШЕННЫЕ ФОРМЫ
   ============================================ */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
textarea,
select {
    border: 2px solid #e1e5eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    border-color: #667eea;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

/* ============================================
   4. СОВРЕМЕННЫЕ ЗАГОЛОВКИ
   ============================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    color: #1a202c;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 22px;
}

/* ============================================
   5. ЦВЕТОВЫЕ АКЦЕНТЫ
   ============================================ */

a {
    color: #667eea;
    transition: color 0.3s ease;
}

a:hover {
    color: #764ba2;
}

/* ============================================
   6. БЛОК ПРЕИМУЩЕСТВ
   ============================================ */

.features-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin: 48px 0;
    padding: 0 24px;
}

.feature-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #eef1f5;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.feature-icon img {
    width: 48px;
    height: 48px;
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 12px;
    margin-top: 0;
}

.feature-text {
    font-size: 14px;
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   7. МОБИЛЬНАЯ АДАПТАЦИЯ
   ============================================ */

@media only screen and (max-width: 768px) {
    .glob_wrapper,
    .container,
    .site-content {
        max-width: 100% !important;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
}
