/*
==========================================================================
Основные стили для темы Dietolog-darya
==========================================================================
*/

/*
==========================================================================
Хлебные крошки
==========================================================================
*/

.breadcrumbs {
    padding: 20px 0;
    font-size: 0.875rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.breadcrumbs .separator {
    margin: 0 10px;
    color: var(--pale-dogwood);
}

.breadcrumbs .current {
    color: var(--primary-color);
}

/*
==========================================================================
Общие компоненты
==========================================================================
*/

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.section-intro {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

/*
==========================================================================
Кнопки
==========================================================================
*/

.btn {
    display: inline-block;
    padding: 15px 35px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    color: var(--white);
}

.btn-secondary {
    background-color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary:hover {
    background-color: var(--pale-dogwood);
    border-color: var(--pale-dogwood);
    color: var(--white);
}

.btn-primary {
    background-color: var(--primary-color);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
    font-weight: 600;
}

/*
==========================================================================
Главная страница - Hero секция
==========================================================================
*/

.hero-section {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.2;
}

.hero-text .subtitle {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.hero-text .hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/*
==========================================================================
Главная страница - Проблемы клиентов
==========================================================================
*/

.problems-section {
    padding: 80px 0;
    background-color: var(--white);
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 3rem;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background-color: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.problem-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.problem-icon {
    font-size: 1.5rem;
    width: 40px;
    flex-shrink: 0;
}

.problem-item p {
    margin: 0;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.5;
}

.problems-conclusion {
    font-size: 1.25rem;
    color: var(--primary-color);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

/*
==========================================================================
Главная страница - Мой подход
==========================================================================
*/

.approach-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.approach-content {
    max-width: 1000px;
    margin: 0 auto;
}

.approach-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 3rem;
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.approach-item {
    background-color: var(--white);
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.approach-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.approach-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.approach-item h4 {
    font-size: 1.25rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.approach-item p {
    margin: 0;
    line-height: 1.6;
    color: var(--text-light);
}

/*
==========================================================================
Главная страница - Секция услуг
==========================================================================
*/

.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 3rem;
}

.service-card {
    background-color: var(--white);
    border: 2px solid var(--bg-light);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
}

.service-card.featured {
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    transform: scale(1.02);
}

.service-card.featured::before {
    content: 'Популярный';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--accent-color);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: block;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.service-features li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 20px;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-price {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 25px 0;
}

/*
==========================================================================
Главная страница - Пищевые добавки
==========================================================================
*/

.supplements-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.supplements-content {
    max-width: 1000px;
    margin: 0 auto;
}

.supplements-when h3,
.supplements-experience h3,
.supplements-types h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.supplements-list {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.supplements-list li {
    padding: 12px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
    font-size: 1.125rem;
}

.supplements-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.supplements-experience {
    background-color: var(--white);
    padding: 30px;
    border-radius: 15px;
    margin: 40px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.supplements-experience p {
    margin: 0;
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-light);
}

.supplements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.supplement-type {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.supplement-type:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.supplement-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.supplement-type span {
    color: var(--text-light);
    font-weight: 500;
}

.supplements-warning {
    background-color: var(--white);
    padding: 25px;
    border-left: 4px solid var(--accent-color);
    border-radius: 10px;
    margin: 40px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.supplements-warning p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.6;
}

/*
==========================================================================
Главная страница - Результаты клиентов
==========================================================================
*/

.results-section {
    padding: 80px 0;
    background-color: var(--white);
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--bg-light);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 10px;
    line-height: 1;
}

.stat-label {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1.125rem;
}

/*
==========================================================================
Главная страница - О специалисте
==========================================================================
*/

.about-specialist-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-specialist-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 3rem;
}

.specialist-info {
    display: grid;
    gap: 40px;
}

.specialist-education h3,
.specialist-specializations h3,
.specialist-principles h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.specialist-education ul,
.specialist-specializations ul,
.specialist-principles ul {
    list-style: none;
    padding: 0;
}

.specialist-education li,
.specialist-specializations li,
.specialist-principles li {
    padding: 10px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 25px;
    font-size: 1.125rem;
}

.specialist-education li::before,
.specialist-specializations li::before,
.specialist-principles li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.specialist-photo {
    position: sticky;
    top: calc(var(--header-height) + 40px);
}

.specialist-photo img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Альтернативное отображение "О специалисте" на главной */
.about-text h2 {
    margin-bottom: 1rem;
}

.about-intro {
    font-size: 1.25rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-details {
    margin-bottom: 2rem;
}

.about-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.about-item:last-child {
    margin-bottom: 0;
}

.about-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.about-item h4 {
    font-size: 1.125rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.about-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

/*
==========================================================================
Главная страница - Отзывы клиентов
==========================================================================
*/

.testimonials-section {
    padding: 80px 0;
    background-color: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.testimonial-header h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.testimonial-rating {
    color: #FFD700;
}

.testimonial-rating i {
    margin-right: 2px;
}

.testimonial-card p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
    font-style: italic;
}

/*
==========================================================================
Главная страница - Призыв к действию
==========================================================================
*/

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--rose-quartz) 100%);
    color: var(--white);
}

.cta-section .section-title,
.cta-section .section-intro {
    color: var(--white);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h3 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 25px;
}

.cta-benefits {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
    display: inline-block;
}

.cta-benefits li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    font-size: 1.125rem;
    color: var(--white);
}

.cta-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--white);
    font-weight: bold;
    font-size: 1.25rem;
}

.special-offer {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.special-offer p {
    margin: 0;
    font-size: 1.125rem;
    color: var(--white);
}

/*
==========================================================================
Главная страница - Блог секция "Полезные статьи"
==========================================================================
*/

.blog-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.blog-card {
    background-color: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.blog-content {
    padding: 25px;
}

.blog-meta {
    margin-bottom: 15px;
}

.blog-category {
    display: inline-block;
    background-color: var(--celadon);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.blog-content h3 {
    margin: 0 0 15px 0;
    font-size: 1.25rem;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--accent-color);
}

.blog-excerpt {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(3px);
}

.blog-placeholder {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.125rem;
}

/*
==========================================================================
Главная страница - Секция контактов
==========================================================================
*/

.contact-section {
    padding: 80px 0;
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info h3 {
    margin-bottom: 30px;
    color: var(--primary-color);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background-color: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    margin: 0 0 5px 0;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.contact-item p {
    margin: 0;
    color: var(--text-light);
}

/*
==========================================================================
Страницы блога - Общие стили
==========================================================================
*/

.page-header {
    text-align: center;
    margin-bottom: 50px;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.page-description {
    font-size: 1.25rem;
    color: var(--text-light);
}

.blog-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 40px;
}

.blog-posts {
    display: grid;
    gap: 40px;
}

/*
==========================================================================
Карточки постов в блоге
==========================================================================
*/

.post-card {
    background-color: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.post-thumbnail {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 соотношение */
    position: relative;
    overflow: hidden;
}

.post-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 30px;
}

.post-meta {
    margin-bottom: 15px;
}

.post-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--bg-light);
    color: var(--text-light);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.post-card h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.post-card h2 a {
    color: var(--primary-color);
}

.post-excerpt {
    color: var(--text-light);
    line-height: 1.7;
}

/*
==========================================================================
Сайдбар
==========================================================================
*/

.blog-sidebar,
.page-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 40px);
    height: fit-content;
}

.widget {
    background-color: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

/* Виджет поиска */
.search-form {
    display: flex;
    gap: 10px;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 10px 20px;
    border: 1px solid var(--bg-light);
    border-radius: 30px;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.search-form input[type="search"]:focus {
    border-color: var(--accent-color);
}

.search-form button {
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: var(--secondary-color);
}

/* Виджет категорий */
.widget_categories ul {
    list-style: none;
}

.widget_categories li {
    padding: 10px 0;
    border-bottom: 1px solid var(--bg-light);
}

.widget_categories li:last-child {
    border-bottom: none;
}

.widget_categories a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
}

.widget_categories a:hover {
    color: var(--primary-color);
}

/* Виджет последних постов */
.widget_recent_entries ul {
    list-style: none;
}

.widget_recent_entries li {
    padding: 15px 0;
    border-bottom: 1px solid var(--bg-light);
}

.widget_recent_entries li:last-child {
    border-bottom: none;
}

.widget_recent_entries a {
    font-weight: 500;
    line-height: 1.4;
}

/* Облако тегов */
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tagcloud a {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--bg-light);
    border-radius: 20px;
    font-size: 0.875rem !important;
    transition: all 0.3s ease;
}

.tagcloud a:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* Рекламный блок */
.ad-widget {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

/*
==========================================================================
Одиночная страница поста
==========================================================================
*/

.single-post-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
    margin-top: 40px;
}

.single-post-content {
    background-color: var(--white);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.single-post-header {
    margin-bottom: 30px;
}

.single-post-meta {
    margin-bottom: 20px;
}

.single-post-thumbnail {
    margin-bottom: 40px;
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Контент поста */
.entry-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-light);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.entry-content p {
    margin-bottom: 1.5rem;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.entry-content li {
    margin-bottom: 0.5rem;
}

.entry-content blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--bg-light);
    border-left: 4px solid var(--accent-color);
    font-style: italic;
}

/*
==========================================================================
Базовые страницы без сайдбара
==========================================================================
*/

.page-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--bg-light);
}

.page-featured-image {
    margin-bottom: 2rem;
    text-align: center;
}

.page-featured-image .featured-image {
    width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.page-links {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--bg-light);
    text-align: center;
}

/*
==========================================================================
Страницы с сайдбаром
==========================================================================
*/

.page-layout-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    align-items: start;
}

.page-content-article .page-header {
    text-align: left;
    margin-bottom: 2rem;
}

/*
==========================================================================
Страница контактов
==========================================================================
*/

.contacts-page .page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 3rem;
}

.contact-info h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-methods {
    margin-bottom: 3rem;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.contact-details p {
    margin: 0;
    color: var(--text-light);
}

.contact-details a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-details a:hover {
    color: var(--accent-color);
}

/* Часы работы */
.working-hours {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
}

.working-hours h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.working-hours ul {
    list-style: none;
    margin-bottom: 1rem;
}

.working-hours li {
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.working-hours .note {
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
    margin: 0;
}

/* Форма обратной связи */
.contact-form-section h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-description {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.6;
}

.contact-form {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(132, 169, 140, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Чекбокс для согласия */
.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    position: relative;
    opacity: 0;
}

.checkmark {
    position: relative;
    width: 20px;
    height: 20px;
    background-color: var(--white);
    border: 2px solid var(--pale-dogwood);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    opacity: 1;
}

.checkbox-label span:not(.checkmark) {
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.4;
}

.checkbox-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/*
==========================================================================
FAQ секция - универсальные стили
==========================================================================
*/

.faq-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.faq-container,
.faq-accordion,
.accordion {
    max-width: 800px;
    margin: 40px auto 0;
}

.faq-item,
.accordion-item {
    background-color: var(--white);
    border: 2px solid var(--bg-light);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover,
.accordion-item:hover {
    border-color: var(--celadon);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-question,
.accordion-header {
    width: 100%;
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    font-family: inherit;
}

.faq-question:hover,
.accordion-header:hover {
    background-color: rgba(143, 203, 155, 0.1);
}

.faq-question h4,
.accordion-header h4 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--primary-color);
    font-weight: 600;
    flex: 1;
}

.faq-icon,
.accordion-icon,
.faq-toggle {
    width: 30px;
    height: 30px;
    position: relative;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-toggle i,
.faq-icon i,
.accordion-icon i {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.faq-icon:not(:has(i))::before,
.accordion-icon:not(:has(i))::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background-color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-icon:not(:has(i))::after,
.accordion-icon:not(:has(i))::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 20px;
    background-color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon:not(:has(i))::after,
.accordion-item.active .accordion-icon:not(:has(i))::after {
    transform: rotate(90deg);
}

.faq-item.active .faq-toggle,
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.faq-answer,
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p,
.accordion-content p,
.accordion-body {
    padding: 0 30px 25px;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.125rem;
    margin: 0;
}

.faq-item.active,
.accordion-item.active {
    border-color: var(--celadon);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.faq-item.active .faq-question,
.accordion-item.active .accordion-header {
    background-color: rgba(143, 203, 155, 0.1);
}

/*
==========================================================================
Адаптивность
==========================================================================
*/

/* Планшеты (до 1024px) */
@media (max-width: 1024px) {
    .hero-content,
    .about-specialist-content,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Мобильные устройства (до 768px) */
@media (max-width: 768px) {
    .blog-layout,
    .single-post-layout,
    .page-layout-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar,
    .page-sidebar {
        position: static;
        margin-top: 40px;
    }
    
    .services-grid,
    .approach-grid,
    .problems-grid,
    .supplements-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .service-card.featured {
        transform: none;
    }
    
    .results-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .specialist-photo {
        position: static;
        order: -1;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-item,
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contacts-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .faq-question,
    .accordion-header {
        padding: 20px;
        font-size: 1.125rem;
    }
    
    .faq-question h4,
    .accordion-header h4 {
        font-size: 1.125rem;
    }
    
    .faq-answer p,
    .accordion-content p,
    .accordion-body {
        padding: 0 20px 20px;
        font-size: 1rem;
    }
    
    .faq-icon,
    .accordion-icon,
    .faq-toggle {
        width: 25px;
        height: 25px;
    }
    
    .faq-toggle i,
    .faq-icon i,
    .accordion-icon i {
        font-size: 1rem;
    }
}

/* Очень маленькие экраны (до 480px) */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .results-stats {
        grid-template-columns: 1fr;
    }
    
    .about-icon,
    .testimonial-avatar,
    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    .page-content {
        padding: 0 10px;
    }
    
    .testimonial-card,
    .blog-content {
        padding: 20px;
    }
}