/* ============================================
   МЕДИЦИНСКИЙ ЦЕНТР - СВЕТЛО-ЗЕЛЕНАЯ ТЕМА
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #1e293b;
    background-color: #f0fdf4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== TOP BAR ===== */
.top-bar {
    background-color: #064e3b;
    color: #fff;
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.top-bar-contacts a {
    color: #a7f3d0;
    text-decoration: none;
    transition: color 0.3s;
}

.top-bar-contacts a:hover {
    color: #ffffff;
}

.top-bar-separator {
    color: #2d6b4f;
}

.top-bar-actions {
    display: flex;
    gap: 20px;
}

.top-bar-link {
    color: #a7f3d0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.top-bar-link:hover {
    color: #ffffff;
}

/* ===== HEADER ===== */
.header {
    background-color: #ffffff;
    padding: 16px 0;
    border-bottom: 2px solid #d1fae5;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #064e3b;
    font-size: 22px;
    font-weight: 700;
}

.logo-icon {
    color: #10b981;
    font-size: 28px;
}

.logo-text {
    font-size: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-list a {
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-list a:hover,
.nav-list a.active {
    color: #10b981;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s, transform 0.2s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 14px;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: #10b981;
    color: #fff;
}

.btn-primary:hover {
    background: #047857;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-outline {
    background: transparent;
    color: #064e3b;
    border: 2px solid #10b981;
}

.btn-outline:hover {
    background: #10b981;
    color: #fff;
}

.btn-large {
    padding: 14px 36px;
    font-size: 16px;
}

.btn-small {
    padding: 8px 18px;
    font-size: 13px;
}

.btn-appointment {
    padding: 10px 20px;
}

/* ===== BURGER MENU ===== */
.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #064e3b;
    border-radius: 3px;
    transition: 0.3s;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #064e3b 0%, #10b981 100%);
    color: #fff;
    padding: 80px 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: #d1fae5;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 44px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-buttons .btn-primary {
    background: #ffffff;
    color: #064e3b;
}

.hero-buttons .btn-primary:hover {
    background: #d1fae5;
    color: #064e3b;
}

.hero-buttons .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.hero-buttons .btn-outline:hover {
    background: #ffffff;
    color: #064e3b;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #d1fae5;
}

.stat-label {
    font-size: 14px;
    opacity: 0.85;
}

.hero-image-placeholder {
    width: 100%;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    color: rgba(255, 255, 255, 0.15);
    border: 2px dashed rgba(255, 255, 255, 0.15);
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 32px;
    color: #064e3b;
    margin-bottom: 10px;
}

.section-subtitle {
    color: #64748b;
    font-size: 18px;
}

/* ===== SPECIALIZATIONS ===== */
.specializations {
    padding: 60px 0;
    background: #ffffff;
}

.specializations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.spec-item {
    background: #f0fdf4;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    color: #064e3b;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #d1fae5;
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

.spec-icon {
    font-size: 36px;
    color: #10b981;
    margin-bottom: 15px;
}

.spec-item h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.spec-item p {
    font-size: 14px;
    color: #64748b;
}

.spec-link {
    display: inline-block;
    margin-top: 10px;
    color: #10b981;
    font-weight: 600;
    font-size: 14px;
}

/* ===== POPULAR SERVICES ===== */
.popular-services {
    padding: 60px 0;
    background: #f0fdf4;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 1px solid #d1fae5;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
}

.service-card.promotion {
    border: 2px solid #10b981;
}

.service-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: #10b981;
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.service-card h3 a {
    color: #064e3b;
    text-decoration: none;
}

.service-card h3 a:hover {
    color: #10b981;
}

.service-card p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
}

.service-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.price-old {
    color: #94a3b8;
    text-decoration: line-through;
    font-size: 14px;
}

.price-current {
    font-size: 20px;
    font-weight: 700;
    color: #064e3b;
}

/* ===== DOCTORS ===== */
.doctors-section {
    padding: 60px 0;
    background: #ffffff;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.doctor-card {
    background: #f0fdf4;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #d1fae5;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
}

.doctor-photo {
    position: relative;
    height: 220px;
    background: #d1fae5;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-photo img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    background: #d1fae5;
}

.doctor-photo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #6ee7b7;
    background: #d1fae5;
}

.doctor-specialization {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(6, 78, 59, 0.85);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 12px;
}

.doctor-info {
    padding: 20px;
}

.doctor-info h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #064e3b;
}

.doctor-experience {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 5px;
}

.doctor-price {
    color: #10b981;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.doctor-bio {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 15px;
}

.doctor-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ===== WHY WE ===== */
.why-we {
    padding: 60px 0;
    background: #f0fdf4;
}

.why-we-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-item {
    text-align: center;
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid #d1fae5;
}

.why-icon {
    font-size: 40px;
    color: #10b981;
    margin-bottom: 15px;
}

.why-item h3 {
    margin-bottom: 10px;
    color: #064e3b;
}

.why-item p {
    color: #64748b;
}

/* ===== ARTICLES ===== */
.articles-section {
    padding: 60px 0;
    background: #ffffff;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.article-card {
    background: #f0fdf4;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #d1fae5;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.12);
}

.article-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: #d1fae5;
}

.article-content {
    padding: 20px;
}

.article-date {
    color: #94a3b8;
    font-size: 13px;
}

.article-content h3 {
    margin: 8px 0;
    font-size: 18px;
}

.article-content h3 a {
    color: #064e3b;
    text-decoration: none;
}

.article-content h3 a:hover {
    color: #10b981;
}

.article-content p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 10px;
}

.read-more {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}

.read-more:hover {
    text-decoration: underline;
}

/* ===== ONLINE APPOINTMENT BANNER ===== */
.online-appointment {
    padding: 60px 0;
    background: #f0fdf4;
}

.appointment-banner {
    background: linear-gradient(135deg, #064e3b 0%, #10b981 100%);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: #fff;
}

.appointment-banner h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.appointment-banner p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 30px;
}

.appointment-banner-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.appointment-banner-buttons .btn-primary {
    background: #ffffff;
    color: #064e3b;
}

.appointment-banner-buttons .btn-primary:hover {
    background: #d1fae5;
}

.appointment-banner-buttons .btn-outline {
    border-color: #ffffff;
    color: #ffffff;
}

.appointment-banner-buttons .btn-outline:hover {
    background: #ffffff;
    color: #064e3b;
}

/* ===== FOOTER ===== */
.footer {
    background: #022c22;
    color: #d1fae5;
    padding: 40px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-col h4 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #ffffff;
}

.footer-col p,
.footer-col li {
    font-size: 14px;
    opacity: 0.85;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #a7f3d0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: #ffffff;
}

.footer-col a {
    color: #a7f3d0;
    text-decoration: none;
}

.footer-col a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #d1fae5;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: #10b981;
    color: #ffffff;
}

.footer-copy {
    font-size: 13px;
    opacity: 0.6;
}

/* ===== UTILITY ===== */
.text-center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .nav.open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 20px;
        border-bottom: 2px solid #d1fae5;
    }

    .nav.open .nav-list {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .burger-menu {
        display: flex;
    }

    .hero h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }

    .top-bar-inner {
        flex-direction: column;
        gap: 5px;
        font-size: 12px;
    }

    .appointment-banner {
        padding: 30px 20px;
    }

    .appointment-banner h2 {
        font-size: 24px;
    }
}