/* Базовые стили */
:root {
    --primary-color: #6a4c93;
    --secondary-color: #8a5a44;
    --accent-color: #f8c537;
    --text-color: #333;
    --light-text: #f8f9fa;
    --bg-color: #f8f9fa;
    --dark-bg: #343a40;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #5a3d7d;
    transform: translateY(-2px);
}

/* Шапка сайта */
.header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/image/background.jpg') no-repeat center center;
    background-size: cover;
    color: var(--light-text);
    padding: 20px 0;
    position: relative;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    text-decoration: none;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--light-text);
}

.logo-accent {
    color: var(--accent-color);
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-list a:hover {
    color: var(--accent-color);
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
    transition: width 0.3s;
}

.nav-list a:hover::after {
    width: 100%;
}

/* Герой секция */
.hero {
    padding: 80px 0;
    text-align: center;
    background-color: #fff;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero-text {
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Формы */
.consultation-form, .subscribe-form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.subscribe-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.form-title {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 24px;
}

.form-group {
    margin-bottom: 20px;
    width: 100%;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-message {
    display: none;
    margin-top: 15px;
    padding: 10px;
    background-color: #d4edda;
    color: #155724;
    border-radius: 4px;
}

/* Услуги */
.services {
    padding: 80px 0;
    background-color: #f1f1f1;
}

.section-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--primary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    font-size: 50px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
}

.price {
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 15px;
}

/* Подписка */
.subscribe-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: white;
}

.subscribe-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.subscribe-text {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.subscribe-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
}

.subscribe-form {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.1);
}

/* Футер */
.footer {
    background-color: var(--dark-bg);
    color: var(--light-text);
    padding: 50px 0 20px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-logo .logo {
    font-size: 24px;
    margin-bottom: 20px;
}

.copyright {
    font-size: 14px;
    opacity: 0.7;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-contacts p {
    margin-bottom: 10px;
}

/* Адаптив */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
    }
    
    .nav-list {
        margin-top: 20px;
    }
    
    .nav-list li {
        margin-left: 15px;
        margin-right: 15px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
}

/* Стили для страницы услуг */
.services-page {
    padding: 60px 0;
}

.page-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 30px;
    font-size: 36px;
    color: var(--primary-color);
}

.page-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 18px;
    line-height: 1.6;
}

.services-category {
    margin-bottom: 60px;
}

.category-title {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 30px;
    font-size: 28px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--accent-color);
}

.service-card.detailed {
    text-align: left;
    padding: 30px;
    transition: all 0.3s ease;
}

.service-card.detailed:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-size: 22px;
}

.service-description {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
}

.service-features {
    margin: 15px 0;
    padding-left: 20px;
    font-size: 14px;
}

.service-features li {
    margin-bottom: 8px;
}

.price {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 20px;
    margin: 20px 0;
}

.services-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 20px;
}

.info-card ol, .info-card ul {
    padding-left: 20px;
    margin: 15px 0;
}

.info-card li {
    margin-bottom: 8px;
}

/* Секция заказа */
.order-section {
    padding: 60px 0;
    background-color: #f1f1f1;
}

.order-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.order-text {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.order-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.order-form {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.order-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    min-height: 120px;
    resize: vertical;
}

/* Адаптивность */
@media (max-width: 768px) {
    .page-title {
        font-size: 28px;
    }
    
    .category-title {
        font-size: 24px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .order-inner {
        flex-direction: column;
    }
    
    .order-text {
        margin-right: 0;
        margin-bottom: 30px;
    }
}

/* Стили для страниц политик */
.policy-page {
    padding: 60px 0;
    background-color: #fff;
}

.page-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: var(--primary-color);
}

.page-updated {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
    font-size: 14px;
}

.policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h2 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.policy-section p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.policy-section ul, .policy-section ol {
    margin: 15px 0;
    padding-left: 20px;
}

.policy-section li {
    margin-bottom: 8px;
}

.policy-section a {
    color: var(--primary-color);
    text-decoration: underline;
}

.policy-section a:hover {
    color: var(--secondary-color);
}

/* Адаптивность */
@media (max-width: 768px) {
    .policy-page {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .policy-section h2 {
        font-size: 20px;
    }
}
/* Стили для страницы "Обо мне" */
.about-page {
    padding: 80px 0;
    background-color: #fff;
}

.about-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 60px;
}

.about-photo {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-photo img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: block;
    margin: 0 auto;
}

.about-intro {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.about-name {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.about-title {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-quote {
    font-style: italic;
    padding: 20px;
    background-color: rgba(106, 76, 147, 0.05);
    border-left: 3px solid var(--accent-color);
    margin-bottom: 25px;
}

.about-social {
    display: flex;
    gap: 15px;
}

.social-link img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s;
}

.social-link:hover img {
    transform: translateY(-3px);
}

.about-content {
    max-width: 900px;
    margin: 0 auto 60px;
}

.about-section {
    margin-bottom: 50px;
}

.specialization-list {
    list-style-type: none;
}

.specialization-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.specialization-list li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 24px;
    position: absolute;
    left: 0;
    top: -3px;
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.principle-card {
    background-color: rgba(248, 197, 55, 0.1);
    padding: 25px;
    border-radius: 8px;
    border-top: 3px solid var(--accent-color);
}

.principle-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.principle-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.certificates {
    background-color: rgba(106, 76, 147, 0.05);
    padding: 30px;
    border-radius: 8px;
}

.certificate {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ddd;
}

.certificate:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.certificate h3 {
    color: var(--primary-color);
    margin-bottom: 5px;
}

.about-consultation {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.consultation-text {
    margin-bottom: 30px;
    font-size: 18px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-page {
        padding: 40px 0;
    }
    
    .about-name {
        font-size: 28px;
    }
    
    .about-title {
        font-size: 18px;
    }
    
    .about-quote {
        padding: 15px;
        font-size: 15px;
    }
    
    .about-section {
        margin-bottom: 40px;
    }
}
/* Стили для страницы отзывов */
.reviews-page {
    padding: 80px 0;
    background-color: #fff;
}

.page-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 15px;
    font-size: 36px;
    color: var(--primary-color);
}

.page-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
    font-size: 18px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.review-card {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 14px;
}

.review-author {
    font-weight: 600;
    color: var(--primary-color);
}

.review-date {
    color: #888;
}

.review-service {
    font-size: 14px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    font-style: italic;
}

.review-rating {
    color: var(--accent-color);
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.review-text {
    line-height: 1.6;
}

.review-text p {
    margin-bottom: 0;
}

/* Форма отзыва */
.review-form-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(106, 76, 147, 0.05);
    border-radius: 8px;
}

.review-form-section .section-title {
    text-align: center;
    margin-bottom: 15px;
}

.form-description {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
}

.review-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

.review-form select,
.review-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    margin-bottom: 20px;
}

.review-form textarea {
    min-height: 150px;
    resize: vertical;
}

.rating-select {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rating-select span {
    margin-right: 15px;
    font-weight: 500;
}

.stars {
    display: flex;
    direction: rtl;
    unicode-bidi: bidi-override;
}

.stars input {
    display: none;
}

.stars label {
    color: #ccc;
    font-size: 24px;
    padding: 0 5px;
    cursor: pointer;
}

.stars input:checked ~ label,
.stars label:hover,
.stars label:hover ~ label {
    color: var(--accent-color);
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.checkbox-group input {
    margin-right: 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-page {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .review-form-section {
        padding: 25px;
    }
}
/* Стили для страницы статей */
.articles-page {
    padding: 80px 0;
    background-color: #fff;
}

.page-title {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 15px;
    font-size: 36px;
    color: var(--primary-color);
}

.page-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
    font-size: 18px;
}

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 8px 16px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
}

.articles-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.article-card {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 40px;
}

.article-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 200px;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--accent-color);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.article-content {
    display: flex;
    flex-direction: column;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 10px;
}

.article-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #888;
}

.article-excerpt {
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
    align-self: flex-start;
}

.read-more:hover {
    text-decoration: underline;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 50px;
}

.page-numbers,
.next-page {
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    color: var(--primary-color);
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.page-numbers.active,
.page-numbers:hover,
.next-page:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Адаптивность */
@media (max-width: 768px) {
    .articles-page {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 28px;
    }
    
    .article-card {
        grid-template-columns: 1fr;
    }
    
    .article-image {
        height: 200px;
    }
    
    .filter-btn {
        padding: 6px 12px;
        font-size: 14px;
    }
}
/* Стили для страницы статьи */
.article-page {
    padding: 60px 0;
    background-color: #fff;
    line-height: 1.7;
}

.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: #666;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.article-header {
    margin-bottom: 40px;
}

.article-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #888;
}

.article-category {
    color: var(--accent-color);
    font-weight: 500;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 30px;
    color: var(--primary-color);
    line-height: 1.3;
}

.article-image {
    margin-bottom: 30px;
    border-radius: 8px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin: 40px 0 20px;
    font-size: 28px;
}

.article-content ol, 
.article-content ul {
    margin: 20px 0;
    padding-left: 25px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-intro {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 30px;
}

.article-note {
    background-color: rgba(248, 197, 55, 0.1);
    padding: 20px;
    border-left: 3px solid var(--accent-color);
    margin: 30px 0;
    font-style: italic;
}

.article-quote {
    background-color: rgba(106, 76, 147, 0.05);
    padding: 30px;
    margin: 40px 0;
    text-align: center;
    border-radius: 8px;
}

.article-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.article-quote cite {
    font-style: normal;
    color: #666;
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.tags {
    font-size: 14px;
}

.tags a {
    color: var(--primary-color);
    text-decoration: none;
    margin-right: 8px;
}

.tags a:hover {
    text-decoration: underline;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 15px;
}

.article-share span {
    font-size: 14px;
    color: #666;
}

.social-share img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s;
}

.social-share:hover img {
    transform: translateY(-3px);
}

.recommended-articles {
    margin-top: 60px;
}

.recommended-articles h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
}

.recommended-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.recommended-item {
    background: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.recommended-item:hover {
    transform: translateY(-5px);
}

.recommended-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.recommended-item h3 {
    padding: 20px;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
}

.recommended-item a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .article-page {
        padding: 30px 0;
    }
    
    .article-title {
        font-size: 28px;
    }
    
    .article-content h2 {
        font-size: 24px;
    }
    
    .article-footer {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .article-meta {
        flex-wrap: wrap;
    }
}
/* Добавьте эти стили к существующим */

.articles-loading {
    text-align: center;
    padding: 3rem 0;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #8b5cf6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    color: #ef4444;
    padding: 2rem;
    background: #fef2f2;
    border-radius: 8px;
    margin: 2rem 0;
}

.no-articles {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    font-style: italic;
}

.article-card[data-category] {
    border-left: 4px solid #e5e7eb;
}

.article-card[data-category="zodiac"] {
    border-left-color: #8b5cf6;
}

.article-card[data-category="planets"] {
    border-left-color: #f59e0b;
}

.article-card[data-category="compatibility"] {
    border-left-color: #ec4899;
}

.article-card[data-category="forecasts"] {
    border-left-color: #10b981;
}

.article-card[data-category="questions"] {
    border-left-color: #3b82f6;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .category-filter {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 1rem;
    }
    
    .filter-btn {
        display: inline-block;
        margin-right: 0.5rem;
    }
}

/* Стили для блоков категорий */
.category-block {
    margin-bottom: 4rem;
}

.category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.article-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-content {
    padding: 1.5rem;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-color);
    text-decoration: none;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #888;
}

.category-footer {
    text-align: center;
}

.see-all-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    transition: all 0.3s ease;
}

.see-all-link:hover {
    background: var(--primary-color);
    color: white;
}

/* Адаптивность */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        padding: 1rem;
    }
}

/* Hero секция */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--text-color);
}

.btn-secondary {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

/* Статистика */
.stats-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-card {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* О проекте */
.about-preview {
    padding: 80px 0;
    background: white;
}

.about-preview-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

/* Социальные ссылки в футере */
.footer-social {
    text-align: right;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-links a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: background 0.3s;
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .about-preview-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-social {
        text-align: center;
    }
}

.categories-page {
    padding: 80px 0;
    background: #fff;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.page-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.categories-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 4rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.category-stats {
    text-align: right;
}

.article-count {
    display: block;
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.category-rating {
    display: inline-block;
    background: #ffd70020;
    color: #b8860b;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.category-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.category-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.category-description {
    color: #666;
    line-height: 1.5;
}

.category-footer {
    margin-top: auto;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.categories-loading {
    text-align: center;
    padding: 3rem;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    text-align: center;
    padding: 2rem;
    background: #fef2f2;
    border-radius: 8px;
    color: #dc2626;
    grid-column: 1 / -1;
}

/* Адаптивность */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
}

/* Добавить в style.css */

.articles-listing-page {
    padding: 60px 0;
    background: #f8f9fa;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.articles-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.articles-stats .stat {
    text-align: center;
}

.articles-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.articles-stats .stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Панель фильтров */
.filters-panel {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    align-items: end;
}

.filters-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filters-group label {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.filter-select,
.search-input {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
    background: white;
}

.filter-select:focus,
.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-input {
    width: 100%;
}

/* Сетка статей */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.article-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.article-rating {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    color: #b8860b;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.article-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
}

.article-title a:hover {
    color: var(--primary-color);
}

.article-excerpt {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: #888;
    margin-top: auto;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-btn,
.pagination-number {
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.pagination-btn:hover,
.pagination-number:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Сообщение "нет статей" */
.no-articles {
    text-align: center;
    padding: 4rem 2rem;
    grid-column: 1 / -1;
}

.no-articles-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.5;
}

.no-articles h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.no-articles p {
    color: #666;
    margin-bottom: 2rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .articles-listing-page {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .filters-panel {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .articles-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pagination {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .article-card {
        margin: 0 -1rem;
        border-radius: 0;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    .article-content {
        padding: 1rem;
    }
}

/* Улучшенная пагинация */
.pagination-ellipsis {
    padding: 0.75rem 0.5rem;
    color: #666;
}

/* Сообщения об ошибках */
.error-message {
    text-align: center;
    padding: 3rem 2rem;
    background: #fef2f2;
    border-radius: 12px;
    border: 1px solid #fecaca;
}

.error-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.error-message h3 {
    color: #dc2626;
    margin-bottom: 1rem;
}

.error-message p {
    color: #7f1d1d;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Теги статей */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.tag {
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s;
}

.tag:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.tag-more {
    background: #dbeafe;
    color: #1e40af;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

/* Адаптивность для пагинации */
@media (max-width: 768px) {
    .pagination {
        flex-wrap: wrap;
        gap: 0.25rem;
    }
    
    .pagination-btn,
    .pagination-number {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .error-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .error-actions .btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .pagination-number:not(.active) {
        display: none;
    }
    
    .pagination-number.active {
        display: inline-block;
    }
    
    .pagination-ellipsis {
        display: none;
    }
}

/* Стили для страницы "О проекте" */
.about-page {
    padding: 80px 0;
    background: #fff;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 4rem;
    padding: 3rem 0;
    border-bottom: 1px solid #f0f0f0;
}

.about-section:last-child {
    border-bottom: none;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0;
}

.section-icon {
    font-size: 2rem;
}

.section-content {
    line-height: 1.7;
}

.section-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--text-color);
}

/* Principles List */
.principles-list {
    display: grid;
    gap: 2rem;
}

.principle-item {
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.principle-item h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-year {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-right: 2rem;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.timeline-content {
    flex: 1;
    padding-top: 0.5rem;
}

.timeline-content h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    padding: 2rem;
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1rem;
}

.team-member h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
}

.member-role {
    color: var(--secondary-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.member-bio {
    color: #666;
    line-height: 1.6;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stats-grid .stat-card {
    padding: 2rem 1rem;
}

.stats-grid .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-grid .stat-label {
    font-size: 1rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* CTA Section */
.about-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: white;
    border-radius: 20px;
    margin-top: 4rem;
}

.about-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Стили для страницы контактов */
.contact-page {
    padding: 80px 0;
    background: #f8f9fa;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-info {
    display: grid;
    gap: 2rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-card p {
    color: #666;
    margin-bottom: 1rem;
}

.contact-card a {
    color: var(--primary-color);
    font-weight: 500;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.social-link:hover {
    background: #5a3d7d;
    text-decoration: none;
}

/* Contact Form */
.contact-form-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-form-section h2 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.contact-form-section > p {
    color: #666;
    margin-bottom: 2rem;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-color);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-message {
    display: none;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

/* FAQ Preview */
.faq-preview {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-preview h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.faq-item h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.faq-actions {
    text-align: center;
}

/* Стили для страницы FAQ */
.faq-page {
    padding: 80px 0;
    background: #fff;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
    justify-content: center;
}

.faq-category-btn {
    padding: 1rem 2rem;
    background: #f8f9fa;
    border: 2px solid #e5e7eb;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.faq-category-btn.active,
.faq-category-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-category-section {
    display: none;
}

.faq-category-section.active {
    display: block;
}

.faq-category-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    background: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--primary-color);
}

.faq-answer {
    padding: 0 1.5rem;
    display: none;
    background: white;
}

.faq-answer p {
    margin: 1.5rem 0;
    line-height: 1.6;
}

.faq-answer ol,
.faq-answer ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

.faq-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: #f8f9fa;
    border-radius: 20px;
    margin-top: 4rem;
}

.faq-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.faq-cta p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .about-section {
        padding: 2rem 0;
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
    
    .features-grid,
    .team-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-year {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
        margin-right: 1rem;
    }
    
    .about-cta,
    .faq-cta {
        padding: 2rem 1rem;
    }
    
    .about-cta h2,
    .faq-cta h2 {
        font-size: 1.5rem;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .faq-categories {
        flex-direction: column;
    }
    
    .faq-category-btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .about-page,
    .contact-page,
    .faq-page {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .contact-card,
    .contact-form-section,
    .faq-preview {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Стили для отдельной статьи */
.article-page {
    padding: 40px 0;
    background: #fff;
    line-height: 1.7;
}

.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: #666;
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

.article-header {
    margin-bottom: 3rem;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: #666;
}

.article-category {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-weight: 500;
}

.article-rating {
    color: #f59e0b;
    font-weight: 500;
}

.article-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.article-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-color);
}

.author-role {
    font-size: 0.9rem;
    color: #666;
}

.article-image {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.article-intro {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.article-content h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin: 3rem 0 1.5rem;
    font-size: 1.8rem;
}

.article-content h3 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    margin: 2rem 0 1rem;
    font-size: 1.4rem;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content ol,
.article-content ul {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-content li {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.article-note {
    background: rgba(248, 197, 55, 0.1);
    padding: 1.5rem;
    border-left: 4px solid var(--accent-color);
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.article-note p {
    margin: 0;
    font-style: italic;
}

.article-quote {
    background: rgba(106, 76, 147, 0.05);
    padding: 2.5rem;
    margin: 3rem 0;
    text-align: center;
    border-radius: 12px;
    border: 1px solid rgba(106, 76, 147, 0.1);
}

.article-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-style: italic;
}

.article-quote cite {
    font-style: normal;
    color: #666;
    font-size: 0.9rem;
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}

.fact-col {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.fact-col h3 {
    margin-top: 0;
    color: var(--primary-color);
}

.article-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
    flex-wrap: wrap;
    gap: 2rem;
}

.article-tags {
    flex: 1;
    min-width: 300px;
}

.article-tags strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.article-tags a {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    margin: 0.25rem;
    transition: all 0.2s;
}

.article-tags a:hover {
    background: var(--primary-color);
    color: white;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-buttons {
    display: flex;
    gap: 0.5rem;
}

.share-btn {
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.share-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Похожие статьи */
.related-articles {
    padding: 4rem 0;
    background: #f8f9fa;
}

.related-articles h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-article {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.related-article:hover {
    transform: translateY(-5px);
}

.related-image {
    height: 200px;
    overflow: hidden;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-article:hover .related-image img {
    transform: scale(1.05);
}

.related-content {
    padding: 1.5rem;
}

.related-content h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.related-content h3 a {
    color: var(--text-color);
    text-decoration: none;
}

.related-content h3 a:hover {
    color: var(--primary-color);
}

.related-content p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #888;
}

/* Адаптивность */
@media (max-width: 768px) {
    .article-page {
        padding: 20px 0;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-meta {
        gap: 1rem;
    }
    
    .article-author {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .article-quote {
        padding: 1.5rem;
    }
    
    .article-quote p {
        font-size: 1.2rem;
    }
    
    .facts-grid {
        grid-template-columns: 1fr;
    }
    
    .article-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .article-tags {
        min-width: auto;
    }
    
    .article-share {
        justify-content: center;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-intro {
        font-size: 1.1rem;
        padding: 1rem;
    }
    
    .article-content {
        padding: 0 1rem;
    }
    
    .breadcrumbs {
        font-size: 0.8rem;
    }
}

/* Стили для футера с контактами */
.footer-contacts {
    text-align: right;
}

.footer-contacts > p {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--light-text);
}

.contact-emails {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.email-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.email-item strong {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.email-item a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.email-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Адаптивность для футера */
@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-contacts {
        text-align: center;
    }
    
    .contact-emails {
        align-items: center;
    }
}

@media (max-width: 480px) {
    .email-item {
        text-align: center;
    }
    
    .email-item strong {
        font-size: 0.8rem;
    }
    
    .email-item a {
        font-size: 0.85rem;
    }
}