/* ===== СТРАНИЦА 404 ===== */
.error-404-page { padding: 20px 0 80px; }
.error-hero { text-align: center; padding: 60px 0; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); border-radius: 20px; margin-bottom: 60px; }
.error-hero__content { max-width: 800px; margin: 0 auto; }
.error-code { display: flex; justify-content: center; align-items: center; gap: 20px; margin-bottom: 30px; }
.error-code__number { font-size: 10rem; font-weight: 900; color: #019934; line-height: 1; }
.error-code__image { width: 150px; height: 150px; animation: pulse 2s infinite; }
.error-code__image img { width: 100%; height: 100%; object-fit: contain; }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }
.error-title { font-size: 2.5rem; color: #2c3e50; margin-bottom: 15px; font-weight: 700; }
.error-subtitle { font-size: 1.2rem; color: #7f8c8d; max-width: 600px; margin: 0 auto 40px; line-height: 1.6; }
.error-search { max-width: 500px; margin: 0 auto; }
.error-search__title { font-size: 1.1rem; color: #2c3e50; margin-bottom: 15px; font-weight: 600; }
.error-search .search-form { display: flex; gap: 10px; }
.error-search .search-form .search-field { flex: 1; padding: 15px 20px; border: 2px solid #e9ecef; border-radius: 10px; font-size: 1rem; transition: border-color 0.3s; }
.error-search .search-form .search-field:focus { outline: none; border-color: #019934; }
.error-search .search-form .search-submit { padding: 15px 30px; background: #019934; color: white; border: none; border-radius: 10px; cursor: pointer; font-weight: 500; transition: all 0.3s; }
.error-search .search-form .search-submit:hover { background: #017a2b; transform: translateY(-2px); }
.error-suggestions { margin-bottom: 80px; }
.error-suggestions__title { text-align: center; font-size: 2rem; color: #2c3e50; margin-bottom: 40px; font-weight: 700; }
.error-suggestions__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.suggestion-card { background: white; padding: 30px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); text-align: center; transition: all 0.3s; }
.suggestion-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12); }
.suggestion-card__icon { width: 80px; height: 80px; margin: 0 auto 20px; background: #f8f9fa; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.suggestion-card__icon img { width: 40px; height: 40px; object-fit: contain; }
.suggestion-card__title { font-size: 1.3rem; color: #2c3e50; margin-bottom: 15px; font-weight: 600; }
.suggestion-card__description { font-size: 0.95rem; color: #7f8c8d; line-height: 1.5; margin-bottom: 20px; }
.suggestion-card__link { color: #019934; text-decoration: none; font-weight: 500; display: inline-block; transition: color 0.3s; }
.suggestion-card__link:hover { color: #017a2b; }
.error-cta { background: #2c3e50; color: white; padding: 60px 0; border-radius: 20px; margin-bottom: 80px; }
.error-cta__content { text-align: center; max-width: 800px; margin: 0 auto; }
.error-cta__title { font-size: 2.2rem; margin-bottom: 20px; font-weight: 700; }
.error-cta__description { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); margin-bottom: 40px; line-height: 1.6; }
.error-cta__buttons { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 35px; background: #019934; color: white; border: none; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 1rem; cursor: pointer; transition: all 0.3s; }
.btn-primary:hover { background: #017a2b; transform: translateY(-2px); color: white; }
.btn-secondary { display: inline-flex; align-items: center; gap: 10px; padding: 16px 35px; background: transparent; border: 2px solid white; color: white; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 1rem; cursor: pointer; transition: all 0.3s; }
.btn-secondary:hover { background: white; color: #2c3e50; }
.error-popular__title { text-align: center; font-size: 2rem; color: #2c3e50; margin-bottom: 40px; font-weight: 700; }
.error-popular__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.popular-post { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); transition: transform 0.3s; }
.popular-post:hover { transform: translateY(-5px); }
.popular-post__image { height: 200px; overflow: hidden; }
.popular-post__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.popular-post__image:hover img { transform: scale(1.05); }
.popular-post__content { padding: 25px; }
.popular-post__title { font-size: 1.2rem; color: #2c3e50; margin-bottom: 15px; line-height: 1.4; }
.popular-post__title a { color: inherit; text-decoration: none; }
.popular-post__title a:hover { color: #019934; }
.popular-post__excerpt { font-size: 0.95rem; color: #7f8c8d; line-height: 1.5; margin-bottom: 15px; }
.popular-post__readmore { color: #019934; text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.popular-post__readmore:hover { color: #017a2b; }

/* ===== СТРАНИЦЫ УСЛУГ ===== */
.service-hero { padding: 40px 0 60px; background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); }
.service-hero__content { max-width: 1400px; margin: 0 auto; }
.service-hero .breadcrumbs { display: flex; align-items: center; gap: 8px; margin-bottom: 30px; font-size: 0.9rem; color: #7f8c8d; }
.service-hero .breadcrumbs a { color: #7f8c8d; text-decoration: none; transition: color 0.3s; }
.service-hero .breadcrumbs a:hover { color: #019934; }
.service-hero .breadcrumbs__separator { opacity: 0.5; }
.service-hero .breadcrumbs__current { color: #2c3e50; font-weight: 500; }
.service-hero__main { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.service-hero__text { max-width: 600px; }
.service-hero__title { margin-bottom: 30px; }
.service-hero__title-main { display: block; font-size: 3rem; font-weight: 700; color: #2c3e50; line-height: 1.2; margin-bottom: 10px; }
.service-hero__title-subtitle { display: block; font-size: 1.3rem; color: #019934; font-weight: 500; line-height: 1.4; }
.service-hero__meta { display: flex; flex-direction: column; gap: 15px; margin-bottom: 40px; }
.service-hero .service-meta__item { display: flex; align-items: center; gap: 12px; font-size: 1.1rem; }
.service-hero .service-meta__icon { width: 24px; height: 24px; fill: #019934; flex-shrink: 0; }
.service-hero .service-meta__label { color: #7f8c8d; font-weight: 500; }
.service-hero .service-meta__value { color: #2c3e50; font-weight: 600; }
.service-hero__actions { display: flex; gap: 20px; flex-wrap: wrap; }
.service-hero .btn-large { padding: 16px 35px; font-size: 1.1rem; display: inline-flex; align-items: center; gap: 10px; }
.service-hero .btn-phone { background: #fff; color: #000; }
.service-hero .btn-icon { width: 20px; height: 20px; fill: currentColor; }
.service-hero__image { position: relative; }
.service-hero__image-wrapper { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }
.service-hero__image-wrapper img { width: 100%; height: 500px; object-fit: cover; transition: transform 0.5s; }
.service-hero__image-wrapper:hover img { transform: scale(1.03); }
.service-hero__badge { position: absolute; bottom: 20px; right: 20px; background: white; padding: 15px 20px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); text-align: center; }
.service-hero__badge .badge-text { display: block; font-size: 0.9rem; color: #7f8c8d; margin-bottom: 3px; }
.service-hero__badge .badge-name { display: block; font-size: 1.3rem; font-weight: 700; color: #019934; }

.service-content { padding: 80px 0; }
.service-content__wrapper { display: grid; grid-template-columns: 2fr 1fr; gap: 60px; max-width: 1400px; margin: 0 auto; }
.service-main .service-article { margin-bottom: 60px; }
.service-main .service-article__content { font-size: 1.1rem; line-height: 1.8; color: #333; }
.service-main .service-article__content h2 { font-size: 2rem; color: #2c3e50; margin: 50px 0 25px; padding-bottom: 15px; border-bottom: 2px solid #019934; }
.service-main .service-article__content h3 { font-size: 1.5rem; color: #34495e; margin: 40px 0 20px; }
.service-main .service-article__content p { margin-bottom: 1.5em; }
.service-main .service-article__content ul, .service-main .service-article__content ol { margin: 20px 0 20px 30px; }
.service-main .service-article__content li { margin-bottom: 10px; padding-left: 10px; }

.service-features { background: #f8f9fa; border-radius: 20px; padding: 40px; margin-top: 50px; }
.service-features__title { font-size: 1.8rem; color: #2c3e50; margin-bottom: 30px; text-align: center; }
.service-features__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.feature-card { display: flex; align-items: center; gap: 15px; padding: 20px; background: white; border-radius: 12px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); transition: transform 0.3s, box-shadow 0.3s; }
.feature-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); }
.feature-card__icon { width: 24px; height: 24px; flex-shrink: 0; }
.feature-card__icon svg { width: 100%; height: 100%; fill: #019934; }
.feature-card__text { font-size: 1rem; color: #2c3e50; font-weight: 500; }

.service-pricing { background: white; border-radius: 20px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08); overflow: hidden; margin-top: 40px; }
.service-pricing__header { background: linear-gradient(135deg, #019934 0%, #017a2b 100%); color: white; padding: 40px; text-align: center; }
.service-pricing__title { font-size: 2rem; margin-bottom: 10px; font-weight: 700; }
.service-pricing__subtitle { font-size: 1.1rem; opacity: 0.9; }
.service-pricing__content { padding: 40px; }
.service-pricing__content .price-table { width: 100%; border-collapse: collapse; }
.service-pricing__content .price-table th { text-align: left; padding: 15px; background: #f8f9fa; color: #2c3e50; font-weight: 600; border-bottom: 2px solid #019934; }
.service-pricing__content .price-table td { padding: 15px; border-bottom: 1px solid #e9ecef; color: #333; }
.service-pricing__content .price-table tr:hover { background: #f8f9fa; }
.service-pricing__footer { padding: 25px 40px; background: #f8f9fa; border-top: 1px solid #e9ecef; }
.service-pricing .price-note { display: flex; align-items: center; gap: 10px; color: #7f8c8d; font-size: 0.95rem; }
.service-pricing .price-note svg { width: 20px; height: 20px; fill: #019934; flex-shrink: 0; }

.service-sidebar .sidebar-card { background: white; border-radius: 15px; padding: 30px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); }
.service-sidebar .sidebar-card__title { font-size: 1.5rem; color: #2c3e50; margin-bottom: 15px; font-weight: 600; }
.service-sidebar .sidebar-card__text { color: #7f8c8d; line-height: 1.6; margin-bottom: 25px; }
.service-sidebar .sidebar-card__btn { width: 100%; padding: 14px; background: #019934; color: white; border: none; border-radius: 10px; font-size: 1rem; font-weight: 500; cursor: pointer; transition: all 0.3s; }
.service-sidebar .sidebar-card__btn:hover { background: #017a2b; transform: translateY(-2px); }
.sidebar-steps { list-style: none; padding: 0; }
.sidebar-step { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid #e9ecef; }
.sidebar-step:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.sidebar-step__number { width: 36px; height: 36px; background: #019934; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 1.1rem; flex-shrink: 0; }
.sidebar-step__text { color: #2c3e50; font-size: 0.95rem; line-height: 1.4; }
.sidebar-link { color: #019934; text-decoration: none; font-weight: 500; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 5px; }
.sidebar-link:hover { color: #017a2b; }

.service-cta { background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%); color: white; padding: 80px 0; }
.service-cta__content { max-width: 800px; margin: 0 auto; text-align: center; }
.service-cta__title { font-size: 2.5rem; margin-bottom: 20px; font-weight: 700; }
.service-cta__text { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; }
.service-cta__actions { display: flex; flex-direction: column; gap: 30px; align-items: center; }
.cta-btn { padding: 18px 45px; border-radius: 12px; font-size: 1.2rem; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 12px; transition: all 0.3s; }
.cta-btn--primary { background: #019934; color: white; border: none; }
.cta-btn--primary:hover { background: #017a2b; transform: translateY(-3px); box-shadow: 0 15px 30px rgba(1, 153, 52, 0.3); }
.cta-btn svg { width: 24px; height: 24px; fill: currentColor; }
.cta-contacts { display: flex; flex-direction: column; gap: 15px; align-items: center; }
.cta-phone { display: flex; align-items: center; gap: 10px; color: white; text-decoration: none; font-size: 1.3rem; font-weight: 600; }
.cta-phone svg { width: 24px; height: 24px; fill: #019934; }
.cta-phone:hover { color: #019934; }
.cta-workhours { display: flex; align-items: center; gap: 10px; color: rgba(255, 255, 255, 0.8); font-size: 1rem; }
.cta-workhours svg { width: 20px; height: 20px; fill: #019934; }

.related-services { padding: 80px 0; }
.related-services__header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 40px; }
.related-services__title { font-size: 2.2rem; color: #2c3e50; font-weight: 700; }
.related-services__link { color: #019934; text-decoration: none; font-weight: 500; font-size: 1.1rem; }
.related-services__link:hover { color: #017a2b; }
.related-services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.related-service { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); transition: all 0.3s; }
.related-service:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12); }
.related-service__link { display: block; text-decoration: none; color: inherit; }
.related-service__image { height: 200px; overflow: hidden; }
.related-service__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.related-service__image:hover img { transform: scale(1.05); }
.related-service__content { padding: 25px; }
.related-service__title { font-size: 1.3rem; color: #2c3e50; margin-bottom: 10px; line-height: 1.3; }
.related-service__excerpt { color: #7f8c8d; font-size: 0.95rem; line-height: 1.5; margin-bottom: 15px; }
.related-service__more { color: #019934; font-weight: 500; font-size: 0.95rem; }

/* ===== ПОИСК ===== */
.search-results-page { padding: 40px 0; }
.page-title { font-size: 32px; margin-bottom: 20px; }
.search-results-count { margin-bottom: 30px; color: #666; font-size: 16px; }
.search-results-list { display: flex; flex-direction: column; gap: 20px; }
.search-result { padding: 25px; background: #f9f9f9; border-radius: 12px; border-left: 4px solid #ddd; transition: all 0.3s ease; }
.search-result:hover { background: white; box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05); }
.search-result--uslugi { border-left-color: #4a90e2; }
.search-result--doctors { border-left-color: #f5a623; }
.search-result--page { border-left-color: #9b59b6; }
.search-result--post { border-left-color: #2ecc71; }
.search-result__type { font-size: 12px; text-transform: uppercase; color: #999; margin-bottom: 10px; }
.search-result__title { font-size: 20px; margin: 0 0 10px 0; }
.search-result__title a { color: #333; text-decoration: none; }
.search-result__title a:hover { color: #4a90e2; }
.search-result__meta { margin-bottom: 15px; }
.search-result__price { display: inline-block; background: #4caf50; color: white; padding: 4px 12px; border-radius: 20px; font-size: 14px; font-weight: 600; }
.search-result__spec { display: inline-block; background: #f5a623; color: white; padding: 4px 12px; border-radius: 20px; font-size: 14px; }
.search-result__excerpt { color: #666; line-height: 1.6; margin-bottom: 15px; }
.search-result__more { color: #4a90e2; text-decoration: none; font-weight: 500; }
.search-result__more:hover { text-decoration: underline; }
.search-results-none { text-align: center; padding: 60px 20px; background: #f9f9f9; border-radius: 12px; }
.search-results-none p { margin-bottom: 20px; color: #666; }
.search-results-none ul { list-style: none; padding: 0; }
.search-results-none ul li { margin-bottom: 10px; }
.pagination { margin-top: 40px; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: 8px 16px; margin: 0 4px; border: 1px solid #ddd; border-radius: 6px; color: #333; text-decoration: none; transition: all 0.3s ease; }
.pagination .page-numbers:hover { background: #f5f5f5; border-color: #999; }
.pagination .page-numbers.current { background: #4a90e2; border-color: #4a90e2; color: white; }

/* Адаптив */
@media (max-width: 1024px) {
  .error-suggestions__grid { grid-template-columns: repeat(2, 1fr); }
  .error-popular__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
  .service-hero__main { grid-template-columns: 1fr; gap: 50px; }
  .service-hero__main__text { order: 2; }
  .service-hero__main__image { order: 1; }
  .service-content__wrapper { grid-template-columns: 1fr; }
  .related-services__grid { grid-template-columns: repeat(2, 1fr); }
  .service-sidebar { order: -1; margin-bottom: 40px; }
}
@media (max-width: 768px) {
  .error-404-page { padding: 40px 0 60px; }
  .error-hero { padding: 40px 0; }
  .error-code__number { font-size: 6rem; }
  .error-code__image { width: 100px; height: 100px; }
  .error-title { font-size: 2rem; }
  .error-subtitle { font-size: 1.1rem; }
  .error-suggestions__grid { grid-template-columns: 1fr; gap: 20px; }
  .error-cta__buttons { flex-direction: column; align-items: center; }
  .error-cta__buttons .btn-primary, .error-cta__buttons .btn-secondary { width: 100%; max-width: 300px; justify-content: center; }
  .error-popular__grid { grid-template-columns: 1fr; }

  .service-hero { padding: 30px 0 50px; }
  .service-hero__title-main { font-size: 2.2rem; }
  .service-hero__title-subtitle { font-size: 1.1rem; }
  .service-hero__actions { flex-direction: column; }
  .service-hero__actions .btn-large { width: 100%; justify-content: center; }
  .service-features__grid { grid-template-columns: 1fr; }
  .related-services { padding: 60px 0; }
  .related-services__header { flex-direction: column; gap: 15px; text-align: center; }
  .related-services__grid { grid-template-columns: 1fr; }
  .service-cta { padding: 60px 0; }
  .service-cta__title { font-size: 2rem; }
  .service-cta__text { font-size: 1.1rem; }
  .cta-btn { width: 100%; justify-content: center; }
  .service-pricing__header, .service-pricing__content, .service-pricing__footer { padding: 25px; }
  .sidebar-card { padding: 25px; }
}
@media (max-width: 576px) {
  .service-hero__title-main { font-size: 1.8rem; }
  .service-hero .breadcrumbs { font-size: 0.85rem; flex-wrap: wrap; }
  .service-cta__title { font-size: 1.8rem; }
  .service-features { padding: 25px; }
  .feature-card { padding: 15px; }
}
@media (max-width: 480px) {
  .error-code { gap: 10px; }
  .error-code__number { font-size: 4rem; }
  .error-code__image { width: 80px; height: 80px; }
  .error-title { font-size: 1.8rem; }
  .suggestion-card { padding: 20px; }
}

/* ===== СТРАНИЦА О НАС ===== */
.about__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.about__content-info, 
.about__content-photo {
    width: 50%;
}
.about__content-photo img {
    width: 100%;
    border-radius: 10px;
}
.about__content-info {
    font-size: 18px;
    margin-right: 20px;
}
.about__content-info p, 
.about__content-info ul li {
    line-height: 1.4;
}
.about__content-info ul li {
    margin-bottom: 5px;
}

/* Адаптив для страницы О нас */
@media (max-width: 992px) {
    .about__content {
        flex-direction: column;
    }
    .about__content-info {
        margin-right: 0;
        margin-bottom: 30px;
    }
    .about__content-info, 
    .about__content-photo {
        width: 100%;
    }
}