/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    font-size: 14px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Панель доступности */
.accessibility-bar {
    background: #f8f9fa;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.accessibility-controls {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    font-size: 12px;
}

.accessibility-controls span {
    color: #666;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 3px;
}

.accessibility-controls span:hover {
    background: #e9ecef;
}

/* Хедер */
.header-main {
    background: #fff;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    flex-shrink: 0;
}

.logo h1 {
    color: #2c5d85;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.logo p {
    color: #666;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.header-info {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-left: auto;
}

.phone {
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.appointment-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
}

.appointment-btn:hover {
    background: #218838;
}

/* Навигация */
.main-nav {
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 0;
}

.main-nav li {
    border-right: 1px solid #e9ecef;
}

.main-nav a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 12px 20px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: all 0.3s;
}

.main-nav a:hover {
    background: #e9ecef;
    color: #2c5d85;
}

/* Хлебные крошки */
.breadcrumbs {
    background: #f8f9fa;
    padding: 10px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    gap: 8px;
    font-size: 12px;
    color: #666;
}

.breadcrumb-list li::after {
    content: "—";
    margin-left: 8px;
    color: #999;
}

.breadcrumb-list li:last-child::after {
    display: none;
}

.breadcrumb-list a {
    color: #666;
    text-decoration: none;
}

.breadcrumb-list a:hover {
    color: #2c5d85;
}

/* Основной контент */
.main-content {
    padding: 40px 0;
}

.page-header {
    margin-bottom: 30px;
}

.page-title {
    font-size: 32px;
    font-weight: 400;
    color: #333;
    margin-bottom: 20px;
}

.content-section {
    margin-bottom: 50px;
}



.content-text {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.content-text p {
    margin-bottom: 20px;
}

.content-text h3 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.symptoms-list {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.symptoms-list li {
    padding: 6px 0;
    padding-left: 15px;
    position: relative;
    color: #333;
    font-size: 14px;
}

.symptoms-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #666;
}

/* Карточки секций */
.cards-section {
    margin: 50px 0;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.card {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: box-shadow 0.3s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.card-badge {
    background: #dc3545;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 10px;
}

.card-badge.permanent {
    background: #28a745;
}

.card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Оборудование */
.equipment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 25px;
}

.equipment-item {
    text-align: center;
    padding: 30px 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
}

.equipment-logo {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.equipment-description {
    font-size: 13px;
    color: #666;
}

/* Врачи */
.doctor-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    background: #fff;
    margin-bottom: 20px;
}

.doctor-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c5d85;
    margin-bottom: 5px;
}

.doctor-specialty {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.doctor-experience {
    font-size: 13px;
    color: #888;
    margin-bottom: 15px;
}

.doctor-description {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.price-info {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.price-amount {
    color: #28a745;
}

.book-btn {
    background: #2c5d85;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.3s;
}

.book-btn:hover {
    background: #1e4063;
}

/* CHECK-UP программы */
.checkup-section {
    margin: 50px 0;
}

.checkup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.checkup-card {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    background: #fff;
    position: relative;
}

.checkup-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.checkup-price {
    font-size: 24px;
    font-weight: 700;
    color: #28a745;
    margin-bottom: 20px;
}

.checkup-list {
    list-style: none;
    margin-bottom: 25px;
}

.checkup-list li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #333;
}

.checkup-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* Футер */
.footer {
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    padding: 40px 0 20px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.footer-section p, .footer-section li {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #666;
    text-decoration: none;
}

.footer-section a:hover {
    color: #2c5d85;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding-top: 20px;
    text-align: center;
    font-size: 12px;
    color: #888;
}

/* Цены */
.price-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    border-bottom: 2px solid #e9ecef;
    gap: 0;
}

.tab {
    padding: 12px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.tab.active {
    color: #2c5d85;
    border-bottom-color: #2c5d85;
}

.tab:hover {
    color: #2c5d85;
}

.price-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.price-content.active {
    display: block;
}

.price-table {
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e9ecef;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e9ecef;
}

.price-row:last-child {
    border-bottom: none;
}

.service-name {
    color: #333;
    font-weight: 500;
    font-size: 14px;
}

.service-price {
    color: #2c5d85;
    font-weight: 600;
    font-size: 16px;
}

/* О нас */
.about-content {
    margin-top: 20px;
}

.about-text p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 30px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #2c5d85;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 12px;
    text-align: center;
}

.about-features h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
}

.about-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #333;
    font-size: 14px;
    border-bottom: 1px solid #e9ecef;
}

.about-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.about-list li:last-child {
    border-bottom: none;
}

/* Отзывы */
.section-subtitle {
    color: #666;
    font-size: 14px;
    text-align: center;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.review {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #2c5d85;
    border: 1px solid #e9ecef;
}

.review-date {
    color: #888;
    font-size: 12px;
    margin-bottom: 8px;
}

.review-author {
    color: #333;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
}

.review-text {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* Документы */
.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.document-category {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
}

.document-category h3 {
    color: #2c5d85;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid #2c5d85;
    padding-bottom: 10px;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.document-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 15px;
}

.document-item h4 {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.document-item p {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    line-height: 1.4;
}

.document-item p:first-of-type {
    color: #2c5d85;
    font-weight: 500;
}

/* Отделения */
.department-content {
    margin-top: 20px;
}

.department-description p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
}

.department-services h3,
.diagnostic-equipment h3,
.lab-services h3 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}



.service-item span:last-child {
    font-size: 14px;
    color: #333;
}

/* Детальное оборудование */
.equipment-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.equipment-detailed-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
}

.equipment-detailed-card h3 {
    color: #2c5d85;
    font-size: 16px;
    font-weight: 600;
    margin: 15px 0 10px 0;
}

.equipment-specs ul {
    list-style: none;
    margin: 15px 0 0 0;
    padding: 0;
    text-align: left;
}

.equipment-specs li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e9ecef;
}

.equipment-specs li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

.equipment-specs li:last-child {
    border-bottom: none;
}

/* Диагностическое оборудование */
.equipment-list {
    display: grid;
    gap: 20px;
    margin-top: 20px;
}

.equipment-item-detailed {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.equipment-item-detailed h4 {
    color: #2c5d85;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
}

.equipment-item-detailed p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Лаборатория */
.lab-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.lab-category {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.lab-category h4 {
    color: #2c5d85;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.lab-category ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.lab-category li {
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #e9ecef;
}

.lab-category li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2c5d85;
    font-weight: bold;
}

.lab-category li:last-child {
    border-bottom: none;
}

/* Аптека */
.pharmacy-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.pharmacy-feature {
    padding: 20px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}



.pharmacy-feature h4 {
    color: #2c5d85;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.pharmacy-feature p {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

/* Стили для страниц политик */
.policy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.policy-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.policy-section:last-child {
    border-bottom: none;
}

.policy-section h2 {
    color: #2c5d85;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c5d85;
}

.policy-section h3 {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 20px 0 10px 0;
}

.policy-section p {
    font-size: 14px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 15px;
    text-align: justify;
}

.policy-list {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.policy-list li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    border-bottom: 1px solid #f8f9fa;
}

.policy-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2c5d85;
    font-weight: bold;
    font-size: 16px;
}

.policy-list li:last-child {
    border-bottom: none;
}

.policy-list strong {
    color: #2c5d85;
    font-weight: 600;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-info {
        flex-direction: column;
        gap: 15px;
        margin-left: 0;
    }
    
    .main-nav ul {
        flex-wrap: wrap;
    }
    

    
    .cards-grid,
    .equipment-grid,
    .checkup-grid,
    .reviews-grid,
    .licenses-grid,
    .equipment-detailed-grid,
    .lab-categories,
    .pharmacy-features {
        grid-template-columns: 1fr;
    }
    
    .services-list {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .price-tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .main-content {
        padding: 20px 0;
    }
    
    .page-title {
        font-size: 20px;
    }
    
    .price-tabs {
        flex-direction: column;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .price-row {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .pharmacy-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .policy-content {
        padding: 0 10px;
    }
    
    .policy-section h2 {
        font-size: 18px;
    }
    
    .policy-section h3 {
        font-size: 15px;
    }
} 