/* Главная страница */
.hero {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
}

.hero-graphic {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 400px;
}

.hero-icon {
    font-size: 8rem;
    color: var(--primary-color);
    animation: float 3s ease-in-out infinite;
}

.floating-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.card-1 {
    top: 20%;
    left: -10%;
    animation-delay: 0s;
}
.card-2 {
    top: 50%;
    right: -10%;
    animation-delay: 1s;
}
.card-3 {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

h4 {
    font-size: 1rem;
}

/* Услуги */
.services {
    background: var(--surface-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--gradient-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.service-features i {
    color: var(--secondary-color);
}

/* О нас */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.advantages {
    margin-top: 2rem;
}

.advantage {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.advantage-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 0.5rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.tech-stack {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-3px);
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Процесс работы */
.process {
    background: var(--surface-color);
}

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

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

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* Контакты */
.contact {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact h2 {
    color: white;
    margin-bottom: 1rem;
}

.contact p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-method i {
    font-size: 1.5rem;
    color: var(--primary-light);
}

.contact-method a {
    color: white;
}

.contact-method div h4 {
    margin-bottom: 0;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-container h3 {
    color: white;
    margin-bottom: 1.5rem;
}

/* CTA секция */
.cta {
    background: var(--surface-color);
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Блог */
.blog-header {
    padding: 6rem 0 2rem;
    background: var(--surface-color);
    text-align: center;
}

.blog-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.articles-grid {
    display: grid;
    gap: 2rem;
}

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

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-date {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    margin-bottom: 0.5rem;
}

.article-content h3 a {
    color: var(--text-color);
}

.article-excerpt {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
}

.tag {
    background: var(--surface-color);
    color: var(--text-light);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.popular-articles {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popular-article {
    display: flex;
    gap: 1rem;
}

.popular-article-image {
    width: 80px;
    height: 60px;
    border-radius: 0.5rem;
    overflow: hidden;
    flex-shrink: 0;
}

.popular-article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-article-content h4 {
    font-size: 0.875rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.popular-article-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cta-widget {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.cta-widget h3 {
    color: white;
}

.cta-widget p {
    color: rgba(255, 255, 255, 0.8);
}

/* Новостная рассылка */
.newsletter {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0;
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.newsletter-text h2 {
    color: white;
    margin-bottom: 1rem;
}

.newsletter-text p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    display: flex;
    gap: 1rem;
}

.newsletter-form .form-group {
    flex: 1;
    margin-bottom: 0;
}

.newsletter-form input {
    background: rgba(255, 255, 255, 0.9);
    width: auto;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.author-info h4 {
    margin-bottom: 0.5rem;
}

.author-info p {
    color: var(--text-light);
    font-size: 0.875rem;
}

.related-posts {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    gap: 20px;
    display: grid;
}

.related-post {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-radius: 1rem;
    background: white;
}

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

.related-post-image {
    width: 100px;
    height: 100px;
    border-radius: 1rem;
    overflow: hidden;
    flex-shrink: 0;
}

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

.sidebar-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
}

.cta-widget-content i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.cta-widget-content h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-widget-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.cta-widget-content button,
.cta-content button {
    background: var(--background-color);
    color: var(--primary-dark);
}

.cta-widget-content button:hover,
.cta-content button:hover {
    background: var(--primary-dark);
    color: white;
}

.comments {
    background: var(--surface-color);
    padding: 3rem 0;
}

.comments-placeholder {
    text-align: center;
    padding: 3rem;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.comments-placeholder i {
    font-size: 3rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: block;
}

.more-posts {
    padding: 4rem 0;
}

.more-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mini-post-image {
    height: 200px;
    overflow: hidden;
}

.mini-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-post-content {
    padding: 1.5rem;
}

.mini-post-date {
    color: var(--text-light);
    font-size: 0.875rem;
}

.mini-post-content h3 {
    margin: 0.5rem 0;
    line-height: 1.4;
}

.mini-post-content h3 a {
    color: var(--text-color);
}

.read-more-small {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 1rem;
}

/* Отдельная статья */
.breadcrumbs {
    padding: 6rem 0 1rem;
    background: var(--surface-color);
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.breadcrumb-nav i {
    color: var(--text-light);
    font-size: 0.75rem;
}

.blog-post {
    padding: 2rem 0;
}

.post-header {
    text-align: center;
    margin-bottom: 2rem;
}

.post-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--text-light);
}

.post-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    font-size: 1.25rem;
    color: var(--text-light);
}

.post-image {
    margin-bottom: 3rem;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: 400px;
    border-radius: 1rem;
    object-fit: cover;
}

.post-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Динамическое изменение ширины когда sidebar становится невидимым */
@media (min-width: 768px) {
    .post-content:has(.post-sidebar:empty),
    .post-content:has(.post-sidebar .related-posts:empty) {
        grid-template-columns: 1fr;
    }
}

.post-body {
    font-size: 1.125rem;
    line-height: 1.8;
}

.post-body h2,
.post-body h3 {
    margin: 2rem 0 1rem;
}

.post-body ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.post-body li {
    margin-bottom: 0.5rem;
}

.post-highlight {
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.post-tags,
.post-share {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.post-tags h4,
.post-share h4 {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-telegram {
    background: #26a5e4;
    color: white;
}
.share-vk {
    background: #4c75a3;
    color: white;
}
.share-twitter {
    background: #1da1f2;
    color: white;
}

.post-cta {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 1rem;
    margin-top: 3rem;
}

.post-cta h3 {
    color: white;
    margin-bottom: 1rem;
}

.post-cta p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.post-contact-form input,
.post-contact-form textarea {
    background: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

/* Стили для страницы политики конфиденциальности */
.privacy-page {
    padding: 6rem 0 2rem;
    background: var(--surface-color);
    min-height: 100vh;
}

.privacy-header {
    text-align: center;
    margin-bottom: 3rem;
}

.privacy-header h1 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.privacy-meta {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    text-align: left;
}

.privacy-meta p {
    margin: 0.5rem 0;
    color: var(--text-light);
}

.privacy-content {
    background: white;
    padding: 3rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
}

.privacy-section {
    margin-bottom: 2.5rem;
}

.privacy-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--surface-color);
    padding-bottom: 0.5rem;
}

.privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

.privacy-section ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.privacy-footer {
    text-align: center;
}

/* Стили для кейсов */
.cases {
    padding: 4rem 0;
    background: var(--surface-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.05);
}

.case-content {
    padding: 1.5rem;
}

.case-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.case-content h3 {
    color: var(--text-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    line-height: 1.4;
}

.case-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.case-results {
    display: flex;
    gap: 1.5rem;
}

.result {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.result-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1;
}

.result-label {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Стили для отзывов */
.reviews {
    padding: 4rem 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card::before {
    content: '“';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.review-rating i {
    color: #fbbf24;
    font-size: 1rem;
}

.review-card blockquote {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0 0 1.5rem 0;
    font-style: italic;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0 0 0.25rem 0;
    color: var(--text-color);
    font-size: 0.9rem;
}

.author-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.8rem;
}

/* Стили для медиа галереи */
.post-media-gallery {
    margin: 30px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.swiper {
    width: 100%;
    height: 400px;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #f8f9fa;
}

.swiper-slide img,
.swiper-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.swiper-slide:hover img,
.swiper-slide:hover video {
    transform: scale(1.05);
}

.media-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 30px 20px 15px;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.swiper-slide:hover .media-caption {
    opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
    color: #3498db !important;
    background: rgba(255, 255, 255, 0.9);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 16px !important;
}

.swiper-pagination-bullet {
    background: #3498db !important;
    opacity: 0.5;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
}

/* Добавляем форму для рядов */
.form-row {
    display: flex;
    gap: 1rem;
}

.form-row input {
    flex: 1;
}

/* Недостающие стили */
.post-main {
    width: 100%;
}

.post-sidebar {
    width: 100%;
}

.author-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--surface-color);
    padding: 1.5rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.author-card .author-avatar {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.mini-post-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Исправляем контейнеры для правильного отображения */
.section {
    padding: 4rem 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Обеспечиваем правильное поведение изображений */
img {
    max-width: 100%;
    height: auto;
}

/* Убираем горизонтальный скролл */
* {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
}

/* Предотвращаем переполнение контента */
.post-body pre,
.post-body code {
    overflow-x: auto;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.post-body table {
    width: 100%;
    overflow-x: auto;
    display: block;
    white-space: nowrap;
}

.post-body img,
.post-body iframe,
.post-body video {
    max-width: 100%;
    height: auto;
}

/* МЕДИА-ЗАПРОСЫ ДЛЯ АДАПТИВНОСТИ */

/* Планшеты и небольшие десктопы */
@media (max-width: 1024px) {
    .hero-content,
    .about-content,
    .contact-content,
    .newsletter-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .post-content,
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .post-title {
        font-size: 2.5rem;
    }

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

/* Мобильные устройства */
@media (max-width: 768px) {
    .hero {
        padding: 4rem 0 2rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .hero-stats {
        justify-content: center;
        gap: 1.5rem;
    }

    .hero-graphic {
        height: 300px;
        margin-top: 2rem;
    }

    .hero-icon {
        font-size: 6rem;
    }

    /* Сетки на мобильных */
    .services-grid,
    .process-steps,
    .more-posts-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .cases-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Блог */
    .blog-header {
        padding: 4rem 0 1.5rem;
    }

    .breadcrumbs {
        padding: 5rem 0 0.5rem;
    }

    .breadcrumb-nav {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }

    .post-header {
        margin-bottom: 1.5rem;
    }

    .post-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .post-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .post-excerpt {
        font-size: 1.125rem;
    }

    .post-image {
        margin-bottom: 2rem;
    }

    .post-image img {
        height: 250px;
    }

    .post-body {
        font-size: 1rem;
        line-height: 1.7;
    }

    .post-body h2 {
        font-size: 1.5rem;
        margin: 1.5rem 0 0.75rem;
    }

    .post-body h3 {
        font-size: 1.25rem;
        margin: 1.25rem 0 0.5rem;
    }

    .post-highlight {
        padding: 1rem;
        margin: 1rem 0;
    }

    /* Социальные кнопки */
    .share-buttons {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .share-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    /* Формы */
    .form-row {
        flex-direction: column;
        gap: 0.75rem;
    }

    .post-cta {
        padding: 1.5rem;
        margin-top: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
        gap: 0.75rem;
    }

    /* Карточки */
    .author-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .related-post {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .related-post-image {
        width: 100%;
        height: 150px;
    }

    .popular-article {
        flex-direction: column;
        gap: 0.75rem;
    }

    .popular-article-image {
        width: 100%;
        height: 120px;
    }

    /* Медиа галерея */
    .swiper {
        height: 250px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }

    .media-caption {
        padding: 20px 15px 10px;
        font-size: 12px;
    }

    /* Статистика и результаты */
    .case-results {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .result {
        padding: 1rem;
        background: rgba(255, 255, 255, 0.8);
        border-radius: 0.75rem;
        min-width: 120px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .result-number {
        font-size: 1.25rem !important;
        font-weight: 700;
    }

    .result-label {
        font-size: 0.75rem !important;
        margin-top: 0.5rem;
    }

    /* CTA виджеты */
    .cta-content h2 {
        font-size: 2rem;
    }

    .sidebar-cta {
        padding: 1.5rem;
    }

    /* Отступы разделов */
    .section {
        padding: 3rem 0;
    }

    .more-posts {
        padding: 3rem 0;
    }

    .comments {
        padding: 2rem 0;
    }

    /* Приватность */
    .privacy-page {
        padding: 4rem 0 1rem;
    }

    .privacy-content {
        padding: 2rem;
    }

    .privacy-meta {
        padding: 1rem;
    }
}

/* Очень маленькие экраны */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
        max-width: 100%;
    }

    body {
        font-size: 14px;
    }

    .post-title {
        font-size: 1.75rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .post-body h2 {
        font-size: 1.25rem;
    }

    .post-body h3 {
        font-size: 1.125rem;
    }

    .swiper {
        height: 200px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .advantage {
        gap: 0.75rem;
    }

    .advantage-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1rem;
    }

    .step-number {
        width: 3rem;
        height: 3rem;
        font-size: 1.25rem;
    }

    /* Теги */
    .tags {
        gap: 0.25rem;
    }

    .tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }

    /* Мини-посты */
    .mini-post-content {
        padding: 1rem;
    }

    .mini-post-content h3 {
        font-size: 1rem;
    }
}
