/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #059669;
    --accent: #f59e0b;
    --text: #1f2937;
    --text-light: #6b7280;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --radius-lg: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn--primary {
    background: var(--primary);
    color: white;
}

.btn--primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn--outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--outline:hover {
    background: var(--primary);
    color: white;
}

.btn--outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn--outline-light:hover {
    background: white;
    color: var(--primary);
}

.btn--light {
    background: white;
    color: var(--primary);
}

.btn--light:hover {
    background: var(--bg-light);
}

.btn--large {
    padding: 16px 32px;
    font-size: 16px;
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo__icon {
    font-size: 28px;
}

.header__contacts {
    display: flex;
    align-items: center;
    gap: 24px;
}

.phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: color 0.3s;
}

.phone:hover {
    color: var(--primary);
}

.phone__icon {
    font-size: 20px;
}

/* Hero */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero__title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text);
}

.hero__subtitle {
    display: block;
    font-size: 24px;
    font-weight: 500;
    color: var(--primary);
    margin-top: 10px;
}

.hero__description {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero__stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat__number {
    display: block;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
}

.stat__label {
    font-size: 14px;
    color: var(--text-light);
}

.hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero__card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
    max-width: 300px;
}

.hero__card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.hero__card p {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}

/* Sections */
section {
    padding: 80px 0;
}

.section__title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--text);
}

.section__subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 48px;
}

/* Services */
.services {
    background: var(--bg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.service-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-card__icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.service-card__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.service-card__desc {
    color: var(--text-light);
    line-height: 1.6;
}

/* Calculator */
.calculator {
    background: var(--bg-light);
}

.calculator__wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.calculator__header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.calculator__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.calculator__subtitle {
    opacity: 0.9;
    font-size: 16px;
}

.calculator__body {
    padding: 40px;
}

.calc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
}

.calc-row:last-of-type {
    border-bottom: none;
}

.calc-label {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-label__icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-label__title {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: var(--text);
}

.calc-label__hint {
    display: block;
    font-size: 14px;
    color: var(--text-light);
    margin-top: 4px;
}

.calc-control {
    display: flex;
    align-items: center;
    gap: 16px;
}

.calc-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border);
    background: white;
    border-radius: 8px;
    font-size: 20px;
    font-weight: 600;
    color: var(--primary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calc-btn:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: white;
}

.calc-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    min-width: 100px;
    text-align: center;
}

.calculator__result {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    margin: 32px 0;
}

.result-label {
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.result-price {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.result-economy {
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--secondary);
    color: white;
    border-radius: 20px;
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
}

.calculator__actions {
    text-align: center;
}

.calculator__note {
    margin-top: 16px;
    color: var(--secondary);
    font-size: 14px;
}

/* Advantages */
.advantages {
    background: white;
}

.advantages__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.advantage {
    text-align: center;
    padding: 32px;
}

.advantage__icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.advantage__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
}

.advantage__text {
    color: var(--text-light);
    line-height: 1.6;
}

/* Process */
.process {
    background: var(--bg-light);
}

.process__steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.step {
    background: white;
    padding: 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 220px;
    text-align: center;
    position: relative;
}

.step__number {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 16px;
}

.step__title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.step__text {
    font-size: 14px;
    color: var(--text-light);
}

.step__arrow {
    font-size: 32px;
    color: var(--primary);
    font-weight: 700;
}

/* Reviews */
.reviews {
    background: white;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

.review {
    background: var(--bg-light);
    padding: 32px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.review__stars {
    color: var(--accent);
    font-size: 20px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review__text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}

.review__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review__avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.review__name {
    font-weight: 600;
    color: var(--text);
}

.review__company {
    font-size: 14px;
    color: var(--text-light);
}

/* CTA */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
}

.cta__title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta__text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta__buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 60px 0 24px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer__text {
    color: #94a3b8;
    margin-top: 16px;
    line-height: 1.6;
}

.footer__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer__links {
    list-style: none;
}

.footer__links li {
    margin-bottom: 12px;
}

.footer__links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
}

.footer__links a:hover {
    color: white;
}

.footer__contact {
    color: #94a3b8;
    line-height: 2;
}

.footer__contact a {
    color: #94a3b8;
    text-decoration: none;
}

.footer__contact a:hover {
    color: white;
}

.footer__bottom {
    border-top: 1px solid #334155;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 14px;
}

.footer__bottom a {
    color: #64748b;
    text-decoration: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal__content {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 90%;
    position: relative;
    z-index: 1;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.modal__close:hover {
    background: var(--border);
}

.modal__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.modal__text {
    color: var(--text-light);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-note {
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 968px) {
    .hero__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__stats {
        justify-content: center;
    }

    .hero__actions {
        justify-content: center;
    }

    .hero__image {
        order: -1;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process__steps {
        flex-direction: column;
    }

    .step__arrow {
        transform: rotate(90deg);
    }
}

@media (max-width: 640px) {
    .header__contacts .btn {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .hero__title {
        font-size: 28px;
    }

    .calc-row {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .calc-control {
        width: 100%;
        justify-content: space-between;
    }

    .services__grid,
    .reviews__grid {
        grid-template-columns: 1fr;
    }

    .footer__bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
/* Blog Section */
.blog {
    background: var(--bg-light);
    padding: 80px 0;
}

.blog__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.blog-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.blog-card--featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-card__image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card__image--small {
    min-height: 120px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.blog-card__badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.blog-card__icon {
    font-size: 48px;
}

.blog-card__icon-large {
    font-size: 80px;
    opacity: 0.3;
}

.blog-card__icon-large--pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.blog-card__content {
    padding: 24px;
}

.blog-card__content--center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 280px;
}

.blog-card__meta {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-light);
}

.blog-card__date {
    position: relative;
}

.blog-card__date::after {
    content: '•';
    position: absolute;
    right: -10px;
    color: var(--border);
}

.blog-card__title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-card--featured .blog-card__title {
    font-size: 22px;
}

.blog-card__excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-card__link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.3s;
}

.blog-card__link:hover {
    gap: 8px;
}

.blog-card--cta {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px dashed var(--primary-light);
}

.blog-card--cta .blog-card__title {
    margin: 16px 0 8px;
}

.blog__footer {
    text-align: center;
}

/* Article Modal */
.article-modal .modal__content {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.article-content {
    line-height: 1.8;
    color: var(--text);
}

.article-content h2 {
    font-size: 24px;
    margin: 32px 0 16px;
    color: var(--text);
}

.article-content h3 {
    font-size: 20px;
    margin: 24px 0 12px;
    color: var(--text);
}

.article-content p {
    margin-bottom: 16px;
}

.article-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content strong {
    color: var(--primary);
}

.article-highlight {
    background: var(--bg-light);
    border-left: 4px solid var(--primary);
    padding: 20px;
    margin: 24px 0;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.article-tip {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 20px;
    border-radius: var(--radius);
    margin: 24px 0;
}

.article-tip::before {
    content: '💡 Совет: ';
    font-weight: 600;
    color: var(--secondary);
}

/* Responsive Blog */
@media (max-width: 968px) {
    .blog__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-card--featured {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .blog__grid {
        grid-template-columns: 1fr;
    }

    .blog-card--featured {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .blog-card__image {
        min-height: 160px;
    }
}
/* Navigation */
.nav {
    display: flex;
    gap: 32px;
}

.nav__link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: var(--primary);
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid var(--border);
    padding: 20px;
    box-shadow: var(--shadow);
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    display: block;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 60px 0 60px;
    margin-top: 72px;
}

.breadcrumbs {
    margin-bottom: 24px;
    font-size: 14px;
    opacity: 0.8;
}

.breadcrumbs a {
    color: white;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.breadcrumbs span {
    margin: 0 8px;
}

.page-header__title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
}

.page-header__subtitle {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
}

/* Blog Filter */
.blog-filter {
    background: white;
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 72px;
    z-index: 100;
}

.blog-filter .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.filter__tags {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter__tag {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.filter__tag:hover,
.filter__tag.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.search-box {
    position: relative;
    min-width: 280px;
}

.search-input {
    width: 100%;
    padding: 12px 40px 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

/* Blog Page Grid */
.blog-page {
    background: var(--bg-light);
    padding: 40px 0 80px;
}

.blog-page__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.blog-card--large {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.blog-card__category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--primary);
    color: white;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    margin-right: 12px;
}

.blog-card__stats {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: var(--text-light);
}

.blog-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 16px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
}

.pagination__btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.pagination__btn:hover,
.pagination__btn--active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.pagination__dots {
    display: flex;
    align-items: center;
    padding: 0 8px;
    color: var(--text-light);
}

.pagination__btn--next {
    width: auto;
    padding: 0 16px;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: var(--radius-lg);
    padding: 48px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
}

.newsletter__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.newsletter__text {
    color: var(--text-light);
}

.newsletter__form {
    display: flex;
    gap: 12px;
    min-width: 400px;
}

.newsletter__input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 16px;
}

.newsletter__input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Responsive Blog Page */
@media (max-width: 968px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .blog-page__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-card--large {
        grid-column: span 2;
    }

    .newsletter {
        flex-direction: column;
        text-align: center;
    }

    .newsletter__form {
        min-width: 100%;
    }
}

@media (max-width: 640px) {
    .page-header__title {
        font-size: 28px;
    }

    .blog-filter .container {
        flex-direction: column;
        align-items: stretch;
    }

    .search-box {
        min-width: 100%;
    }

    .blog-page__grid {
        grid-template-columns: 1fr;
    }

    .blog-card--large {
        grid-column: span 1;
        grid-template-columns: 1fr;
    }

    .blog-card__image {
        min-height: 160px;
    }

    .newsletter {
        padding: 24px;
    }

    .newsletter__form {
        flex-direction: column;
    }
}