/*
Theme Name: NGClinic NSK
Theme URI: https://ngclinic-nsk.ru
Author: NGClinic
Author URI: https://ngclinic-nsk.ru
Description: Тема клиники с адаптивным оформлением и верхними ссылками по образцу eastclinic.ru
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ngclinic-nsk
Tags: clinic, medical, responsive, custom-logo, featured-images, accessibility-ready
*/

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    color: #222;
    background: #f7f7f5;
}

a {
    color: #006fa8;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e4e4e4;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    font-size: 14px;
    background: #f4f7fb;
}

.top-bar__left,
.top-bar__right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.top-bar__link {
    color: #333;
}

.top-bar__button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #006fa8;
    color: white;
    border-radius: 30px;
    font-weight: 600;
}

.site-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 20px;
    gap: 20px;
}

.site-title {
    font-size: 28px;
    margin: 0;
    line-height: 1.1;
}

.site-description {
    margin: 6px 0 0;
    color: #555;
}

.primary-navigation {
    background: #006fa8;
}

.primary-navigation ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0 20px;
    list-style: none;
}

.primary-navigation li {
    margin: 0;
}

.primary-navigation a {
    display: block;
    padding: 16px 18px;
    color: white;
    font-weight: 600;
}

.primary-navigation a:hover {
    background: rgba(255,255,255,.08);
}

.site-main {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
}

.hero__inner {
    padding: 40px;
    background: linear-gradient(135deg, #eef6fc 0%, #ffffff 100%);
    border-radius: 24px;
    border: 1px solid #e6edf4;
}

.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    margin-bottom: 16px;
}

.hero p {
    font-size: 1.05rem;
    color: #4d4d4d;
    line-height: 1.8;
    max-width: 760px;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.hero-actions .button {
    padding: 14px 22px;
    border-radius: 999px;
    font-weight: 700;
}

.button-primary {
    background: #006fa8;
    color: white;
}

.button-secondary {
    border: 1px solid #006fa8;
    color: #006fa8;
    background: white;
}

@media (min-width: 768px) {
    .hero {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.footer {
    padding: 30px 20px;
    background: #1f3042;
    color: #d8e2ec;
    text-align: center;
}

.footer a {
    color: #ffffff;
}
