/* Остальные стили из оригинального CSS файла для полной функциональности темы */

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-text,
.btn-icon {
    position: relative;
    z-index: 1;
}

.btn-icon {
    font-size: 1.2rem;
    transition: transform var(--transition-base);
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--gradient-accent);
    color: var(--text-dark);
    box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ===== Sections ===== */
section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: var(--spacing-lg);
}

/* ===== News Section ===== */
.news-section {
    background: var(--bg-light);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.news-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-date {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin: 0;
}

.news-card h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.news-card h4 a {
    color: var(--primary-color);
    transition: color var(--transition-fast);
}

.news-card h4 a:hover {
    color: var(--accent-color);
}

.news-card p:not(.news-date) {
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.news-footer {
    text-align: center;
    margin-top: var(--spacing-md);
}

/* ===== Why Choose Us Section ===== */
.why-choose-us {
    background: var(--bg-white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.feature-card {
    background: var(--bg-light);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.feature-icon img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.feature-description {
    color: var(--text-gray);
    line-height: 1.6;
}

/* ===== Tariffs Section ===== */
.tariffs {
    background: var(--bg-light);
}

.tariffs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.tariff-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.tariff-card-featured {
    border: 3px solid var(--accent-color);
    transform: scale(1.05);
}

.tariff-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-accent);
    color: var(--text-dark);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

.tariff-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm);
}

.tariff-icon img {
    width: 100%;
    filter: brightness(0) invert(1);
}

.tariff-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    text-align: center;
}

.tariff-description {
    color: var(--text-gray);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.tariff-features {
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.tariff-features li {
    padding: var(--spacing-xs) 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}

.tariff-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
}

/* ===== How It Works Section ===== */
.how-it-works {
    background: var(--bg-white);
}

.workflow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.workflow-illustration {
    display: flex;
    justify-content: center;
}

.workflow-img {
    width: 100%;
    max-width: 500px;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.workflow-step {
    display: flex;
    gap: var(--spacing-sm);
    align-items: flex-start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.step-content {
    flex-grow: 1;
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-xs);
}

.step-description {
    color: var(--text-gray);
}

/* ===== Reviews Section ===== */
.reviews {
    background: var(--bg-light);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--spacing-md);
}

.review-card {
    background: var(--bg-white);
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.review-header {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-light);
}

.review-info {
    flex-grow: 1;
}

.review-name {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.review-position {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.review-text {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: var(--spacing-sm);
    font-style: italic;
}

.review-rating {
    color: var(--accent-color);
    font-size: 1.125rem;
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, #0F4C81 0%, #1E6BA8 50%, #FFB000 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 176, 0, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.cta-subtitle {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-md);
    opacity: 0.95;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.05rem;
}

.cta-feature-icon {
    font-size: 1.5rem;
    background: rgba(255,255,255,0.15);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-contact-box {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    text-align: center;
}

.contact-box-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: var(--spacing-md);
}

.contact-box-phone {
    margin-bottom: var(--spacing-md);
}

.phone-number {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: var(--spacing-xs);
    transition: all var(--transition-base);
}

.phone-number:hover {
    color: var(--primary-color);
    transform: scale(1.05);
}

.phone-label {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.contact-divider {
    position: relative;
    color: var(--text-gray);
    margin: var(--spacing-md) 0;
    font-size: 0.9rem;
}

.contact-divider::before,
.contact-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: var(--border-color);
}

.contact-divider::before {
    left: 0;
}

.contact-divider::after {
    right: 0;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-md);
}

.contact-method {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm);
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    transition: all var(--transition-base);
    color: var(--text-dark);
}

.contact-method:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.method-icon {
    font-size: 1.5rem;
}

.method-text {
    font-weight: 500;
}

.contact-box-note {
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
    text-align: left;
}

.contact-box-note strong {
    color: var(--primary-color);
}

.office-addresses {
    margin-top: var(--spacing-sm);
}

.office-addresses p {
    margin-bottom: var(--spacing-xs);
    padding-left: var(--spacing-sm);
    position: relative;
}

.office-addresses p::before {
    content: '📍';
    position: absolute;
    left: 0;
    top: 0;
}

.office-addresses p:last-child {
    margin-bottom: 0;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);
}

.footer-logo-img {
    width: 40px;
    height: 40px;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-color);
}

.footer-description {
    color: var(--text-gray);
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

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

.footer-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-gray);
    transition: all var(--transition-fast);
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    color: var(--text-gray);
}

.footer-contacts a {
    color: var(--primary-color);
    font-weight: 500;
}

.footer-contacts a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: var(--spacing-md);
}

.footer-legal a {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.footer-legal a:hover {
    color: var(--accent-color);
}

/* ===== Animations ===== */
.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.animate-fade-in:nth-child(1) { animation-delay: 0.1s; }
.animate-fade-in:nth-child(2) { animation-delay: 0.2s; }
.animate-fade-in:nth-child(3) { animation-delay: 0.3s; }
.animate-fade-in:nth-child(4) { animation-delay: 0.4s; }

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.animate-slide-in {
    opacity: 0;
    transform: translateX(50px);
    animation: slideIn 1s ease forwards 0.3s;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 968px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-cabinets {
        display: none;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        align-items: center;
    }
    
    .workflow {
        grid-template-columns: 1fr;
    }
    
    .cta-content {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    :root {
        --spacing-lg: 3rem;
        --spacing-xl: 4rem;
    }
    
    .hero-title {
        font-size: 1.875rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .tariffs-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .cta-title {
        font-size: 1.5rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
    
    .cta-features {
        margin-bottom: var(--spacing-md);
    }
}

/* News Page Styles */
.page-header {
    /* background: linear-gradient(135deg, #2c5282 0%, #3182ce 100%); */
    color: white;
    padding: 4rem 0 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.news-list-section {
    padding: 4rem 0;
    background: #f8fafc;
}

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.news-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-item-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-item-date {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.news-item-category {
    background: #3182ce;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.news-item-category:contains("Праздники") {
    background: #10b981;
}

.news-item-category:contains("Важно") {
    background: #dc2626;
}

.news-item-category:contains("Акции") {
    background: #f59e0b;
}

.news-item-category:contains("Технологии") {
    background: #8b5cf6;
}

.news-item-title {
    margin-bottom: 1rem;
    line-height: 1.3;
}

.news-item-title a {
    color: #1e293b;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-item-title a:hover {
    color: #3182ce;
}

.news-item-excerpt {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.news-item-link {
    display: inline-flex;
    align-items: center;
    color: #3182ce;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.news-item-link:hover {
    color: #2c5282;
}

/* Pagination Styles - точно как в HTML */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 8px;
    background: white;
    color: #64748b;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination-btn:hover {
    background: #3182ce;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pagination-btn.active {
    background: #3182ce;
    color: white;
    box-shadow: 0 4px 8px rgba(49, 130, 206, 0.3);
}

.pagination-dots {
    color: #94a3b8;
    font-weight: 600;
    padding: 0 0.5rem;
}

/* No Posts Styles */
.no-posts {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.no-posts h2 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.no-posts p {
    color: #475569;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .page-header {
        padding: 2rem 0 1rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .news-item {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .news-item-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .news-item-title a {
        font-size: 1.25rem;
    }
    
    .pagination {
        gap: 0.25rem;
    }
    
    .pagination-btn {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}

/* Single News Article Styles */
.news-article {
    padding: 2rem 0 4rem;
    background: #ffffff;
    min-height: 70vh;
}

.article-header {
    /* text-align: center; */
    padding: 2rem 0 3rem;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    /* justify-content: center; */
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.article-date {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
}

.article-category {
    background: #3182ce;
    color: white;
    padding: 0.375rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin: 0;
    max-width: 800px;
    /* margin-left: auto; */
    margin-right: auto;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.7;
    color: #374151;
}

.article-lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: #1e293b;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-left: 4px solid #3182ce;
    border-radius: 0 8px 8px 0;
}

.article-content h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin: 2rem 0 1rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

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

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.article-content ul li::marker {
    content: '✓ ';
    color: #3182ce;
    font-weight: bold;
}

.article-content a {
    color: #3182ce;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.article-content a:hover {
    color: #1e40af;
    text-decoration: none;
}

.article-content strong {
    color: #1e293b;
    font-weight: 600;
}

.article-footer {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.article-footer p {
    margin-bottom: 0.75rem;
}

.article-footer p:last-child {
    margin-bottom: 0;
}

.article-signature {
    font-style: italic;
    color: #64748b;
    font-size: 1rem;
}

.article-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.page-links {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.page-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    text-decoration: none;
    color: #3182ce;
    font-weight: 500;
    transition: all 0.3s ease;
}

.page-links a:hover {
    background: #3182ce;
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-title {
        font-size: 2rem;
    }
    
    .article-content {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .article-lead {
        font-size: 1.125rem;
        padding: 1rem;
        margin-left: -1rem;
        margin-right: -1rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.25rem;
    }
    
    .article-nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .article-nav .btn {
        width: 100%;
        text-align: center;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.75rem;
    }
    
    .article-header {
        padding: 1rem 0 2rem;
    }
    
    .article-content {
        padding: 0 0.5rem;
    }
}

/* Header Navigation Styles - Fix for WordPress menu */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* WordPress menu list styles */
.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex !important;
    align-items: center;
    gap: 2rem;
    flex-direction: row !important;
}

.nav li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
    display: inline-block;
    padding: 0.5rem 0;
}

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

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav a:hover::after,
.nav .current-menu-item a::after {
    width: 100%;
}

/* Убираем все возможные вертикальные стили */
.nav .menu {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav .menu-item {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.nav .menu-item a {
    white-space: nowrap;
}

/* Mobile menu styles */
@media (max-width: 968px) {
    .nav {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background-color);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav ul,
    .nav .menu {
        flex-direction: column !important;
        gap: 1rem;
        width: 100%;
    }
    
    .nav a {
        font-size: 1.1rem;
        padding: 0.5rem 0;
        width: 100%;
        text-align: center;
    }
}

/* Logo Styles - Fix for WordPress */
.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.25rem;
    white-space: nowrap;
}

.logo-img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    white-space: nowrap;
}

/* WordPress custom logo fix */
.custom-logo-link {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    text-decoration: none;
}

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

/* Header content layout */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 1rem 0;
    flex-wrap: nowrap;
}

/* Сброс возможных конфликтующих стилей */
.logo * {
    box-sizing: border-box;
    float: none !important;
    clear: none !important;
}

.logo a img,
.logo a span {
    display: inline-block !important;
    vertical-align: middle;
}

/* Дополнительная специфичность для WordPress */
.site-header .logo a,
.header .logo a {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .logo-text {
        font-size: 1.1rem;
    }
    
    .logo-img,
    .custom-logo {
        height: 35px;
    }
}

@media (max-width: 480px) {
    .header-content {
        gap: 1rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-img,
    .custom-logo {
        height: 30px;
    }
}

/* ===================================
   TARIFFS PAGE STYLES
   =================================== */

.tariffs-page {
    padding: var(--spacing-xxl) 0;
    background: var(--bg-color);
}

.city-tariffs {
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xl);
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.city-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.city-icon {
    font-size: 2rem;
}

.tariffs-info-box {
    background: linear-gradient(135deg, var(--primary-color), #0a3a6b);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    color: white;
}

.tariffs-info-box p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.tariffs-info-box strong {
    font-weight: 600;
}

.tariffs-table-wrapper {
    overflow-x: auto;
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.tariffs-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
}

.tariffs-table thead {
    background: linear-gradient(135deg, var(--primary-color), #0a3a6b);
    color: white;
}

.tariffs-table th {
    padding: var(--spacing-md) var(--spacing-lg);
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
}

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

.tariffs-table tbody tr:hover {
    background: var(--bg-secondary);
}

.tariffs-table tbody tr.highlight-row {
    background: linear-gradient(90deg, rgba(255, 176, 0, 0.1), transparent);
}

.tariffs-table tbody tr.highlight-row:hover {
    background: linear-gradient(90deg, rgba(255, 176, 0, 0.15), transparent);
}

.tariffs-table td {
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 0.95rem;
    color: var(--text-color);
}

.tariffs-table td:nth-child(2) {
    font-weight: 600;
    color: var(--primary-color);
}

.tariff-notes {
    background: var(--bg-secondary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--accent-color);
}

.tariff-notes h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.tariff-notes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tariff-notes ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.tariff-notes ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.tariff-notes strong {
    color: var(--text-color);
}

.tariffs-cta {
    background: linear-gradient(135deg, var(--primary-color), #0a3a6b);
    padding: var(--spacing-xxl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin: var(--spacing-xxl) 0;
    color: white;
}

.tariffs-cta-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
}

.tariffs-cta-content p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-lg);
}

.tariffs-cta-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-md);
}

.tariffs-cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: var(--spacing-md);
}

.tariffs-disclaimer {
    background: var(--bg-secondary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-md);
    border: 2px solid var(--border-color);
}

.tariffs-disclaimer h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-color);
}

.tariffs-disclaimer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tariffs-disclaimer ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-muted);
}

.tariffs-disclaimer ul li::before {
    content: "ℹ️";
    position: absolute;
    left: 0;
}

/* Responsive for Tariffs Page */
@media (max-width: 968px) {
    .city-tariffs {
        padding: var(--spacing-lg);
    }
    
    .city-title {
        font-size: 1.5rem;
    }
    
    .tariffs-cta {
        padding: var(--spacing-xl);
    }
    
    .tariffs-cta-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .tariffs-table th,
    .tariffs-table td {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
    
    .tariffs-info-box {
        padding: var(--spacing-md);
    }
    
    .tariffs-info-box p {
        font-size: 1rem;
    }
    
    .tariffs-cta-buttons {
        flex-direction: column;
    }
    
    .tariffs-cta-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .city-tariffs {
        padding: var(--spacing-md);
    }
    
    .tariffs-table th,
    .tariffs-table td {
        padding: var(--spacing-sm);
        font-size: 0.85rem;
    }
    
    .tariff-notes,
    .tariffs-disclaimer {
        padding: var(--spacing-md);
    }
}

