/* Honeypot field - скрытое поле для защиты от спама */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* === PORTФОЛИО === */
.portfolio-page-2025 { padding: 40px 0; }
.portfolio-h1 { 
    font-family: var(--font-primary); 
    font-size: var(--fs-h1); 
    font-weight: var(--fw-extrabold); 
    line-height: var(--lh-tight);
    margin: 0 0 calc(var(--space-base) * 1.5) 0; 
    color: var(--primary-color); 
    text-align: center; 
}
.portfolio-section { margin: 40px 0; }

.portfolio-section h2 {
    font-family: var(--font-primary);
    font-size: var(--fs-h2);
    font-weight: var(--fw-bold);
    color: var(--primary-color);
    margin-bottom: calc(var(--space-base) * 1.5);
    text-align: center;
}
.letters-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:20px; }
.letter-tile { background:#fff; border:1px solid #e6edf4; border-radius:12px; overflow:hidden; box-shadow:0 8px 20px rgba(0,0,0,.06); }
.letter-img { width:100%; height:auto; display:block; border-radius:10px; transition: transform .25s ease; }
.letter-img:hover { transform: scale(1.03); }
.letter-caption { 
    padding: 12px 14px; 
    font-family: var(--font-primary);
    font-size: var(--fs-small); 
    color: var(--primary-color); 
    font-weight: var(--fw-semibold);
    line-height: var(--lh-tight);
}

/* Партнёры — карусель */
.partners-carousel { position:relative; }
.partners-track { display:grid; grid-auto-flow:column; grid-auto-columns: 220px; gap:16px; overflow-x:auto; scroll-snap-type:x mandatory; padding:10px 48px; }
.partner-item { scroll-snap-align:start; }
.partner-logo { background:#fff; border:1px solid #e6edf4; border-radius:12px; padding:20px; display:flex; align-items:center; justify-content:center; height:110px; box-shadow:0 6px 18px rgba(0,0,0,.06); }
.partner-logo img { max-width: 100%; max-height: 70px; object-fit: contain; }
.carousel-btn { position:absolute; top:50%; transform:translateY(-50%); width:36px; height:36px; border-radius:50%; border:1px solid #d5e3f0; background:#fff; color:#1e4d72; box-shadow:0 6px 18px rgba(0,0,0,.08); cursor:pointer; display:flex; align-items:center; justify-content:center; }
.carousel-btn.prev { left:6px; }
.carousel-btn.next { right:6px; }

/* Отзывы */
.reviews-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:20px; }
.review-card { background:#fff; border:1px solid #e6edf4; border-radius:12px; padding:14px 16px; box-shadow:0 6px 16px rgba(0,0,0,.06); }
.review-header { display:flex; align-items:center; gap:12px; margin:0; cursor:pointer; position:relative; padding-right:28px; }
.review-header::after { content:'+'; position:absolute; right:8px; top:50%; transform:translateY(-50%); color:#1e4d72; font-weight:800; }
.review-card.open .review-header::after { content:'−'; }
.review-header:focus { outline:2px solid #1e4d72; outline-offset:3px; }
.review-quote-icon { width:38px; height:38px; border-radius:50%; background:#eaf2f9; color:#1e4d72; display:flex; align-items:center; justify-content:center; font-size:24px; font-weight:800; }
.review-meta { display:flex; flex-direction:column; }
.review-company { 
    font-family: var(--font-primary);
    color: var(--primary-hover); 
    font-weight: var(--fw-extrabold); 
    font-size: var(--fs-small); 
}
.review-title { 
    font-family: var(--font-primary);
    color: var(--text-light); 
    font-weight: var(--fw-semibold); 
    font-size: var(--fs-small); 
}
.review-text { 
    font-family: var(--font-secondary);
    text-align: justify; 
    line-height: var(--lh-relaxed); 
    color: var(--text-color); 
    display: none; 
    padding-top: 10px; 
    font-size: var(--fs-body);
}
.review-card.open .review-text { display:block; }

.portfolio-cta-2025 { padding: 20px 0 40px; }
.portfolio-cta-inner { background: linear-gradient(135deg, #eaf2f9, #ffffff); border:1px solid #e6edf4; border-radius:16px; padding:24px; display:flex; align-items:center; justify-content:space-between; }

@media (max-width: 992px){
  .letters-grid{grid-template-columns: repeat(2,1fr);} 
  .reviews-grid{grid-template-columns: 1fr;} 
  .partners-track { padding: 10px 20px; }
  .carousel-btn { width: 32px; height: 32px; font-size: 24px; }
  .carousel-btn.prev { left: 2px; }
  .carousel-btn.next { right: 2px; }
}

@media (max-width: 768px){
  .portfolio-h1 { 
    font-size: clamp(24px, 6vw, 32px); 
    margin-bottom: 20px; 
  }
  .portfolio-section { margin: 30px 0; }
  .portfolio-section h2 {
    font-size: clamp(20px, 5vw, 28px);
  }
  .letters-grid { grid-template-columns: 1fr; gap: 16px; }
  .reviews-grid { gap: 16px; }
  .review-card { padding: 12px 14px; }
  .review-header { gap: 10px; padding-right: 24px; }
  .review-quote-icon { width: 32px; height: 32px; font-size: 18px; }
  .review-company { font-size: var(--fs-xs); }
  .review-title { font-size: var(--fs-xs); }
  .review-text { font-size: var(--fs-small); }
  .letter-caption { font-size: var(--fs-xs); padding: 10px 12px; }
  .partners-track { grid-auto-columns: 180px; padding: 10px 16px; }
  .partner-logo { height: 90px; padding: 15px; }
  .lightbox-prev, .lightbox-next { font-size: 22px; }
  .lightbox-close { font-size: 24px; top: 15px; right: 15px; }
  .lightbox-caption { font-size: var(--fs-xs); }
}

/* Lightbox */
.lightbox-overlay{ position:fixed; inset:0; display:flex; align-items:center; justify-content:center; background:rgba(0,0,0,.85); z-index:9999; }
.lightbox-wrapper{ max-width:90vw; max-height:90vh; text-align:center; }
.lightbox-img{ width:auto; height:auto; max-width:100%; max-height:80vh; border-radius:6px; }
.lightbox-caption{ color:#fff; margin-top:8px; font-size:14px; }
.lightbox-close,.lightbox-prev,.lightbox-next{ position:absolute; top:50%; transform:translateY(-50%); background:transparent; border:none; color:#fff; font-size:28px; cursor:pointer; padding:8px; }
.lightbox-close{ top:20px; right:20px; transform:none; font-size:30px; }
.lightbox-prev{ left:20px; }
.lightbox-next{ right:20px; }
.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; }
 /*
Theme Name: Rostest Certification
Description: Профессиональная тема для сайта сертификации Ростест
Version: 1.0.0
Author: Rostest Team
*/

/* === CSS VARIABLES === */
:root {
    --primary-color: #1e4d72;
    --primary-hover: #2c6aa0;
    --secondary-color: #f8f9fa;
    --accent-color: #e3e6ea;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --border-color: #dee2e6;
    --border-radius: 8px;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --transition: all 0.3s ease;
    /* Typography System */
    --font-primary: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-secondary: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Font Sizes */
    --fs-h1: clamp(28px, 4vw, 42px);
    --fs-h2: clamp(22px, 3.5vw, 32px);
    --fs-h3: clamp(18px, 2.5vw, 24px);
    --fs-h4: clamp(16px, 2vw, 20px);
    --fs-body: 16px;
    --fs-small: 14px;
    --fs-xs: 12px;
    
    /* Line Heights */
    --lh-tight: 1.2;
    --lh-normal: 1.5;
    --lh-relaxed: 1.7;
    
    /* Font Weights */
    --fw-light: 300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    --fw-extrabold: 800;
    
    --space-base: 16px;
}

/* === RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: var(--fs-body);
    line-height: var(--lh-normal);
    font-weight: var(--fw-normal);
    color: var(--text-color);
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: var(--fw-bold);
    line-height: var(--lh-tight);
    color: var(--primary-color);
    margin-bottom: calc(var(--space-base) * 0.5);
}

h1 { font-size: var(--fs-h1); font-weight: var(--fw-extrabold); }
h2 { font-size: var(--fs-h2); font-weight: var(--fw-bold); }
h3 { font-size: var(--fs-h3); font-weight: var(--fw-semibold); }
h4 { font-size: var(--fs-h4); font-weight: var(--fw-semibold); }

p {
    font-family: var(--font-secondary);
    font-size: var(--fs-body);
    line-height: var(--lh-relaxed);
    margin-bottom: calc(var(--space-base) * 1);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: var(--fw-medium);
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Navigation */
.nav-menu-2025 a,
.mobile-menu-2025 a,
.main-menu a {
    font-family: var(--font-primary);
    font-weight: var(--fw-medium);
    font-size: var(--fs-body);
}

/* Buttons */
.btn, button, input[type="submit"] {
    font-family: var(--font-primary);
    font-weight: var(--fw-semibold);
    font-size: var(--fs-body);
}

/* Small text */
.small, small {
    font-size: var(--fs-small);
    font-family: var(--font-secondary);
}

/* FORCE WHITE H1 IN ALL HERO SECTIONS */
.news-hero h1,
.news-hero-modern h1,
.news-hero .hero-title-modern,
.category-hero h1,
.category-hero-modern h1,
.category-hero-modern .hero-title-modern,
.hero h1,
.hero-section h1,
.hero-title-2025,
.hero-title-modern {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
    font-weight: 800 !important;
}

/* Additional specificity for modern hero sections */
.news-hero-modern .hero-title-modern,
.category-hero-modern .hero-title-modern {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5) !important;
    font-weight: 800 !important;
}

/* FORCE BLUE H1 ON CONTACTS PAGE */
body.page-template-page-contacts .hero h1,
body.page-template-page-contacts .hero-section h1,
body.page-template-page-contacts .hero-title-2025,
body.page-template-page-contacts .hero-title-modern,
.page-contacts .hero h1,
.page-contacts .hero-section h1,
.page-contacts .hero-title-2025,
.page-contacts .hero-title-modern,
.contacts-hero h1,
.contacts-hero .hero-title-modern {
    color: var(--primary-color) !important;
    text-shadow: none !important;
    font-weight: 800 !important;
}

/* FORCE WHITE TEXT ON HOMEPAGE SPECIFIC ELEMENTS */
.hero-2025 .hero-description-2025,
.hero-2025 .hero-subtitle-2025,
.hero-2025 .hero-title-2025,
.marketplace-cta-title-2025,
.consultation-title-2025,
.consultation-subtitle-2025 {
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3) !important;
}

img {
    max-width: 100%;
    height: auto;
}

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER === */
.top-bar {
    background-color: #1e4d72;
    color: white;
    padding: 3px 0;
    font-size: 12px;
}

/* === MULTI-LEVEL MENU STYLES === */
.main-nav {
    position: relative;
}

/* МОБИЛЬНОЕ МЕНЮ - ПРИНУДИТЕЛЬНОЕ ВКЛЮЧЕНИЕ */

/* ПРИНУДИТЕЛЬНОЕ ВКЛЮЧЕНИЕ КЛИКОВ ДЛЯ ВСЕГО МЕНЮ */
.main-nav *,
.main-menu * {
    pointer-events: auto !important;
}

.main-nav a,
.main-menu a {
    pointer-events: auto !important;
    cursor: pointer !important;
    user-select: auto !important;
}

/* ПРИНУДИТЕЛЬНО ОТКЛЮЧАЕМ ВСЕ БЛОКИРОВКИ */
.main-nav a:hover,
.main-nav a:active,
.main-nav a:focus,
.main-menu a:hover,
.main-menu a:active,
.main-menu a:focus {
    pointer-events: auto !important;
    cursor: pointer !important;
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-nav li {
    position: relative;
    margin: 0 10px;
}

.main-nav a,
.main-menu a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 0;
    display: block;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    font-size: 14px;
    cursor: pointer !important;
    pointer-events: auto !important;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Подменю первого уровня */
.main-nav ul ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 200px;
    box-shadow: var(--shadow-medium);
    border-radius: var(--border-radius);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
    flex-direction: column;
    align-items: stretch;
}

.main-nav li:hover > ul,
.main-nav li > ul.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav ul ul li {
    margin: 0;
    border-bottom: 1px solid var(--border-color);
}

.main-nav ul ul li:last-child {
    border-bottom: none;
}

.main-nav ul ul a {
    padding: 12px 20px;
    color: var(--text-color);
    font-weight: 400;
    border-radius: 0;
    cursor: pointer;
    pointer-events: auto !important;
}

.main-nav ul ul a:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Подменю второго уровня */
.main-nav ul ul ul {
    top: 0;
    left: 100%;
    margin-left: 1px;
    transform: translateX(-10px);
}

.main-nav ul ul li:hover > ul {
    transform: translateX(0);
}

/* Стрелки для подменю */
.main-nav li.menu-item-has-children > a::after {
    content: '▼';
    margin-left: 5px;
    font-size: 10px;
    transition: var(--transition);
}

.main-nav li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

.main-nav ul ul li.menu-item-has-children > a::after {
    content: '▶';
    float: right;
    margin-left: 0;
}

/* Убираем дублирующие мобильные стили */

/* === МОБИЛЬНОЕ МЕНЮ === */
@media (max-width: 768px) {
    /* Показываем кнопку мобильного меню */
    .mobile-menu-toggle {
        display: block !important;
    }
    
    /* Скрываем основное меню */
    .main-nav {
        display: none !important;
    }
    
    /* Показываем мобильное меню при активном состоянии - УДАЛЕНО: дублирует стили ниже */
    
    /* Принудительное скрытие на больших экранах */
    @media (min-width: 769px) {
        .main-nav.active {
            display: none !important;
        }
        
        /* Скрываем кнопку мобильного меню на больших экранах */
        .mobile-menu-toggle {
            display: none !important;
        }
    }
}

/* === DOCUMENT TEMPLATE STYLES === */
.document-template-page {
    padding: 0;
    background-color: var(--white);
}

/* Hero секция */
.document-hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 40px;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 20px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
    min-height: 500px;
}

.document-hero-section::before {
    display: none; /* убираем сетку поверх градиента */
}

.document-hero-left {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.document-hero-left h1 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    word-wrap: break-word;
    hyphens: auto;
}

.document-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--white);
    margin-bottom: 30px;
    font-weight: 400;
    opacity: 0.9;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Блоки с преимуществами */
.benefits-boxes {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.benefit-box {
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 12px;
}

.benefit-box::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #28a745, #20c997);
    border-radius: 50%;
    color: white;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.benefit-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    border-color: rgba(255,255,255,0.6);
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.98) 100%);
}

.benefit-box span {
    color: var(--primary-color);
    font-size: 0.95rem;
    line-height: 1.4;
    font-weight: 600;
    flex: 1;
}

/* Фото документа справа */
.document-photo-right {
    display: flex;
    flex-direction: column; /* цена под фото */
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.document-photo {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 10px 35px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    max-width: 350px;
    width: 100%;
}

.document-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #28a745, #20c997, #17a2b8);
}

.document-photo:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,1);
}

.document-photo-placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #cbd5e0;
    border-radius: 20px;
    padding: 80px 50px;
    text-align: center;
    color: var(--text-light);
    font-size: 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.document-photo-placeholder:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

/* Информация о документе под картинкой */
.document-info-section {
    margin: 30px 0;
    padding: 0 20px;
}

.document-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.document-info-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 25px;
    border-radius: 20px;
    border: 2px solid #e9ecef;
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    overflow: hidden;
}

.document-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
}

.document-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
    border-color: var(--primary-color);
}

.info-icon {
    display: none; /* скрываем иконку мешочка у цены */
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.3rem;
}

.sample-image {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    display: block;
}



/* Форма заявки */
.request-form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    text-align: center;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.request-form-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.request-form-section p {
    color: var(--text-color);
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.request-form {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.form-fields {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    align-items: flex-end;
}

.form-group {
    flex: 1;
}

.form-group input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1.1rem;
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(30, 77, 114, 0.15);
    transform: translateY(-2px);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
    color: var(--white);
    border: none;
    padding: 18px 35px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(30, 77, 114, 0.3);
}

.submit-btn:hover {
    background: linear-gradient(135deg, #164159 0%, #357abd 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 77, 114, 0.4);
}

.form-disclaimer {
    text-align: center;
    margin-top: 20px;
}

.form-disclaimer p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
    font-style: italic;
}

.form-disclaimer p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* FAQ секция */
.faq-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    margin: 40px 0;
}

.faq-left h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 30px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.faq-items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.faq-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 20px 25px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #28a745, #20c997);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #28a745;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item span {
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Правая часть FAQ */
.faq-right h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.question-form {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 2px solid #e9ecef;
}

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

.question-form input,
.question-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1.1rem;
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.question-form input:focus,
.question-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(30, 77, 114, 0.15);
    transform: translateY(-2px);
}

.question-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: var(--white);
    border: none;
    padding: 18px 35px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
    width: 100%;
}

.question-btn:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #1a9f7a 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

.faq-right h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.question-form {
    background: #f8f9fa;
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid #e9ecef;
}

.question-form .form-group {
    margin-bottom: 15px;
}

.question-form input,
.question-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    font-size: 1rem;
    background: var(--white);
}

.question-form input:focus,
.question-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.question-btn {
    background: #f8f9fa;
    color: var(--text-color);
    border: 1px solid #e9ecef;
    padding: 12px 25px;
    border-radius: var(--border-radius);
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.question-btn:hover {
    background: #e9ecef;
}

/* Процесс оформления */
.process-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 60px 0;
    text-align: center;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.process-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.process-step {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px 20px 30px 20px;
    border-radius: 15px;
    border: 2px solid #e9ecef;
    position: relative;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: visible;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-top: 35px;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #4a90e2, #28a745, #ff6b35);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    border-color: var(--primary-color);
}

/* .step-icon убран - используем только .step-number */

.step-number {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), #4a90e2);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(30, 77, 114, 0.3);
    z-index: 3;
}

.process-step h4 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.3;
    position: relative;
    z-index: 2;
}

.process-step p {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    font-weight: 400;
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-conclusion p {
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Контакты */
.contacts-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 40px;
    background: #fff;
    border-radius: 16px;
    margin: 40px 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.contacts-left h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contacts-left p {
    color: var(--text-color);
    font-size: 1.2rem;
    margin: 0;
    line-height: 1.6;
}

/* Контактная информация */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-item {
    display: grid;
    grid-template-columns: 160px 1fr; /* ровное выравнивание колонок */
    align-items: center;
    padding: 18px 22px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e6edf4;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.contact-item:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.08); }

.contact-label {
    color: #5b6b7a;
    font-weight: 700;
    font-size: 1rem;
}

.contact-value {
    color: #1e4d72;
    font-weight: 600;
    font-size: 1.15rem;
}

.contacts-right h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    border: 2px solid #e9ecef;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1.1rem;
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(30, 77, 114, 0.15);
    transform: translateY(-2px);
}

.contact-btn {
    background: linear-gradient(135deg, var(--primary-color) 0%, #4a90e2 100%);
    color: var(--white);
    border: none;
    padding: 18px 35px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 77, 114, 0.3);
    width: 100%;
}

.contact-btn:hover {
    background: linear-gradient(135deg, #164159 0%, #357abd 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(30, 77, 114, 0.4);
}

/* Блок консультации */
.consultation-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    padding: 80px 0;
    text-align: center;
    border-radius: 20px;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.consultation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.consultation-content {
    position: relative;
    z-index: 2;
}

.consultation-section h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.consultation-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.consultation-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 35px;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.phone-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: var(--white);
    border: 2px solid #28a745;
}

.phone-btn:hover {
    background: linear-gradient(135deg, #1e7e34 0%, #1a9f7a 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(40, 167, 69, 0.4);
}

.primary-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--primary-color);
    border: 2px solid #ffffff;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255,255,255,0.3);
}

.btn-icon {
    font-size: 1.3rem;
}

.consultation-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    padding: 30px 25px;
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,0.3);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    min-height: 120px;
    justify-content: center;
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-color: #ffffff;
    background: linear-gradient(135deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.95) 100%);
}

.stat-icon {
    font-size: 3rem;
    flex-shrink: 0;
    margin-bottom: 5px;
}

.stat-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

/* Хлебные крошки */
.breadcrumbs {
    padding: 20px 0;
    margin-bottom: 30px;
    font-size: 0.95rem;
}

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

.breadcrumbs a:hover {
    color: #164159;
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: var(--text-light);
}

.breadcrumbs .current {
    color: var(--text-color);
    font-weight: 600;
}

/* Основной контент документа */
.document-main-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 60px 0;
    text-align: left;
    border-radius: 20px;
    margin: 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

.document-main-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.document-main-content p {
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
}

/* Адаптивность для шаблона документа */
@media (max-width: 768px) {
    .document-hero-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 20px;
        min-height: auto;
        text-align: center;
    }
    
    .document-hero-left h1 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 15px;
    }
    
    .document-description {
        text-align: center;
    }
    
    .document-photo {
        max-width: 280px;
        padding: 20px;
    }
    
    .request-form-section {
        padding: 30px 20px;
    }
    
    .form-fields {
        flex-direction: column;
        gap: 15px;
    }
    
    .faq-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .process-step {
        min-height: 160px;
        padding: 40px 20px 25px 20px;
        margin-top: 30px;
    }
    
    .step-number {
        top: -25px;
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .contacts-section {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px 20px;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .contact-label {
        min-width: auto;
    }
    
    .breadcrumbs {
        padding: 15px 20px;
        font-size: 0.9rem;
    }
    
    .content-wrapper {
        padding: 0 20px;
        max-width: 100%;
    }
    
    .document-main-content {
        padding: 30px 20px;
    }
    
    .document-info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .consultation-section {
        padding: 50px 20px;
    }
    
    .consultation-section h2 {
        font-size: 2rem;
    }
    
    .consultation-buttons {
        flex-direction: column;
        gap: 20px;
    }
    
    .consultation-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        min-height: 100px;
        padding: 25px 20px;
    }
    
    .stat-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .consultation-stats {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 500px;
    }
}

@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 400px;
    }
    
    .process-step {
        min-height: 140px;
        padding: 35px 15px 20px 15px;
        margin-top: 25px;
    }
    
    .step-number {
        top: -22px;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .process-step h4 {
        font-size: 1rem;
    }
    
    .process-step p {
        font-size: 0.9rem;
    }
    
    .document-hero-left h1 {
        font-size: 1.8rem;
    }
    
    .request-form-section h2 {
        font-size: 1.8rem;
    }
    
    .faq-section h2,
    .process-section h2,
    .contacts-section h2 {
        font-size: 1.8rem;
    }
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-contact-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.contact-separator {
    color: rgba(255,255,255,0.6);
    font-size: 10px;
    margin: 0 2px;
}

.header-contact-info a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    font-size: 12px;
    line-height: 1;
    display: inline-block;
}

.city-selector select {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 13px;
    line-height: 1.2;
    min-width: 180px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-selector select:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
}

.city-selector select:focus {
    outline: none;
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.15);
}

.city-selector select option {
    background: #1e4d72;
    color: white;
}

.contact-info a:hover {
    opacity: 0.8;
}

.header {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    color: #1e4d72;
    text-decoration: none;
}

.logo::before {
    content: "🏛️";
    margin-right: 8px;
    font-size: 28px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.main-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 8px 0;
    transition: color 0.3s ease;
    font-size: 14px;
}

.main-nav a:hover {
    color: #1e4d72;
}

/* Показываем навигацию на десктопе, скрываем кнопку меню */
.main-nav {
    display: block !important;
}

.mobile-menu-toggle {
    display: none;
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.2) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.2) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero .subtitle {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hero .description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    cursor: pointer;
}

.hero .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.hero .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

.hero .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.hero .btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

/* === BUTTONS === */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #1e4d72;
    color: white;
}

.btn-primary:hover {
    background-color: #164159;
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: white;
    color: #1e4d72;
    border: 2px solid #1e4d72;
}

.btn-secondary:hover {
    background-color: #1e4d72;
    color: white;
    text-decoration: none;
}

/* === SECTIONS === */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: #1e4d72;
    margin-bottom: 60px;
    font-weight: 700;
}

/* === SERVICES SECTION === */
.services {
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.service-card .icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 20px;
    color: #1e4d72;
    margin-bottom: 15px;
    font-weight: 600;
}

.service-card p {
    color: #666;
    line-height: 1.6;
}

/* === ADVANTAGES SECTION === */
.advantages {
    background: var(--white);
    position: relative;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.advantages .container {
    position: relative;
    z-index: 2;
}

.advantages .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    position: relative;
}

.advantages .section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    border-radius: 2px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 0;
}

.advantage-item {
    background: var(--white);
    padding: 40px 25px;
    text-align: center;
    position: relative;
    border-right: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.advantage-item:nth-child(3n) {
    border-right: none;
}

.advantage-item:nth-child(n+4) {
    border-bottom: none;
}

.advantage-item .icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-color);
    opacity: 0.9;
}

.advantage-item h4 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.advantage-item p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.85;
}

/* === PROCESS SECTION === */
.process {
    background-color: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step .step-number {
    width: 50px;
    height: 50px;
    background-color: #1e4d72;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h4 {
    font-size: 16px;
    color: #1e4d72;
    margin-bottom: 10px;
    font-weight: 600;
}

.process-step p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* === FAQ SECTION - ИСПРАВЛЯЕМ БАГ === */
.faq {
    background-color: #f8f9fa;
}

.faq .container {
    max-width: 800px;
}

.faq-item {
    background: var(--white);
    margin-bottom: 20px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-medium);
}

.faq-question {
    padding: 25px 30px;
    background-color: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-question:hover {
    background-color: var(--secondary-color);
}

.faq-answer {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.7;
    display: none;
    font-size: 16px;
    border-top: 1px solid var(--border-color);
    margin-top: 0;
}

.faq-answer.show {
    display: block;
}

/* === FORMS === */
.application-form {
    background-color: #e9ecef;
}

.form-content h2 {
    text-align: center;
    font-size: 32px;
    color: #1e4d72;
    margin-bottom: 20px;
    font-weight: 700;
}

.form-content p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 16px;
}

.consultation-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 20px;
    margin-bottom: 30px;
}

.form-row input,
.form-row textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    background: white;
    font-family: inherit;
}

.form-row textarea {
    resize: vertical;
    min-height: 80px;
}

.form-submit {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.form-note {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

/* === СОВРЕМЕННЫЙ ФУТЕР === */
.footer {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    padding: 50px 0 25px;
    position: relative;
    overflow: hidden;
}

.footer::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="footerPattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23footerPattern)"/></svg>');
    pointer-events: none;
}

.footer-contacts {
    margin-bottom: 40px;
    padding: 0;
    border-bottom: 2px solid rgba(255,255,255,0.15);
    padding-bottom: 40px;
    position: relative;
    z-index: 2;
}

.footer-contacts .contact-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-contacts .contact-item {
    background: rgba(255,255,255,0.08);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: left;
    transition: all 0.4s ease;
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.footer-contacts .contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s ease;
}

.footer-contacts .contact-item:hover::before {
    left: 100%;
}

.footer-contacts .contact-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.2);
}

.footer-contacts .contact-item strong {
    display: block;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1.2;
    min-height: 20px;
}

.footer-contacts .contact-item a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

.footer-contacts .contact-item a:hover {
    color: rgba(255,255,255,0.8);
    text-decoration: underline;
}

.footer-contacts .contact-item:not(:has(a)) {
    color: white;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.4;
    flex-grow: 1;
    display: flex;
    align-items: flex-start;
}

/* Баннер информации о компании */
.company-info-banner { display: none; }

.company-info-content h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.company-info-content p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 20px;
    line-height: 1.6;
}

.company-contacts {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.company-contacts span {
    background: rgba(255,255,255,0.2);
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
}

.company-contacts strong {
    margin-right: 5px;
}

/* Price/validity under document image */
.document-info-under-photo {
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.document-info-under-photo .document-info-item {
    background: #f8f9fa;
    border: 1px solid #e1e8ed;
    border-radius: 12px;
    padding: 12px 14px;
}

.footer .container {
    text-align: center;
    position: relative;
    z-index: 2;
}

/* НАВИГАЦИЯ ФУТЕРА - КОМПАКТНАЯ ОДНА СТРОКА */
.footer-nav {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    background: rgba(0,0,0,0.3);
    padding: 10px 15px;
    border-radius: 35px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.2);
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
}

.footer-nav::-webkit-scrollbar {
    display: none;
}

.footer-nav ul {
    display: flex !important;
    gap: 5px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    width: 100% !important;
}

.footer-nav ul li {
    flex-shrink: 0;
}

.footer-nav a,
.footer-nav ul li a {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    font-weight: 600 !important;
    font-size: 0.75rem !important;
    padding: 5px 10px !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.15) !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    backdrop-filter: blur(5px) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
    white-space: nowrap !important;
    display: block !important;
    min-width: auto !important;
}

.footer-nav a:hover,
.footer-nav ul li a:hover {
    color: #ffffff !important;
    background: rgba(255,255,255,0.2) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
    border-color: rgba(255,255,255,0.25) !important;
}

.copyright {
    border-top: 2px solid rgba(255,255,255,0.15);
    padding-top: 30px;
    opacity: 0.8;
    font-size: 14px;
    background: rgba(0,0,0,0.1);
    margin: 0 -20px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 0;
}

/* Адаптивность футера */
@media (max-width: 1024px) {
    .footer-contacts .contact-info {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-contacts .contact-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-contacts .contact-item {
        padding: 25px 15px;
        min-height: 100px;
    }
    
    .footer-contacts .contact-item strong {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .footer-contacts .contact-item a,
    .footer-contacts .contact-item:not(:has(a)) {
        font-size: 0.9rem;
    }
    
    .footer-nav {
        gap: 5px !important;
        margin-bottom: 30px !important;
        padding: 10px 15px !important;
        flex-wrap: wrap !important;
        border-radius: 25px !important;
        max-width: 95% !important;
    }
    
    .footer-nav ul {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important;
    }
    
    .footer-nav a,
    .footer-nav ul li a {
        padding: 5px 10px !important;
        font-size: 0.75rem !important;
        border-radius: 15px !important;
    }
    
    .copyright {
        font-size: 13px;
        padding-top: 25px;
    }
}

/* === PRICING SECTION (для шаблонов с ценами) === */
.pricing-section {
    background-color: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
    border: 3px solid #1e4d72;
    position: relative;
}

.pricing-card.featured::before {
    content: "Популярный";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e4d72;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 24px;
    color: #1e4d72;
    margin-bottom: 10px;
    font-weight: 600;
}

.pricing-card .price {
    font-size: 32px;
    color: #1e4d72;
    font-weight: 700;
    margin-bottom: 5px;
}

.pricing-card .price-note {
    color: #666;
    font-size: 14px;
    margin-bottom: 30px;
}

.pricing-card ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.pricing-card li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 25px;
}

.pricing-card li::before {
    content: "✓";
    color: #1e4d72;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* === ORDER FORM === */
.order-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: 40px;
}

.order-form h3 {
    color: #1e4d72;
    margin-bottom: 30px;
    text-align: center;
    font-size: 24px;
}

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

.order-form label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

.order-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero .subtitle {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Скрываем основную навигацию в мобильной версии */
    .header .main-nav {
        display: none !important;
    }
    
    .header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding: 8px 15px;
    }
    
    .top-bar .container {
        flex-direction: row;
        gap: 10px;
        padding: 0 10px;
    }
    
    .header-contact-info {
        gap: 6px;
    }
    
    .city-selector select {
        padding: 2px 6px;
        font-size: 11px;
    }
    
    .header-contact-info a {
        font-size: 11px;
    }
    
    .contact-separator {
        font-size: 10px;
        margin: 0 2px;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .logo::before {
        font-size: 24px;
        margin-right: 6px;
    }
    
    /* Компактное мобильное меню */
    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }
    
    .mobile-menu-toggle span {
        display: block;
        width: 20px;
        height: 2px;
        background-color: #333;
        margin: 3px 0;
        transition: 0.3s;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    /* Скрываем основное меню на мобильных по умолчанию */
    .main-nav {
        display: none !important;
    }
    
    /* Сброс обычного поведения подменю для мобильной версии */
    
    /* Показываем мобильное меню при активации */
    .main-nav.active {
        display: block !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 60px 15px 20px;
        overflow-y: auto;
        transform: translateX(0);
        transition: transform 0.3s ease;
        pointer-events: auto !important; /* Принудительно разрешаем клики */
        cursor: pointer; /* Показываем курсор */
    }
    
    /* Добавляем overlay для затемнения фона */
    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 999;
        transition: opacity 0.3s ease;
        pointer-events: none; /* Разрешаем клики через overlay */
    }
    
    .main-nav.active ul {
        flex-direction: column;
        gap: 0;
    }
    
    .main-nav.active li {
        border-bottom: none;
    }
    
    .main-nav.active a {
        padding: 12px 0;
        font-size: 15px;
        color: #333;
        border-bottom: 1px solid rgba(0,0,0,0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: auto !important; /* Принудительно разрешаем клики */
        cursor: pointer; /* Показываем курсор */
        user-select: auto; /* Разрешаем выделение текста */
    }
    
    .main-nav.active a:last-child {
        border-bottom: none;
    }
    
    /* Подменю в мобильном меню - скрыты по умолчанию */
    .main-nav.active ul ul {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.05);
        margin-left: 15px;
        margin-top: 5px;
        border-radius: 8px;
        min-width: auto;
        transition: all 0.3s ease;
    }
    
    .main-nav.active ul ul.show {
        display: block !important;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .main-nav.active ul ul a {
        padding: 10px 15px;
        font-size: 14px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        pointer-events: auto !important; /* Принудительно разрешаем клики */
        cursor: pointer; /* Показываем курсор */
        user-select: auto; /* Разрешаем выделение текста */
    }
    
    /* Стрелка для пунктов с подменю */
    .main-nav.active .menu-item-has-children > a::after {
        content: '▶';
        font-size: 12px;
        transition: transform 0.3s ease;
        pointer-events: none; /* Стрелка не должна блокировать клики */
    }
    
    .main-nav.active .menu-item-has-children.open > a::after {
        transform: rotate(90deg);
    }
    
    /* Принудительно разрешаем клики по всему мобильному меню */
    .main-nav.active,
    .main-nav.active * {
        pointer-events: auto !important;
    }
    
    /* Исключение для стрелок и декоративных элементов */
    .main-nav.active .menu-item-has-children > a::after,
    .main-nav.active .menu-item-has-children.open > a::after {
        pointer-events: none !important;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-submit {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
    
    .order-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

/* === WHAT WE CERTIFY SECTION === */
.what-we-certify {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #f0f2f5 100%);
}

.certification-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.category-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 30px;
    transition: var(--transition);
    border-top: 4px solid var(--category-color);
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--category-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.category-icon {
    font-size: 32px;
    width: 60px;
    height: 60px;
    background: var(--category-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-header h3 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.category-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-items li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
    line-height: 1.4;
}

.category-items li::before {
    content: "✓";
    color: var(--category-color);
    font-weight: 700;
    position: absolute;
    left: 0;
    font-size: 14px;
}

/* === CERTIFICATION PROCESS === */
.certification-process {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e3e6ea 100%);
    position: relative;
    overflow: hidden;
}

.certification-process::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(30,77,114,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.certification-process .container {
    position: relative;
    z-index: 2;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.process-step {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    text-align: center;
    position: relative;
    transition: var(--transition);
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-color);
}

.process-step .step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(30, 77, 114, 0.3);
    z-index: 3;
}

.process-step .icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: block;
    color: var(--primary-color);
}

.process-step h3 {
    color: var(--primary-color);
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    padding-top: 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* === TESTIMONIALS SECTION - ДЕЛАЕМ КРАСИВЕЕ === */
.testimonials {
    background: linear-gradient(135deg, var(--accent-color) 0%, #e3e6ea 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(30,77,114,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    z-index: 1;
}

.testimonials .container {
    position: relative;
    z-index: 2;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    padding: 35px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(30, 77, 114, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-hover));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.testimonial-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
}

.testimonial-avatar {
    font-size: 45px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--white);
    box-shadow: 0 6px 20px rgba(30, 77, 114, 0.3);
    position: relative;
}

.testimonial-avatar::after {
    content: '"';
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 24px;
    color: var(--primary-color);
    background: var(--white);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.testimonial-info h4 {
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.testimonial-info .industry {
    color: var(--text-light);
    font-size: 14px;
    margin: 0;
    font-style: italic;
    background: var(--secondary-color);
    padding: 4px 12px;
    border-radius: 15px;
    display: inline-block;
}

.testimonial-rating {
    margin-left: auto;
    display: flex;
    gap: 2px;
}

.testimonial-rating .star {
    font-size: 18px;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.testimonial-rating .star.filled {
    opacity: 1;
    color: #ffc107;
    text-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.testimonial-text {
    margin-bottom: 25px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.1;
    position: absolute;
    top: -20px;
    left: -10px;
    font-family: serif;
}

.testimonial-text p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.7;
    font-style: italic;
    margin: 0;
    padding-left: 20px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 20px;
    border-top: 2px solid var(--border-color);
}

.testimonial-author strong {
    color: var(--primary-color);
    font-size: 16px;
    font-weight: 600;
}

.testimonial-author span {
    color: var(--text-light);
    font-size: 14px;
    font-weight: 500;
}

.testimonials-cta {
    text-align: center;
    margin-top: 60px;
    padding: 50px;
    background: linear-gradient(135deg, var(--white), var(--secondary-color));
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    border: 2px solid rgba(30, 77, 114, 0.1);
}

.testimonials-cta p {
    color: var(--text-light);
    font-size: 20px;
    margin-bottom: 30px;
    font-weight: 500;
}

.testimonials-cta .btn {
    padding: 18px 40px;
    font-size: 18px;
    box-shadow: 0 6px 25px rgba(30, 77, 114, 0.3);
}



/* === RESPONSIVE DESIGN FOR NEW SECTIONS === */
@media (max-width: 1200px) {
    .process-timeline {
        max-width: 900px; /* Уменьшили с 1000px */
    }
    
    .step-content {
        max-width: 350px; /* Уменьшили с 400px */
    }
}

@media (max-width: 992px) {
    .process-timeline {
        max-width: 700px; /* Уменьшили с 800px */
    }
    
    .step-content {
        max-width: 320px; /* Уменьшили с 350px */
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .certification-categories {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-card {
        padding: 25px 20px;
    }
    
    .category-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .process-timeline::before {
        left: 25px; /* Уменьшили с 30px */
    }
    
    .timeline-step:nth-child(odd),
    .timeline-step:nth-child(even) {
        text-align: left;
        padding-left: 50px; /* Уменьшили с 60px */
        padding-right: 0;
    }
    
    .timeline-step:nth-child(odd) .step-content,
    .timeline-step:nth-child(even) .step-content {
        margin-left: 0;
        margin-right: 0;
        max-width: none;
    }
    
    .timeline-step:nth-child(odd) .step-content::before,
    .timeline-step:nth-child(even) .step-content::before {
        left: -50px; /* Уменьшили с -60px */
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .testimonial-rating {
        margin: 0;
        justify-content: center;
        display: flex;
    }
    
    .testimonials-cta {
        padding: 40px 25px;
    }
    
    .testimonials-cta p {
        font-size: 18px;
    }
    
    .contact-cta {
        padding: 40px 0; /* Уменьшили с 50px */
    }
    
    .contact-cta h2 {
        font-size: 28px; /* Уменьшили с 32px */
    }
    
    .contact-cta p {
        font-size: 15px; /* Уменьшили с 16px */
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Уменьшили с 220px */
        gap: 20px; /* Уменьшили с 25px */
        margin-top: 30px; /* Уменьшили с 40px */
    }
}

@media (max-width: 576px) {
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .category-header h3 {
        font-size: 18px;
    }
    
    .step-content {
        padding: 20px 15px; /* Уменьшили с 25px 20px */
    }
    
    .step-number {
        width: 28px; /* Уменьшили с 35px */
        height: 28px; /* Уменьшили с 35px */
        font-size: 11px; /* Уменьшили с 12px */
        top: -14px; /* Уменьшили с -17px */
        left: 18px; /* Уменьшили с 20px */
    }
    
    .step-icon {
        font-size: 22px; /* Уменьшили с 24px */
    }
    
    .step-content h4 {
        font-size: 16px; /* Уменьшили с 18px */
    }
    
    .testimonial-avatar {
        width: 60px;
        height: 60px;
        font-size: 36px;
    }
    
    .testimonial-info h4 {
        font-size: 18px;
    }
    
    .testimonials-cta {
        padding: 30px 20px;
    }
    
    .testimonials-cta p {
        font-size: 16px;
    }
    
    .contact-cta {
        padding: 30px 0; /* Уменьшили с 40px */
    }
    
    .contact-cta h2 {
        font-size: 24px; /* Уменьшили с 28px */
    }
    
    .contact-cta p {
        font-size: 14px; /* Уменьшили с 15px */
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Уменьшили с 180px */
        gap: 15px; /* Уменьшили с 20px */
        margin-top: 25px; /* Уменьшили с 30px */
    }
    
    .contact-item {
        padding: 15px 10px; /* Уменьшили с 20px 15px */
    }
    
    .contact-item .icon {
        font-size: 24px; /* Уменьшили с 28px */
    }
    
    .contact-item h4 {
        font-size: 14px; /* Уменьшили с 16px */
    }
    
    .contact-item p {
        font-size: 12px; /* Уменьшили с 14px */
    }
}

/* === CONTACT CTA - ДЕЛАЕМ КОМПАКТНЕЕ === */
.contact-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 50px 0; /* Уменьшили с 80px */
}

.contact-cta::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="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.contact-cta .container {
    position: relative;
    z-index: 2;
}

.contact-cta h2 {
    font-size: 32px; /* Уменьшили с 36px */
    margin-bottom: 15px; /* Уменьшили с 20px */
    font-weight: 700;
}

.contact-cta p {
    font-size: 16px; /* Уменьшили с 18px */
    margin-bottom: 30px; /* Уменьшили с 40px */
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); /* Уменьшили с 250px */
    gap: 25px; /* Уменьшили с 40px */
    margin-top: 40px; /* Уменьшили с 60px */
}

.contact-item {
    text-align: center;
    padding: 20px 15px; /* Уменьшили с 30px 20px */
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px); /* Уменьшили с -5px */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.contact-item .icon {
    font-size: 28px; /* Уменьшили с 36px */
    margin-bottom: 10px; /* Уменьшили с 15px */
    display: block;
}

.contact-item h4 {
    font-size: 16px; /* Уменьшили с 18px */
    margin-bottom: 8px; /* Уменьшили с 10px */
    font-weight: 600;
}

.contact-item p {
    opacity: 0.9;
    margin: 0;
    font-size: 14px; /* Уменьшили с 16px */
}

/* === RESPONSIVE FOR ADVANTAGES === */
@media (max-width: 992px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantage-item:nth-child(3n) {
        border-right: 1px solid var(--border-color);
    }
    
    .advantage-item:nth-child(2n) {
        border-right: none;
    }
    
    .advantage-item:nth-child(n+5) {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .advantage-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding: 30px 20px;
    }
    
    .advantage-item:last-child {
        border-bottom: none;
    }
    
    .advantages .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

/* ===== СТРАНИЦА КОНТАКТОВ ===== */
.contacts-page {
    padding: 0;
}

.contacts-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Хлебные крошки */
.breadcrumbs {
    margin-bottom: 40px;
    font-size: 16px;
    line-height: 1.5;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: var(--text-secondary);
}

.breadcrumbs .current {
    color: var(--text-secondary);
    font-weight: 600;
}

/* Hero-зона */
.hero-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 20px;
}

.hero-section h1 {
    font-size: 3rem;
    color: white !important;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Контактная информация в три колонки */
.contact-info-section {
    margin-bottom: 40px;
    padding: 40px 20px;
}

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

.contact-card {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card .contact-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.contact-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.contact-card a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

/* Форма и карта в одну линию */
.form-map-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
    align-items: start;
}

/* Прайс-лист */
.pricelist-page {
    padding: 40px 0;
}

.pricelist-page .page-header {
    text-align: center;
    margin-bottom: 40px;
}

.pricelist-page .page-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pricelist-page .page-header .subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 600px;
    margin: 0 auto;
}

.pricelist-description {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

.pricelist-description p {
    margin: 0;
    color: var(--text-color);
    font-size: 1.1rem;
}

/* Таблица прайс-листа */
.pricelist-table-container {
    margin-bottom: 50px;
    overflow-x: auto;
}

.pricelist-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pricelist-table thead {
    background: var(--primary-color);
    color: white;
}

.pricelist-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
    font-size: 1.1rem;
}

.pricelist-table .service-name {
    width: 70%;
}

.pricelist-table .service-price {
    width: 30%;
    text-align: center;
}

.pricelist-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.pricelist-table tbody tr:hover {
    background: var(--light-bg);
}

.pricelist-table td {
    padding: 20px;
    vertical-align: top;
}

.pricelist-table .service-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: color 0.2s;
}

.pricelist-table .service-link:hover {
    color: var(--primary-color);
}

.pricelist-table .service-title {
    display: block;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.pricelist-table .price-value {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.pricelist-table .no-services {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.pricelist-table .no-services p {
    margin: 0;
    font-size: 1.1rem;
}

/* Информационные блоки */
.pricelist-info {
    margin-bottom: 50px;
}

.pricelist-info .info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricelist-info .info-card {
    background: white;
    padding: 30px 25px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.pricelist-info .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.pricelist-info .info-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.pricelist-info .info-card h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pricelist-info .info-card p {
    color: var(--text-color);
    line-height: 1.5;
    margin: 0;
}

/* CTA блок */
.pricelist-cta {
    text-align: center;
    background: var(--light-bg);
    padding: 50px 30px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.pricelist-cta h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.pricelist-cta p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.pricelist-cta .cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricelist-cta .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    display: inline-block;
}

.pricelist-cta .btn-primary {
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
}

.pricelist-cta .btn-primary:hover {
    background: transparent;
    color: var(--primary-color);
}

.pricelist-cta .btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.pricelist-cta .btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

/* Основные шаблоны страниц */
.page-content,
.single-content {
    padding: 40px 0;
}

/* Переопределяем контейнер для страниц записей */
.single-content .container {
    max-width: 1400px !important;
    padding: 0 20px !important;
}

/* Новый дизайн страницы записи с сайдбаром */
.single-page-wrapper {
    display: grid !important;
    grid-template-columns: 3fr 1fr !important;
    gap: 50px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
}

.page-article,
.single-article {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e0e6ed;
    line-height: 1.8;
}

/* Изображение записи */
.single-featured-image {
    margin: 30px 0;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.single-featured-image .featured-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.single-featured-image:hover .featured-img {
    transform: scale(1.02);
}

/* Сайдбар */
.single-sidebar {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
}

/* Виджеты сайдбара */
.sidebar-widget {
    background: white !important;
    border-radius: 12px !important;
    padding: 25px !important;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1) !important;
    border: 1px solid #e0e6ed !important;
    margin-bottom: 20px !important;
}

.widget-title {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
    font-weight: 600;
}

/* Блок связанных статей */
.related-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-post-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.related-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.related-post-link {
    display: flex;
    gap: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    padding: 10px;
    border-radius: 8px;
}

.related-post-link:hover {
    background: var(--light-bg);
    transform: translateX(5px);
    text-decoration: none;
}

.related-post-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
}

.related-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-post-content {
    flex: 1;
}

.related-post-title {
    font-size: 0.95rem;
    margin: 0 0 5px 0;
    line-height: 1.3;
    color: var(--text-color);
    font-weight: 500;
}

.related-post-link:hover .related-post-title {
    color: var(--primary-color);
}

.related-post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Рекламный блок СертЦентр */
.advertising-widget {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

.cert-center-ad {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef) !important;
    border: 2px solid #3498db !important;
    border-radius: 12px !important;
    padding: 0 !important;
    overflow: hidden !important;
    display: block !important;
    visibility: visible !important;
    position: relative !important;
    z-index: 5 !important;
}

.ad-header {
    background: #1e4d72 !important;
    color: white !important;
    padding: 20px !important;
    text-align: center !important;
    display: block !important;
    visibility: visible !important;
}

.ad-title {
    font-size: 1.5rem !important;
    margin: 0 0 5px 0 !important;
    font-weight: 700 !important;
    color: white !important;
    display: block !important;
}

.ad-subtitle {
    margin: 0 !important;
    font-size: 1rem !important;
    opacity: 0.9 !important;
    color: white !important;
    display: block !important;
}

.ad-content {
    padding: 20px !important;
    display: block !important;
    visibility: visible !important;
}

.ad-description {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
    color: #2c3e50 !important;
    text-align: center !important;
    display: block !important;
}

.ad-contacts {
    margin-bottom: 20px !important;
    display: block !important;
}

.contact-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-bottom: 12px !important;
    padding: 8px !important;
    border-radius: 6px !important;
    transition: background 0.2s !important;
}

.contact-item:hover {
    background: rgba(52, 152, 219, 0.1) !important;
}

.contact-icon {
    font-size: 1.2rem !important;
    width: 25px !important;
    text-align: center !important;
    display: inline-block !important;
}

.contact-link {
    color: #1e4d72 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    transition: color 0.2s !important;
}

.contact-link:hover {
    color: #2980b9 !important;
    text-decoration: underline !important;
}

.contact-text {
    color: #2c3e50 !important;
    font-size: 0.9rem !important;
}

.ad-cta {
    text-align: center !important;
    display: block !important;
}

.ad-button {
    display: inline-block !important;
    background: #1e4d72 !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    border: 2px solid #1e4d72 !important;
}

.ad-button:hover {
    background: transparent !important;
    color: #1e4d72 !important;
    text-decoration: none !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3) !important;
}

/* Адаптивность */
@media (max-width: 768px) {
    .single-page-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .single-article {
        padding: 20px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    .related-post-link {
        padding: 8px;
    }
    
    .related-post-thumb {
        width: 50px;
        height: 50px;
    }
    
    .ad-content {
        padding: 15px;
    }
}

/* Заголовки страниц */
.page-header,
.single-header {
    text-align: left;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 3px solid #3498db;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 8px;
    margin: -10px -10px 40px -10px;
}

.page-title,
.single-title {
    font-size: 2.2rem;
    color: #2c3e50;
    margin: 0;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Стили для категорий */
.entry-categories {
    margin-top: 15px;
}

.category-link {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin-right: 10px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.category-link:hover {
    background: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
    text-decoration: none;
    color: white;
}

/* Обертка контента */
.page-content-wrapper,
.single-content-wrapper {
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    margin-bottom: 40px;
}

/* Красивая обработка текста */
.entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #2c3e50;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    color: #2c3e50;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
}

.entry-content h1 {
    font-size: 2rem;
    border-bottom: 3px solid #3498db;
    padding-bottom: 12px;
    color: #2c3e50;
}

.entry-content h2 {
    font-size: 1.7rem;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
    color: #2c3e50;
}

.entry-content h3 {
    font-size: 1.5rem;
}

.entry-content h4 {
    font-size: 1.3rem;
}

.entry-content h5,
.entry-content h6 {
    font-size: 1.1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
    word-wrap: break-word;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.8rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.8rem;
    line-height: 1.7;
}

.entry-content ul li {
    position: relative;
}

.entry-content ul li::before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: -1.2rem;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-muted);
    background: var(--light-bg);
    padding: 20px;
    border-radius: 0 8px 8px 0;
}

.entry-content blockquote p {
    margin: 0;
    font-size: 1.1rem;
}

.entry-content a {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s;
}

.entry-content a:hover {
    color: var(--secondary-color);
}

.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.entry-content table th,
.entry-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.entry-content table th {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.entry-content table tr:hover {
    background: var(--light-bg);
}

.entry-content code {
    background: var(--light-bg);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.entry-content pre {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--border-color);
}

.entry-content pre code {
    background: none;
    padding: 0;
    color: var(--text-color);
}

/* Блог статьи */
.blog-article {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.blog-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.blog-article .entry-header {
    margin-bottom: 20px;
}

.blog-article .entry-title {
    font-size: 1.5rem;
    margin: 0 0 15px 0;
}

.blog-article .entry-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-article .entry-title a:hover {
    color: var(--secondary-color);
}

.blog-article .entry-content {
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
}

.blog-article .read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.blog-article .read-more:hover {
    color: var(--secondary-color);
}

/* Навигация по записям */
.post-navigation {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--border-color);
}

.post-navigation .nav-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    flex: 1;
}

.post-navigation a {
    display: block;
    padding: 15px 20px;
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}

.post-navigation a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.post-navigation .nav-next {
    text-align: right;
}

/* Стили для рубрик */
.entry-categories {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.category-link {
    display: inline-block;
    padding: 5px 12px;
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.category-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.single-header .entry-categories {
    margin-top: 20px;
}

.blog-article .entry-categories {
    margin-top: 10px;
    justify-content: flex-start;
}

/* Форма обратной связи */
.contact-form-section {
    padding: 40px 20px;
}

.contact-form-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.5;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.5;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    width: 100%;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--primary-color);
    color: white;
}

.contact-form .btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

/* Форма обратной связи */
.contact-form-section {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 18px;
    max-width: 100%;
}

.contact-form-section h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 18px;
    text-align: center;
}

.contact-form {
    display: grid;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 8px 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 0.85rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.contact-form .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    justify-self: center;
    min-width: 120px;
}

/* Карта */
.map-section {
    padding: 40px 20px;
}

.map-section h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.map-container {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dynamic-map {
    width: 100%;
    height: 400px;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-secondary);
}

.map-placeholder {
    text-align: center;
    padding: 20px;
    width: 100%;
}

.map-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.map-placeholder h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.map-placeholder p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.map-coordinates {
    margin-bottom: 20px;
}

.coordinate-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.coordinate-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.coordinate-value {
    font-size: 14px;
    color: var(--primary-color);
    font-weight: 600;
}

.map-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.map-btn {
    padding: 10px 15px;
    font-size: 14px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.map-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Дополнительная информация */
.additional-info {
    padding: 40px 20px;
}

.additional-info h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
}

.info-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.info-card p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contacts-page .container {
        padding: 15px;
    }
    
    .hero-section {
        padding: 30px 15px;
        margin-bottom: 30px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .contact-info-section,
    .contact-form-section,
    .map-section,
    .additional-info {
        margin-bottom: 30px;
        padding: 30px 15px;
    }
    
    .form-map-row {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 30px;
    }
    
    .pricelist-page .page-header h1 {
        font-size: 2rem;
    }
    
    .pricelist-table th,
    .pricelist-table td {
        padding: 15px 10px;
    }
    
    .pricelist-table .service-name {
        width: 60%;
    }
    
    .pricelist-table .service-price {
        width: 40%;
    }
    
    .pricelist-info .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricelist-cta {
        padding: 30px 20px;
    }
    
    .pricelist-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* Адаптивность для основных шаблонов */
    .page-title,
    .single-title {
        font-size: 2rem;
    }
    
    .page-content-wrapper,
    .single-content-wrapper {
        padding: 25px 20px;
    }
    
    .entry-content {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .entry-content h1 {
        font-size: 1.7rem;
    }
    
    .entry-content h2 {
        font-size: 1.5rem;
    }
    
    .entry-content h3 {
        font-size: 1.3rem;
    }
    
    .blog-article {
        padding: 20px;
    }
    
    .post-navigation .nav-links {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Адаптивность для рубрик */
    .entry-categories {
        gap: 8px;
    }
    
    .category-link {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
    
    /* Адаптивность для главной страницы новостей */
    .news-hero .hero-title {
        font-size: 2rem;
    }
    
    .news-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .news-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .popular-articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .latest-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cta-form {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-input,
    .cta-submit {
        width: 100%;
        max-width: 300px;
    }
    
    /* Мобильные устройства */
    @media (max-width: 767px) {
        .news-hero {
            padding: 40px 20px;
        }
        
        .news-hero .hero-title {
            font-size: 1.8rem;
        }
        
        .news-hero .hero-subtitle {
            font-size: 0.95rem;
        }
        
        .popular-articles-grid {
            grid-template-columns: 1fr;
            gap: 20px;
        }
        
        .latest-article-card {
            flex-direction: column;
            gap: 15px;
        }
        
        .latest-article-card .article-thumbnail {
            width: 100%;
            height: 150px;
        }
        
        .cta-section {
            padding: 40px 20px;
        }
        
        .cta-title {
            font-size: 2rem;
        }
        
        .cta-text {
            font-size: 1rem;
        }
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

/* Главная страница новостей */
.news-main-page {
    padding: 40px 0;
}

.news-main-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.news-hero {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 12px;
}

.news-hero .hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.news-hero .hero-subtitle {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    opacity: 0.9;
}

/* Обертка контента */
.news-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-bottom: 60px;
}

/* Основной контент */
.news-main-content {
    min-width: 0;
}

/* Заголовки секций */
.section-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

/* Популярные статьи */
.popular-articles-section {
    margin-bottom: 60px;
}

.popular-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.popular-article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    min-height: 400px;
    display: flex;
    flex-direction: column;
}

.popular-article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.popular-article-card .article-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.popular-article-card .thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.popular-article-card:hover .thumbnail-image {
    transform: scale(1.05);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    background: var(--light-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--text-muted);
}

.thumbnail-placeholder.small {
    height: 80px;
    font-size: 1.5rem;
}

.popular-article-card .article-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.popular-article-card .article-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.popular-article-card .article-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.popular-article-card .article-title a:hover {
    color: var(--secondary-color);
}

.popular-article-card .article-excerpt {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
    align-self: flex-start;
    margin-top: auto;
}

.read-more-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Последние статьи */
.latest-articles-section {
    margin-bottom: 60px;
}

.latest-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.latest-article-card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    gap: 20px;
}

.latest-article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.latest-article-card .article-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    overflow: hidden;
    border-radius: 6px;
}

.latest-article-card .thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-article-card .article-content {
    flex-grow: 1;
    min-width: 0;
}

.latest-article-card .article-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    line-height: 1.3;
}

.latest-article-card .article-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.latest-article-card .article-title a:hover {
    color: var(--secondary-color);
}

.latest-article-card .article-meta {
    margin-bottom: 10px;
}

.publish-date {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.latest-article-card .article-excerpt {
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-btn {
    display: inline-block;
    padding: 6px 15px;
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}

.read-btn:hover {
    background: var(--primary-color);
    color: white;
}

/* Пагинация */
.pagination-wrapper {
    text-align: center;
    margin-top: 40px;
}

.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid var(--border-color);
    transition: all 0.2s;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Боковая колонка */
.news-sidebar {
    min-width: 0;
}

.sidebar-widget {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border-color);
}

/* Поиск */
.search-form {
    display: flex;
    gap: 10px;
}

.search-input {
    flex-grow: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
}

.search-submit {
    padding: 10px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.search-submit:hover {
    background: var(--secondary-color);
}

/* Категории */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-item {
    margin-bottom: 12px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.2s;
    border-bottom: 1px solid var(--light-bg);
}

.category-link:hover {
    color: var(--primary-color);
}

.category-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Популярные статьи в сайдбаре */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popular-post-item {
    display: flex;
    gap: 12px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-bg);
}

.popular-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-item .post-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 40px;
    overflow: hidden;
    border-radius: 4px;
}

.sidebar-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-item .post-info {
    flex-grow: 1;
    min-width: 0;
}

.popular-post-item .post-title {
    font-size: 0.95rem;
    margin-bottom: 5px;
    line-height: 1.3;
}

.popular-post-item .post-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.popular-post-item .post-title a:hover {
    color: var(--secondary-color);
}

.popular-post-item .post-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Социальные сети */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-link {
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--light-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
    border: 1px solid var(--border-color);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Email подписка */
.subscribe-text {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subscribe-input {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95rem;
}

.subscribe-btn {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.subscribe-btn:hover {
    background: var(--secondary-color);
}

/* CTA блок */
.news-cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 60px;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.cta-input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.cta-submit {
    padding: 15px 30px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.cta-submit:hover {
    background: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Сообщения об отсутствии статей */
.no-articles {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    grid-column: 1 / -1;
}

.no-articles p {
    font-size: 1.1rem;
    margin: 0;
}
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .contact-form-section h2,
    .map-section h2,
    .additional-info h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .contacts-page .container {
        padding: 10px;
    }
    
    .hero-section {
        padding: 20px 10px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .contact-info-section,
    .contact-form-section,
    .map-section,
    .additional-info {
        padding: 20px 10px;
    }
    
    .contact-card {
        padding: 20px 15px;
    }
    
    .contact-card .contact-icon {
        font-size: 2.5rem;
    }
    
    .contact-card h3 {
        font-size: 1.3rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
    }
    
    .contact-form .btn {
        padding: 12px 20px;
        font-size: 16px;
    }
}

/* === СОВРЕМЕННЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ НОВОСТЕЙ === */
.news-main-page-modern {
    background: #f8f9fa;
    min-height: 100vh;
    padding: 0;
}

.container-modern {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section в фирменных цветах */
.news-hero-modern {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.news-hero-modern::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.05"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-content-modern {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title-modern {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

.hero-subtitle-modern {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto 30px auto;
    line-height: 1.5;
    font-weight: 400;
}

.news-hero-stats {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 20px;
    margin-top: 30px;
}

.news-stat {
    color: #ffffff !important;
    background: linear-gradient(135deg, rgba(255,255,255,0.28), rgba(255,255,255,0.18));
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.news-stat--small { width: 210px; height: 210px; }
.news-stat--large { width: 700px; height: 210px; font-size: 28px; font-weight: 700; display: flex; align-items: center; justify-content: center; }

.news-stat-number { font-size: 48px; font-weight: 800; line-height: 1; color: #ffffff !important; }
.news-stat-label { margin-top: 12px; font-size: 20px; font-weight: 700; color: #ffffff !important; opacity: 0.95; }

.news-stat-divider { align-self: center; color: rgba(255,255,255,0.85) !important; font-size: 26px; }

/* Главная статья (Featured) */
.featured-article-section {
    margin-bottom: 60px;
}

.featured-article-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    transition: all 0.4s ease;
    border: 1px solid #e1e8ed;
}

.featured-article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.18);
}

.featured-article-image {
    position: relative;
    overflow: hidden;
    height: 400px;
}

.featured-article-image .featured-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.featured-article-card:hover .featured-img {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
}

.featured-badge {
    background: #ff6b6b;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.4);
}

.featured-article-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.featured-category {
    background: #1e4d72;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-date {
    color: #657786;
    font-size: 0.9rem;
    font-weight: 500;
}

.featured-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
}

.featured-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.featured-title a:hover {
    color: #1e4d72;
}

.featured-excerpt {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #5a6c7d;
    margin-bottom: 25px;
}

.featured-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.featured-views,
.featured-comments {
    font-size: 0.9rem;
    color: #657786;
    display: flex;
    align-items: center;
    gap: 5px;
}

.featured-read-btn {
    background: #1e4d72;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-left: auto;
}

.featured-read-btn:hover {
    background: #2c6aa0;
    transform: translateX(5px);
    text-decoration: none;
    color: white;
}

/* Современные секции статей */
.news-content-wrapper-modern {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.news-main-content-modern {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.section-header-modern {
    margin-bottom: 40px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 3px solid #1e4d72;
}

.section-title-modern {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.section-subtitle-modern {
    font-size: 1.1rem;
    color: #657786;
    margin: 0;
}

/* Популярные статьи - современный grid */
.popular-articles-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.modern-article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.modern-article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.modern-article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.modern-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-article-card:hover .modern-thumbnail {
    transform: scale(1.1);
}

.modern-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
}

.article-category-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #1e4d72;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-article-content {
    padding: 25px;
}

.modern-article-title {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 15px;
    font-weight: 700;
}

.modern-article-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.modern-article-title a:hover {
    color: #1e4d72;
}

.modern-article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.85rem;
}

.modern-publish-date,
.modern-article-views {
    color: #657786;
    display: flex;
    align-items: center;
    gap: 5px;
}

.modern-article-excerpt {
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.modern-read-btn {
    background: #1e4d72;
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.modern-read-btn:hover {
    background: #2c6aa0;
    transform: translateX(3px);
    text-decoration: none;
    color: white;
}

/* Последние статьи - компактный список */
.latest-articles-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.latest-modern-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.latest-modern-card:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.latest-card-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    float: left;
    margin-right: 15px;
    margin-bottom: 10px;
}

.latest-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.latest-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.latest-card-content {
    overflow: hidden;
}

.latest-card-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 0.75rem;
}

.latest-category {
    background: #1e4d72;
    color: white;
    padding: 4px 8px;
    border-radius: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.latest-date {
    color: #657786;
    font-weight: 500;
}

.latest-card-title {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 10px;
    font-weight: 600;
}

.latest-card-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

.latest-card-title a:hover {
    color: #1e4d72;
}

.latest-card-excerpt {
    color: #5a6c7d;
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.latest-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e1e8ed;
    padding-top: 15px;
}

.latest-views {
    color: #657786;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.latest-read-link {
    color: #1e4d72;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.latest-read-link:hover {
    color: #2c6aa0;
    transform: translateX(3px);
}

/* Современный сайдбар */
.news-sidebar-modern {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget-modern {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
}

.widget-title-modern {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Поиск */
.search-input-wrapper {
    position: relative;
}

.search-input-modern {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 25px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.search-input-modern:focus {
    outline: none;
    border-color: #1e4d72;
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 77, 114, 0.1);
}

.search-submit-modern {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #1e4d72;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-submit-modern:hover {
    background: #2c6aa0;
    transform: translateY(-50%) scale(1.1);
}

/* Категории */
.categories-list-modern {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item-modern {
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.category-link-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    text-decoration: none;
    background: #f8f9fa;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.category-link-modern:hover {
    background: #1e4d72;
    color: white;
    transform: translateX(5px);
}

.category-name-modern {
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.category-link-modern:hover .category-name-modern {
    color: white;
}

.category-count-modern {
    background: #1e4d72;
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 25px;
    text-align: center;
}

.category-link-modern:hover .category-count-modern {
    background: white;
    color: #1e4d72;
}

/* Рекламный блок в сайдбаре */
.cert-center-sidebar-ad {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    border-radius: 12px;
    overflow: hidden;
    color: white;
}

.sidebar-ad-header {
    padding: 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-ad-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: white;
}

.sidebar-ad-subtitle {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.sidebar-ad-content {
    padding: 20px;
}

.sidebar-ad-text {
    text-align: center;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.sidebar-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 15px;
}

.sidebar-contact-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    backdrop-filter: blur(10px);
}

.sidebar-contact-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.sidebar-work-time {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 15px;
}

/* Адаптивность для современного дизайна */
@media (max-width: 1024px) {
    .news-content-wrapper-modern {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .featured-article-card {
        grid-template-columns: 1fr;
    }
    
    .featured-article-image {
        height: 250px;
    }
    
    .popular-articles-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .latest-articles-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 2.5rem;
    }
    
    .hero-subtitle-modern {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    .featured-article-content {
        padding: 25px;
    }
    
    .featured-title {
        font-size: 1.8rem;
    }
    
    .news-main-content-modern {
        padding: 25px;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
}

/* === СТИЛИ ДЛЯ ЯНДЕКС.КАРТЫ === */
.yandex-map-wrapper {
    width: 100%;
    min-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.yandex-map-wrapper iframe,
.yandex-map-wrapper script + * {
    width: 100% !important;
    height: 400px !important;
    border: none !important;
    border-radius: 12px !important;
}

.map-placeholder {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.map-placeholder .map-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.map-placeholder h4 {
    font-size: 1.5rem;
    color: #1e4d72;
    margin-bottom: 15px;
}

.map-placeholder p {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* === СТИЛИ ГЛАВНОЙ СТРАНИЦЫ 2025 === */

/* Hero Section 2025 */
.hero-2025 {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-2025::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="heroPattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23heroPattern)"/></svg>');
    pointer-events: none;
}

.hero-2025 .container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content-2025 {
    max-width: 600px;
}

.hero-badge-2025 {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title-2025 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle-2025 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    opacity: 0.95;
}

.hero-description-2025 {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
    opacity: 0.9;
}

.hero-cta-2025 {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.btn-2025 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary-2025 {
    background: white;
    color: #1e4d72;
    border-color: white;
}

.btn-primary-2025:hover {
    background: transparent;
    color: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-secondary-2025 {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary-2025:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    transform: translateY(-2px);
}

.hero-image-2025 {
    text-align: center;
}

.hero-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.4s ease;
}

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

/* Преимущества */
.advantages-2025 {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-header-2025 {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-2025 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1e4d72;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-subtitle-2025 {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

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

.advantage-card-2025 {
    background: white;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
    transition: all 0.4s ease;
}

.advantage-card-2025:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.advantage-icon-2025 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
}

.advantage-title-2025 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e4d72;
    margin-bottom: 20px;
}

.advantage-list-2025 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantage-list-2025 li {
    padding: 8px 0;
    color: #555;
    line-height: 1.5;
    position: relative;
    padding-left: 25px;
}

.advantage-list-2025 li::before {
    content: '✅';
    position: absolute;
    left: 0;
    top: 8px;
}

/* Статистика */
.stats-2025 {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    padding: 60px 0;
    position: relative;
}

.stats-2025::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 60 60"><defs><pattern id="statsPattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="60" height="60" fill="url(%23statsPattern)"/></svg>');
    pointer-events: none;
}

.stats-grid-2025 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    position: relative;
    z-index: 2;
}

.stat-card-2025 {
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-card-2025:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number-2025 {
    font-size: 3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    color: white;
}

.stat-label-2025 {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Услуги */
.services-2025 {
    padding: 80px 0;
    background: white;
}

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

.service-category-2025 {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
}

.service-category-2025:hover {
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-header-2025 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.service-icon-2025 {
    font-size: 2.5rem;
}

.service-title-2025 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e4d72;
    margin: 0;
}

.service-list-2025 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item-2025 {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.service-item-2025:hover {
    background: #f0f7ff;
    transform: translateX(5px);
}

.service-img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.service-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e4d72;
    margin: 0 0 5px 0;
}

.service-content p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

/* Категории документов */
.documents-categories-2025 {
    padding: 80px 0;
    background: #f8f9fa;
}

/* ================================
   Документ: типографика и контент
   ================================ */
.document-template-page .document-main-content {
    margin-top: 20px;
}

.document-template-page .document-main-content .content-wrapper {
    font-size: 1.075rem;
    line-height: 1.75;
    color: #1e293b; /* слейт 800 */
}

.document-template-page .document-main-content .content-wrapper h2,
.document-template-page .document-main-content .content-wrapper h3,
.document-template-page .document-main-content .content-wrapper h4,
.document-template-page .document-main-content .content-wrapper h5,
.document-template-page .document-main-content .content-wrapper h6 {
    color: #0f172a; /* слейт 900 */
    margin: 2rem 0 1rem 0;
    line-height: 1.3;
}

.document-template-page .document-main-content .content-wrapper h2 {
    font-size: 1.65rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 6px;
}

.document-template-page .document-main-content .content-wrapper h3 { font-size: 1.35rem; }
.document-template-page .document-main-content .content-wrapper h4 { font-size: 1.2rem; }

.document-template-page .document-main-content .content-wrapper p { margin: 0 0 1.1rem 0; }

/* Списки */
.document-template-page .document-main-content .content-wrapper ul,
.document-template-page .document-main-content .content-wrapper ol {
    margin: 0 0 1.25rem 1.2rem;
}

.document-template-page .document-main-content .content-wrapper ul li,
.document-template-page .document-main-content .content-wrapper ol li {
    margin: 0 0 0.6rem 0;
}

.document-template-page .document-main-content .content-wrapper ul li::marker {
    color: var(--primary-color);
}

.document-template-page .document-main-content .content-wrapper ol { counter-reset: num; }

/* Цитаты */
.document-template-page .document-main-content .content-wrapper blockquote {
    background: #f8fafc; /* слейт 50 */
    border-left: 4px solid var(--primary-color);
    padding: 14px 18px;
    border-radius: 8px;
    margin: 1.25rem 0;
}

/* Таблицы */
.document-template-page .document-main-content .content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #e2e8f0; /* слейт 200 */
    border-radius: 10px;
    overflow: hidden;
    display: block;              /* горизонтальный скролл на мобилке */
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 1rem 0 1.5rem 0;
}

.document-template-page .document-main-content .content-wrapper table thead th {
    background: var(--primary-color);
    color: #fff;
    text-align: left;
    font-weight: 700;
}

.document-template-page .document-main-content .content-wrapper table th,
.document-template-page .document-main-content .content-wrapper table td {
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    min-width: 140px;
}

.document-template-page .document-main-content .content-wrapper table tbody tr:nth-child(odd) {
    background: #f9fbfd;
}

.document-template-page .document-main-content .content-wrapper table caption {
    caption-side: bottom;
    padding: 10px 0 0;
    color: #475569; /* слейт 600 */
    font-size: 0.95rem;
}

/* Примечания / сноски / предупреждения */
.document-template-page .document-main-content .content-wrapper .doc-note,
.document-template-page .document-main-content .content-wrapper .doc-tip,
.document-template-page .document-main-content .content-wrapper .doc-warning,
.document-template-page .document-main-content .content-wrapper .doc-example {
    border-radius: 12px;
    padding: 14px 16px;
    margin: 1rem 0 1.25rem 0;
    border: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.document-template-page .document-main-content .content-wrapper .doc-note { background: #f0f9ff; border-left: 4px solid #38bdf8; }
.document-template-page .document-main-content .content-wrapper .doc-tip { background: #ecfdf5; border-left: 4px solid #34d399; }
.document-template-page .document-main-content .content-wrapper .doc-warning { background: #fff7ed; border-left: 4px solid #fb923c; }
.document-template-page .document-main-content .content-wrapper .doc-example { background: #f8fafc; border-left: 4px solid var(--primary-color); }

.document-template-page .document-main-content .content-wrapper .doc-note .label,
.document-template-page .document-main-content .content-wrapper .doc-tip .label,
.document-template-page .document-main-content .content-wrapper .doc-warning .label,
.document-template-page .document-main-content .content-wrapper .doc-example .label {
    display: inline-block;
    font-weight: 700;
    margin-bottom: 6px;
    color: #0f172a;
}

/* Код / преформатированный текст */
.document-template-page .document-main-content .content-wrapper code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 6px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.document-template-page .document-main-content .content-wrapper pre {
    background: #0b1220;
    color: #e2e8f0;
    padding: 16px;
    border-radius: 10px;
    overflow: auto;
}

/* Сноски */
.document-template-page .document-main-content .content-wrapper sup { line-height: 1; }
.document-template-page .document-main-content .content-wrapper sup a {
    color: var(--primary-color);
    text-decoration: none;
}
.document-template-page .document-main-content .content-wrapper sup a:hover { text-decoration: underline; }

.document-template-page .document-main-content .content-wrapper .footnotes,
.document-template-page .document-main-content .content-wrapper .footnote,
.document-template-page .document-main-content .content-wrapper .footnote-list {
    font-size: 0.95rem;
    color: #334155;
}

/* Изображения / фигуры */
.document-template-page .document-main-content .content-wrapper figure { margin: 1.25rem 0; }
.document-template-page .document-main-content .content-wrapper figure img { border-radius: 10px; }
.document-template-page .document-main-content .content-wrapper figcaption {
    font-size: 0.95rem;
    color: #475569;
    text-align: center;
    margin-top: 8px;
}

/* Ссылки */
.document-template-page .document-main-content .content-wrapper a {
    color: var(--primary-color);
    text-decoration: underline;
}
.document-template-page .document-main-content .content-wrapper a:hover { color: var(--secondary-color); }

/* Адаптивность текста документа */
@media (max-width: 1024px) {
    .document-template-page .document-main-content .content-wrapper { font-size: 1.02rem; line-height: 1.65; }
    .document-template-page .document-main-content .content-wrapper h2 { font-size: 1.45rem; }
    .document-template-page .document-main-content .content-wrapper h3 { font-size: 1.22rem; }
}

@media (max-width: 768px) {
    .document-template-page .document-main-content .content-wrapper { font-size: 1rem; line-height: 1.6; }
    .document-template-page .document-main-content .content-wrapper table { font-size: 0.95rem; }
}

/* ================================
   Code blocks (site-themed styling)
   ================================ */
.document-template-page .document-main-content .content-wrapper .code-block__code,
.document-template-page .document-main-content .content-wrapper pre.wp-block-code,
.document-template-page .document-main-content .content-wrapper pre,
.blog-article .entry-content pre {
    background: #0f172a; /* dark slate */
    color: #e2e8f0;
    border: 1px solid rgba(52, 152, 219, 0.35); /* var(--primary-color) approx with alpha */
    border-radius: 12px;
    padding: 16px 18px;
    overflow: auto;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 8px 24px rgba(2,6,23,0.35);
}

.document-template-page .document-main-content .content-wrapper .code-block__code code,
.document-template-page .document-main-content .content-wrapper pre code,
.blog-article .entry-content pre code {
    background: transparent;
    color: inherit;
    font-size: 0.95rem; /* override !text-sm harmoniously */
    line-height: 1.6;   /* override !leading-relaxed */
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

/* Subtle header strip accent */
.document-template-page .document-main-content .content-wrapper .code-block__code::before,
.document-template-page .document-main-content .content-wrapper pre::before {
    content: '';
    display: block;
    height: 4px;
    margin: -16px -18px 12px -18px;
    background: linear-gradient(90deg, var(--primary-color), rgba(255,255,255,0.2));
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

/* Scrollbar aesthetics */
.document-template-page .document-main-content .content-wrapper .code-block__code::-webkit-scrollbar,
.document-template-page .document-main-content .content-wrapper pre::-webkit-scrollbar { height: 10px; }
.document-template-page .document-main-content .content-wrapper .code-block__code::-webkit-scrollbar-thumb,
.document-template-page .document-main-content .content-wrapper pre::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color), rgba(52,152,219,0.6));
    border-radius: 10px;
}

/* Inline code stays light in light sections */
.document-template-page .document-main-content .content-wrapper p code,
.document-template-page .document-main-content .content-wrapper li code { 
    background: #eef2f7; 
    color: #0f172a; 
    border: 1px solid #d8e0ea; 
    border-radius: 6px; 
    padding: 1px 6px; 
}

@media (max-width: 768px) {
    .document-template-page .document-main-content .content-wrapper .code-block__code,
    .document-template-page .document-main-content .content-wrapper pre.wp-block-code,
    .document-template-page .document-main-content .content-wrapper pre { 
        padding: 14px; 
        border-radius: 10px; 
    }
    .document-template-page .document-main-content .content-wrapper .code-block__code::before,
    .document-template-page .document-main-content .content-wrapper pre::before { 
        margin: -14px -14px 10px -14px; 
    }
}

.categories-grid-2025 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card-2025 {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
    transition: all 0.4s ease;
}

.category-card-2025:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.15);
}

.category-image-2025 {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
}

.category-img {
    max-width: 160px;
    max-height: 160px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
    transition: transform 0.4s ease;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-card-2025:hover .category-img {
    transform: scale(1.1);
}

.category-img--placeholder {
    max-width: 160px !important;
    max-height: 160px !important;
    width: 160px !important;
    height: 160px !important;
    object-fit: contain !important;
    object-position: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #1e4d72 !important;
    color: white !important;
    font-size: 4rem !important;
    text-decoration: none !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

.category-overlay-2025 {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #1e4d72;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-content-2025 {
    padding: 25px;
}

.category-name-2025 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e4d72;
    margin-bottom: 15px;
}

.category-description-2025 {
    color: #666;
    line-height: 1.5;
    margin-bottom: 20px;
}

.category-link-2025 {
    color: #1e4d72;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-link-2025:hover {
    color: #2c6aa0;
    transform: translateX(5px);
}

.category-price-2025 {
    background: #1e4d72;
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.category-icon-overlay-2025 {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.9);
    padding: 8px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.category-icon-2025 {
    font-size: 1.5rem;
    display: block;
}

/* Категории сертификации товаров */
.goods-categories-2025 {
    padding: 80px 0;
    background: white;
}

.goods-card-2025 .category-examples-2025 {
    background: #f0f7ff;
    padding: 10px 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 3px solid #1e4d72;
}

.goods-card-2025 .category-examples-2025 small {
    color: #666;
    font-style: italic;
    line-height: 1.4;
}

/* Баннер последней статьи */
.latest-article-banner-2025 {
    padding: 80px 0;
    background: white;
}

.article-banner-2025 {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.banner-content-2025 {
    padding: 50px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.banner-badge-2025 {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    width: fit-content;
}

.banner-title-2025 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.banner-title-2025 a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.banner-title-2025 a:hover {
    opacity: 0.8;
}

.banner-excerpt-2025 {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    opacity: 0.9;
}

.banner-meta-2025 {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.banner-read-btn-2025 {
    background: white;
    color: #1e4d72;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    width: fit-content;
}

.banner-read-btn-2025:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
}

.banner-image-2025 {
    position: relative;
    overflow: hidden;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.article-banner-2025:hover .banner-img {
    transform: scale(1.05);
}

/* Процесс получения сертификата */
.process-2025 {
    padding: 80px 0;
    background: #f8f9fa;
}

.process-steps-2025 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.step-2025 {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
    position: relative;
}

.step-2025:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.step-number-2025 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.step-title-2025 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e4d72;
    margin-bottom: 15px;
}

.step-description-2025 {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Стоимость */
.pricing-2025 {
    padding: 80px 0;
    background: white;
}

.pricing-grid-2025 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.price-card-2025 {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
    position: relative;
}

.price-card-popular-2025 {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    border-color: #1e4d72;
    transform: scale(1.05);
}

.popular-badge-2025 {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ff6b6b;
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
}

.price-card-2025:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.price-header-2025 {
    margin-bottom: 25px;
}

.price-title-2025 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e4d72;
}

.price-card-popular-2025 .price-title-2025 {
    color: white;
}

.price-amount-2025 {
    font-size: 2rem;
    font-weight: 800;
    color: #1e4d72;
}

.price-card-popular-2025 .price-amount-2025 {
    color: white;
}

.price-features-2025 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.price-features-2025 li {
    padding: 8px 0;
    color: #666;
    position: relative;
    padding-left: 20px;
}

.price-card-popular-2025 .price-features-2025 li {
    color: rgba(255, 255, 255, 0.9);
}

.price-features-2025 li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e4d72;
    font-weight: bold;
}

.price-card-popular-2025 .price-features-2025 li::before {
    color: white;
}

.pricing-note-2025 {
    text-align: center;
    background: #f0f7ff;
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid #1e4d72;
}

/* Схема сертификации продукции */
.certification-scheme-2025 {
    padding: 80px 0;
    background: white;
}

.scheme-content-2025 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.scheme-image-2025 {
    text-align: center;
}

.scheme-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.scheme-title-2025 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e4d72;
    margin-bottom: 30px;
}

.scheme-steps-2025 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.scheme-step-2025 {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.scheme-step-number {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.scheme-step-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e4d72;
    margin-bottom: 8px;
}

.scheme-step-content p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Подтверждения соответствия */
.compliance-confirmations-2025 {
    padding: 80px 0;
    background: #f8f9fa;
}

.compliance-content-2025 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.compliance-title-2025 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e4d72;
    margin-bottom: 30px;
}

.compliance-list-2025 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.compliance-item-2025 {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.compliance-icon-2025 {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.compliance-item-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e4d72;
    margin-bottom: 8px;
}

.compliance-item-content p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.compliance-image-2025 {
    text-align: center;
}

.compliance-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Система менеджмента качества */
.quality-management-2025 {
    padding: 80px 0;
    background: white;
}

.quality-content-2025 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quality-image-2025 {
    text-align: center;
}

.quality-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.quality-title-2025 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e4d72;
    margin-bottom: 30px;
}

.quality-benefits-2025 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quality-benefit-2025 {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #1e4d72;
}

.quality-benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.quality-benefit-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e4d72;
    margin-bottom: 8px;
}

.quality-benefit-content p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

/* Проблемы при несоблюдении */
.compliance-problems-2025 {
    padding: 80px 0;
    background: #f8f9fa;
}

.problems-content-2025 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problems-title-2025 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e4d72;
    margin-bottom: 30px;
}

.problems-list-2025 {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.problem-item-2025 {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #ff6b6b;
}

.problem-icon-2025 {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.problem-content-2025 h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e4d72;
    margin-bottom: 8px;
}

.problem-content-2025 p {
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.problems-image-2025 {
    text-align: center;
}

.problems-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* === MODERN HEADER 2025 === */

/* Header Container */
.header-2025 {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

/* Top Contact Bar */
.top-contact-bar-2025 {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    padding: 8px 0;
    font-size: 13px;
    position: relative;
}

.top-contact-bar-2025::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 60 60"><defs><pattern id="topPattern" width="60" height="60" patternUnits="userSpaceOnUse"><circle cx="30" cy="30" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="60" height="60" fill="url(%23topPattern)"/></svg>');
    pointer-events: none;
}

.top-contact-bar-2025 .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}

.contact-left-2025 {
    display: flex;
    align-items: center;
    gap: 25px;
}

.contact-right-2025 {
    display: flex;
    align-items: center;
    gap: 20px;
}

.location-selector-2025 {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.location-icon,
.work-icon,
.phone-icon,
.email-icon {
    font-size: 14px;
}

.city-select-2025 {
    background: transparent;
    border: none;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    outline: none;
}

.city-select-2025 option {
    background: #1e4d72;
    color: white;
}

.work-hours-2025 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.contact-phone-2025,
.contact-email-2025 {
    display: flex;
    align-items: center;
    gap: 6px;
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 12px;
}

.contact-phone-2025:hover,
.contact-email-2025:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

/* Main Header */
.main-header-2025 {
    background: white;
    padding: 15px 0;
    position: relative;
}

.header-content-2025 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo Section */
.logo-section-2025 {
    flex-shrink: 0;
}

.logo-wrapper-2025 img {
    height: 45px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.logo-text-2025 {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #1e4d72;
}

.logo-main {
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.logo-tagline {
    font-size: 12px;
    color: #666;
    font-weight: 500;
    margin-top: 2px;
}

/* Navigation */
.navigation-2025 {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu-2025 {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-menu-2025 li {
    position: relative;
}

.nav-menu-2025 a {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: rgba(30, 77, 114, 0.05);
    border: 1px solid rgba(30, 77, 114, 0.1);
}

.nav-menu-2025 a:hover {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 77, 114, 0.3);
}

/* Header Actions */
.header-actions-2025 {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.cta-button-2025 {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 77, 114, 0.3);
}

.cta-button-2025:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 77, 114, 0.4);
}

.cta-icon {
    font-size: 16px;
}

/* Mobile Toggle */
.mobile-toggle-2025 {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(30, 77, 114, 0.1);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-toggle-2025:hover {
    background: rgba(30, 77, 114, 0.15);
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #1e4d72;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay-2025 {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-nav-overlay-2025.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-content-2025 {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-nav-overlay-2025.active .mobile-nav-content-2025 {
    transform: translateX(0);
}

.mobile-nav-header-2025 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-logo-2025 {
    font-size: 20px;
    font-weight: 700;
    color: #1e4d72;
}

.mobile-close-2025 {
    width: 35px;
    height: 35px;
    border: none;
    background: rgba(30, 77, 114, 0.1);
    color: #1e4d72;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-close-2025:hover {
    background: rgba(30, 77, 114, 0.2);
    transform: rotate(90deg);
}

.mobile-navigation-2025 {
    padding: 20px 0;
}

.mobile-menu-2025 {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-menu-2025 li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu-2025 a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-menu-2025 a:hover {
    background: #f8f9fa;
    color: #1e4d72;
    padding-left: 30px;
}

.mobile-contact-2025 {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f8f9fa;
}

.mobile-phone-2025,
.mobile-email-2025 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    text-decoration: none;
    padding: 10px 0;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-phone-2025:hover,
.mobile-email-2025:hover {
    color: #1e4d72;
}

.mobile-contact-icon {
    font-size: 16px;
}

.mobile-cta-2025 {
    display: block;
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.mobile-cta-2025:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 77, 114, 0.3);
}

/* Товары */
.products-2025 {
    padding: 80px 0;
    background: white;
}

.products-grid-2025 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.product-category-2025 {
    background: white;
    padding: 30px 25px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
}

.product-category-2025:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.product-icon-2025 {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.product-title-2025 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e4d72;
    margin-bottom: 20px;
}

.product-list-2025 {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-list-2025 li {
    padding: 5px 0;
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Маркетплейсы */
.marketplaces-2025 {
    padding: 80px 0;
    background: white;
}

.marketplace-content-2025 {
    max-width: 900px;
    margin: 0 auto;
}

.marketplace-description-2025 {
    font-size: 1.2rem;
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    line-height: 1.6;
}

.marketplace-requirements-2025 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.requirement-item-2025 {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 16px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
}

.requirement-item-2025:hover {
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.requirement-icon-2025 {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.requirement-content-2025 {
    flex: 1;
}

.requirement-title-2025 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e4d72;
    margin-bottom: 10px;
}

.requirement-text-2025 {
    color: #666;
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.marketplace-cta-2025 {
    text-align: center;
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.marketplace-cta-title-2025 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* FAQ */
.faq-2025 {
    padding: 80px 0;
    background: #f8f9fa;
}

.faq-grid-2025 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.faq-item-2025 {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
}

.faq-item-2025:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.faq-question-2025 {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.faq-icon-2025 {
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.faq-title-2025 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e4d72;
    margin: 0;
    line-height: 1.4;
}

.faq-answer-2025 {
    padding-left: 50px;
}

.faq-answer-2025 p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* Консультация */
.consultation-2025 {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    position: relative;
}

.consultation-2025::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 80 80"><defs><pattern id="consultPattern" width="80" height="80" patternUnits="userSpaceOnUse"><circle cx="40" cy="40" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="80" height="80" fill="url(%23consultPattern)"/></svg>');
    pointer-events: none;
}

.consultation-content-2025 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.consultation-title-2025 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.consultation-subtitle-2025 {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.consultation-features-2025 {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-2025 {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.feature-icon-2025 {
    font-size: 1.5rem;
}

.modern-form-2025 {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-input-2025 {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input-2025:focus {
    outline: none;
    border-color: white;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.form-submit-2025 {
    width: 100%;
    background: white;
    color: #1e4d72;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit-2025:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Контакты */
.contacts-2025 {
    padding: 80px 0;
    background: white;
}

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

.contact-block-2025 {
    background: #f8f9fa;
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
}

.contact-block-2025:hover {
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.contact-icon-2025 {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.contact-title-2025 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e4d72;
    margin-bottom: 15px;
}

.contact-text-2025 {
    color: #666;
    line-height: 1.5;
}

.contact-text-2025 a {
    color: #1e4d72;
    text-decoration: none;
    font-weight: 600;
}

.contact-text-2025 a:hover {
    color: #2c6aa0;
    text-decoration: underline;
}

/* Адаптивность главной страницы */
@media (max-width: 1024px) {
    .hero-2025 .container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .advantages-grid-2025 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .services-grid-2025 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .categories-grid-2025 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .process-steps-2025 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .pricing-grid-2025 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .products-grid-2025 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .marketplace-requirements-2025 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .faq-grid-2025 {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .consultation-content-2025 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contacts-grid-2025 {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .article-banner-2025 {
        grid-template-columns: 1fr;
    }
    
    .scheme-content-2025 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .compliance-content-2025 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .quality-content-2025 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .problems-content-2025 {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Header 2025 Responsive */
    .mobile-toggle-2025 {
        display: flex;
    }
    
    .navigation-2025 {
        display: none;
    }
    
    .cta-button-2025 .cta-text {
        display: none;
    }
    
    .contact-left-2025 {
        gap: 15px;
    }
    
    .contact-right-2025 {
        gap: 10px;
    }
    
    .work-hours-2025 {
        display: none;
    }
    
    .header-content-2025 {
        gap: 15px;
    }
    
    .main-header-2025 {
        padding: 12px 0;
    }
    
    .top-contact-bar-2025 {
        padding: 6px 0;
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .hero-title-2025 {
        font-size: 2.2rem;
    }
    
    .hero-cta-2025 {
        flex-direction: column;
        gap: 15px;
    }
    
    .section-title-2025 {
        font-size: 2rem;
    }
    
    .stats-grid-2025 {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .categories-grid-2025 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-grid-2025 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .products-grid-2025 {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* === MODERN CATEGORY PAGE STYLES === */

/* Category Hero */
.category-main-page-modern {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.category-hero-modern {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.category-hero-modern::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="categoryPattern" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23categoryPattern)"/></svg>');
    pointer-events: none;
}

.category-hero-modern .hero-content-modern {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.category-hero-modern .hero-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-hero-modern .hero-title-modern {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-hero-modern .hero-subtitle-modern {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.5;
}

.category-hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 500px;
    margin: 0 auto;
}

.category-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.category-stat--small .category-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.category-stat--small .category-stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 500;
}

.category-stat--large {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

.category-stat-divider {
    font-size: 1.5rem;
    opacity: 0.6;
    margin: 0 10px;
}

/* Category Content */
.category-content-wrapper-modern {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 60px 0;
}

.category-main-content-modern {
    background: white;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e8ed;
}

.category-articles-section-modern {
    margin-bottom: 40px;
}

.category-articles-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Category Sidebar */
.category-sidebar-modern {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.popular-post-item-modern {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e1e8ed;
    transition: all 0.3s ease;
}

.popular-post-item-modern:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.popular-post-thumbnail {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
}

.popular-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-placeholder {
    width: 100%;
    height: 100%;
    background: #f0f7ff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #1e4d72;
}

.popular-post-info {
    flex: 1;
    min-width: 0;
}

.popular-post-title {
    margin: 0 0 8px 0;
    font-size: 0.95rem;
    line-height: 1.3;
}

.popular-post-title a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.popular-post-title a:hover {
    color: #1e4d72;
}

.popular-post-meta {
    display: flex;
    gap: 10px;
    font-size: 0.8rem;
    color: #666;
}

/* No Articles */
.no-articles-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.no-articles-content {
    text-align: center;
    max-width: 400px;
}

.no-articles-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.no-articles-content h3 {
    font-size: 1.5rem;
    color: #1e4d72;
    margin-bottom: 15px;
}

.no-articles-content p {
    color: #666;
    margin-bottom: 25px;
}

.btn-modern {
    background: linear-gradient(135deg, #1e4d72 0%, #2c6aa0 100%);
    color: white;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 77, 114, 0.3);
}

/* Pagination */
.pagination-wrapper-modern {
    margin-top: 50px;
    text-align: center;
}

.pagination-wrapper-modern .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    margin: 0 5px;
    background: #f8f9fa;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e1e8ed;
}

.pagination-wrapper-modern .page-numbers:hover,
.pagination-wrapper-modern .page-numbers.current {
    background: #1e4d72;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(30, 77, 114, 0.3);
}

/* Responsive Category Page */
@media (max-width: 1024px) {
    .category-content-wrapper-modern {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-articles-grid-modern {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .category-hero-modern .hero-title-modern {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .category-hero-modern .hero-title-modern {
        font-size: 2rem;
    }
    
    .category-hero-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .category-stat-divider {
        display: none;
    }
    
    .category-main-content-modern {
        padding: 25px;
    }
}

.news-hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 12px;
}

.news-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.news-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.news-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-bottom: 60px;
}

.popular-articles-section,
.latest-articles-section {
    margin-bottom: 60px;
}

.popular-articles-section h2,
.latest-articles-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.popular-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.latest-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.popular-article-card,
.latest-article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.popular-article-card:hover,
.latest-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.article-thumbnail {
    width: 100%;
    height: 200px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
}

.article-content {
    padding: 20px;
}

.article-content h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.article-excerpt {
    color: var(--text-light);
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
}

.read-more-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.news-sidebar {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
}

.sidebar-widget {
    margin-bottom: 30px;
}

.sidebar-widget h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.search-form {
    display: flex;
    gap: 10px;
}

.search-form input {
    flex: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
}

.search-form button {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--primary-hover);
}

.categories-list {
    list-style: none;
}

.categories-list li {
    margin-bottom: 10px;
}

.categories-list a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 0;
    display: block;
    transition: var(--transition);
}

.categories-list a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.popular-posts-list {
    list-style: none;
}

.popular-posts-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.popular-posts-list a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
}

.popular-posts-list a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.subscribe-form {
    text-align: center;
}

.subscribe-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 1rem;
}

.subscribe-form button {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.subscribe-form button:hover {
    background: var(--primary-hover);
}

.news-cta-section {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 60px 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 60px;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-form {
    display: flex;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.cta-input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
}

.cta-submit {
    padding: 15px 30px;
    background: white;
    color: #28a745;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.cta-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Адаптивность для новостей */
@media (max-width: 1024px) {
    .news-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .news-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .popular-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .latest-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-hero h1 {
        font-size: 2.5rem;
    }
    
    .cta-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .news-main-page .container {
        padding: 0 15px;
    }
    
    .news-hero {
        padding: 40px 20px;
    }
    
    .news-hero h1 {
        font-size: 2rem;
    }
    
    .news-sidebar {
        padding: 20px;
    }
}

/* === УЛУЧШЕННЫЕ СТИЛИ ДЛЯ КАТЕГОРИЙ === */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.category-item:last-child {
    border-bottom: none;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
    border-radius: 6px;
    padding: 8px 12px;
}

.category-link:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.category-name {
    font-weight: 500;
    flex: 1;
}

.category-count {
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.no-categories {
    text-align: center;
    color: var(--text-light);
    padding: 20px;
}

/* === СТИЛИ ДЛЯ СЧЕТЧИКОВ ПРОСМОТРОВ === */
.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.publish-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.publish-date::before {
    content: "📅";
    font-size: 1rem;
}

.article-views {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--accent-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: var(--text-color);
}

.article-views::before {
    content: "👁️";
    font-size: 1rem;
}

/* === СТИЛИ ДЛЯ ХЛЕБНЫХ КРОШЕК === */
.breadcrumbs {
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.breadcrumbs-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9rem;
}

.breadcrumb-item {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb-item:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-light);
    margin: 0 5px;
}

.breadcrumb-current {
    color: var(--text-color);
    font-weight: 500;
}

/* === УБИРАЕМ ПОДЧЕРКИВАНИЕ ЗАГОЛОВКОВ СТАТЕЙ === */
.article-title a {
    text-decoration: none !important;
    color: var(--text-color);
    transition: var(--transition);
}

.article-title a:hover {
    color: var(--primary-color);
    text-decoration: none !important;
}

/* === СТИЛИ ДЛЯ СТРАНИЦЫ КАТЕГОРИЙ === */
.category-page {
    padding: 40px 0;
}

.category-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-hero {
    background: linear-gradient(135deg, #2c3e50, #3498db);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 60px;
    border-radius: 12px;
}

.category-hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    color: white !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.category-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.category-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-bottom: 60px;
}

.category-main-content {
    min-height: 400px;
}

.category-articles-section h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.category-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.category-article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.category-article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.category-sidebar {
    background: var(--secondary-color);
    border-radius: 12px;
    padding: 30px;
    height: fit-content;
}

/* Стили для текущей категории в сайдбаре */
.current-category .category-link {
    background: var(--primary-color) !important;
    color: white !important;
}

.current-category .category-count {
    background: white !important;
    color: var(--primary-color) !important;
}

/* Адаптивность для страницы категорий */
@media (max-width: 1024px) {
    .category-content-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .category-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .category-articles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-hero h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .category-page .container {
        padding: 0 15px;
    }
    
    .category-hero {
        padding: 40px 20px;
    }
    
    .category-hero h1 {
        font-size: 2rem;
    }
    
    .category-sidebar {
        padding: 20px;
    }
}

/* === СТИЛИ ДЛЯ ШАБЛОНА Г-КАТЕГОРИИ === */
.category-template-page {
    padding: 40px 0;
}

.category-template-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-template-page .page-header {
    text-align: center;
    margin-bottom: 50px;
}

.category-template-page .page-title {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 700;
}

/* Секция с дочерними страницами */
.child-pages-section {
    margin-bottom: 60px;
}

.child-pages-section .section-title {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.child-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.child-page-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.child-page-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--primary-color);
}

.card-thumbnail {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: transparent;
    position: relative;
}

.card-thumbnail img {
    width: auto;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
    filter: brightness(0.95) contrast(1.1);
    margin: 0 auto;
    display: block;
}

.child-page-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    font-size: 3rem;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.card-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.card-title a:hover {
    color: var(--primary-color);
}

.card-excerpt {
    color: var(--text-light);
    margin-bottom: 18px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.card-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 0;
}

.card-link:hover {
    color: var(--primary-hover);
    transform: translateX(5px);
}

/* Основной контент страницы */
.page-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-color);
    margin-top: 40px;
}

.page-content h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.page-content h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 25px 0 15px 0;
}

.page-content h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin: 20px 0 10px 0;
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.page-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: var(--text-light);
}

.page-content a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.page-content a:hover {
    border-bottom-color: var(--primary-color);
}

/* Адаптивность для шаблона Г-категории */
@media (max-width: 1024px) {
    .child-pages-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .child-pages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .category-template-page .page-title {
        font-size: 2.5rem;
    }
    
    .page-main-content {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .category-template-page .container {
        padding: 0 15px;
    }
    
    .category-template-page .page-title {
        font-size: 2rem;
    }
    
    .page-main-content {
        padding: 20px 15px;
    }
    
    .child-pages-grid {
        gap: 15px;
    }
}

/* Стили для футера */
.footer-nav {
    margin-bottom: 30px;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.footer-menu li {
    margin: 0;
}

.footer-menu a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #1e4d72;
}

/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer-menu {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .footer-menu a {
        font-size: 16px;
        padding: 8px 0;
    }
}

/* Стили для цен на карточках документов */
.card-price {
    margin: 15px 0;
    padding: 10px 15px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 8px;
    border-left: 4px solid #28a745;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Центрирование названия документа и цены */
.child-page-card .card-content {
    text-align: center;
}

.child-page-card .card-title {
    text-align: center;
}

.child-page-card .card-excerpt {
    text-align: center;
}

.child-page-card .card-price {
    justify-content: center;
    gap: 10px;
}

.price-label {
    font-size: 14px;
    color: #6c757d;
    font-weight: 500;
}

.price-value {
    font-size: 18px;
    color: #28a745;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* Адаптивность для цен */
@media (max-width: 768px) {
    .card-price {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        padding: 12px 15px;
    }
    
    .price-value {
        font-size: 20px;
    }
}

/* Мобильные исправления для шапки */
@media (max-width: 768px) {
    .top-contact-bar-2025 {
        padding: 4px 0;
        font-size: 11px;
    }
    
    .top-contact-bar-2025 .container {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .contact-left-2025,
    .contact-right-2025 {
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center;
        font-size: 10px;
    }
    
    .main-header-2025 {
        padding: 8px 0;
    }
    
    .header-content-2025 {
        gap: 15px;
    }
    
    .logo-section-2025 img {
        max-height: 35px;
    }
}

@media (max-width: 480px) {
    .top-contact-bar-2025 {
        display: none; /* Скрываем на очень маленьких экранах */
    }
}

