/* ====================================================================
   New Life Team — дизайн-система
   Мягкие тёплые акценты, синий NL + тёплый акцент, человечный тон.
   ==================================================================== */

:root {
    --nl-primary: #1f5fc8;        /* основной синий NL */
    --nl-primary-dark: #173f88;
    --nl-primary-light: #eaf1ff;
    --nl-accent: #f47b3a;          /* тёплый оранжевый акцент */
    --nl-accent-soft: #ffe9d8;
    --nl-success: #20a577;
    --nl-success-light: #e3f6ee;

    --text: #1b1d23;
    --text-soft: #4b5263;
    --text-muted: #8a8f9b;
    --line: #ebedf2;
    --bg: #ffffff;
    --bg-soft: #f7f8fc;
    --bg-cream: #faf6f0;

    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 32px;
    --shadow-sm: 0 2px 8px rgba(20, 30, 60, 0.05);
    --shadow-md: 0 12px 32px rgba(20, 30, 60, 0.08);
    --shadow-lg: 0 24px 60px rgba(20, 30, 60, 0.12);

    --container: 1180px;
    --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--nl-primary); text-decoration: none; }
a:hover { color: var(--nl-primary-dark); }

h1, h2, h3, h4 {
    font-family: 'Manrope', 'Inter', sans-serif;
    color: var(--text);
    margin: 0 0 0.6em;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
p  { color: var(--text-soft); margin: 0 0 1em; }

.text-primary { color: var(--nl-primary); }
.text-accent { color: var(--nl-accent); }
.text-success { color: var(--nl-success); }
.text-muted { color: var(--text-muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

section { padding: 70px 0; }
.section-pad-sm { padding: 50px 0; }
.section-pad-lg { padding: 100px 0; }
.bg-soft { background: var(--bg-soft); }
.bg-cream { background: var(--bg-cream); }
.bg-primary-light { background: var(--nl-primary-light); }

/* ===== HEADER ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: var(--header-h);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
    z-index: 100;
    display: flex; align-items: center;
}
.header-spacer { height: var(--header-h); }
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; }
.brand:hover { color: inherit; }
.brand-mark {
    width: 42px; height: 42px; border-radius: 12px;
    background: linear-gradient(135deg, var(--nl-primary), var(--nl-primary-dark));
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.15rem; color: var(--text); }
.brand-sub { font-size: 0.72rem; color: var(--text-muted); margin-top: 3px; }

.nav-desktop { display: flex; gap: 28px; }
.nav-desktop a { color: var(--text-soft); font-weight: 500; font-size: 0.95rem; }
.nav-desktop a:hover { color: var(--nl-primary); }

.header-right { display: flex; align-items: center; gap: 12px; }
.header-partner {
    display: flex; align-items: center; gap: 10px;
    padding: 6px 14px 6px 6px; border-radius: 50px;
    background: var(--bg-soft); border: 1px solid var(--line);
    transition: 0.2s; color: var(--text);
}
.header-partner:hover { border-color: var(--nl-primary); color: var(--nl-primary); background: var(--nl-primary-light); }
.header-partner-photo { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.header-partner-info { display: flex; flex-direction: column; line-height: 1; }
.header-partner-label { font-size: 0.65rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.04em; }
.header-partner-name { font-weight: 700; font-size: 0.88rem; margin-top: 3px; color: inherit; }

.burger {
    display: none; background: none; border: 0; color: var(--text);
    font-size: 1.3rem; cursor: pointer; padding: 8px;
}
.mobile-menu {
    position: fixed; inset: 0; background: rgba(15, 22, 38, 0.5);
    backdrop-filter: blur(4px); z-index: 200;
    opacity: 0; pointer-events: none; transition: 0.25s;
}
body.menu-open .mobile-menu { opacity: 1; pointer-events: auto; }
.mobile-menu-inner {
    position: absolute; right: 0; top: 0; bottom: 0;
    width: min(82vw, 340px); background: #fff;
    padding: 80px 30px 30px; display: flex; flex-direction: column; gap: 6px;
    transform: translateX(100%); transition: 0.3s ease;
}
body.menu-open .mobile-menu-inner { transform: translateX(0); }
.mobile-menu a {
    padding: 14px 0; border-bottom: 1px solid var(--line);
    color: var(--text); font-weight: 600; font-size: 1.05rem;
}
.mobile-menu a:hover { color: var(--nl-primary); }
.mobile-menu-close {
    position: absolute; top: 22px; right: 22px;
    background: none; border: 0; font-size: 1.5rem; color: var(--text); cursor: pointer;
}
.mobile-menu-card {
    margin-top: 18px; background: var(--nl-primary-light); border: 1px solid var(--nl-primary-light) !important;
    color: var(--nl-primary) !important; border-radius: 14px; padding: 14px 16px !important;
    text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 26px; border-radius: 50px; font-weight: 600; font-size: 0.95rem;
    border: 0; cursor: pointer; transition: all 0.2s; text-decoration: none;
    line-height: 1;
}
.btn-primary { background: var(--nl-primary); color: #fff; box-shadow: 0 8px 20px rgba(31, 95, 200, 0.25); }
.btn-primary:hover { background: var(--nl-primary-dark); color: #fff; transform: translateY(-1px); }
.btn-accent { background: var(--nl-accent); color: #fff; box-shadow: 0 8px 20px rgba(244, 123, 58, 0.3); }
.btn-accent:hover { background: #e0682a; color: #fff; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--line); }
.btn-outline:hover { border-color: var(--nl-primary); color: var(--nl-primary); }
.btn-tg { background: #229ed9; color: #fff; }
.btn-tg:hover { background: #1c87ba; color: #fff; }
.btn-wa { background: #25d366; color: #fff; }
.btn-wa:hover { background: #1ebd5b; color: #fff; }
.btn-soft { background: var(--bg-soft); color: var(--text); border: 1px solid var(--line); }
.btn-soft:hover { background: var(--nl-primary-light); color: var(--nl-primary); border-color: var(--nl-primary-light); }
.btn-lg { padding: 18px 32px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ===== HERO ===== */
.hero {
    padding: 60px 0 70px;
    background: linear-gradient(180deg, var(--bg-cream) 0%, #fff 100%);
    position: relative; overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--nl-primary-light); color: var(--nl-primary);
    padding: 7px 16px; border-radius: 50px;
    font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.04em;
    margin-bottom: 22px;
}
.hero-title { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.hero-title .hl { color: var(--nl-primary); }
.hero-lead { font-size: 1.15rem; color: var(--text-soft); margin: 20px 0 30px; max-width: 540px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; }
.hero-trust-item { display: inline-flex; align-items: center; gap: 8px; color: var(--text-soft); font-size: 0.92rem; }
.hero-trust-item i { color: var(--nl-success); }

.hero-card {
    background: #fff;
    border-radius: var(--r-xl);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    position: relative;
}
.hero-card-photo {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    object-position: top center; /* Добавили фокус */
    border-radius: var(--r-lg);
}
.hero-card-tag {
    position: absolute; top: 50px; left: -20px;
    background: var(--nl-accent); color: #fff;
    padding: 10px 18px; border-radius: 50px;
    font-weight: 700; font-size: 0.82rem;
    box-shadow: var(--shadow-md);
}
.hero-card-body { padding-top: 22px; }
.hero-card-name { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.3rem; margin: 0 0 4px; }
.hero-card-status { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 16px; }
.hero-card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* ===== SECTION HEAD ===== */
.section-head { max-width: 760px; margin: 0 auto 50px; text-align: center; }
.section-head-eyebrow {
    display: inline-block; color: var(--nl-accent);
    font-weight: 800; font-size: 0.82rem;
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 14px;
}
.section-head h2 { margin-bottom: 16px; }
.section-head p { color: var(--text-soft); font-size: 1.1rem; }

/* ===== GRID UTILS ===== */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; align-items: stretch; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }

/* ===== PARTNER CARDS (folder-style) ===== */
.partner-card {
    background: #fff; border-radius: var(--r-lg);
    padding: 0; border: 1px solid var(--line);
    overflow: hidden; cursor: pointer; transition: 0.3s;
    display: flex; flex-direction: column; height: 100%;
    text-align: left; color: inherit;
}
.partner-card:hover { transform: translateY(-6px); border-color: var(--nl-primary); box-shadow: var(--shadow-md); color: inherit; }
.partner-card-photo-wrap {
    aspect-ratio: 4/5; /* МЕНЯЕМ 4/3 НА ПОРТРЕТНЫЕ 4/5 */
    overflow: hidden;
    background: var(--bg-soft); position: relative;
}
.partner-card-photo {
    width: 100%; height: 100%; 
    object-fit: cover;
    object-position: top center; /* ИДЕАЛЬНЫЙ ФОКУС НА ЛИЦАХ */
    transition: transform 0.5s;
}
.partner-card:hover .partner-card-photo { transform: scale(1.05); }
.partner-card-tag {
    position: absolute; top: 14px; left: 14px;
    background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(4px);
    color: var(--nl-primary); padding: 6px 12px; border-radius: 50px;
    font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.partner-card-body { padding: 24px 24px 22px; flex-grow: 1; display: flex; flex-direction: column; }
.partner-card-name { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 1.2rem; margin: 0 0 5px; }
.partner-card-status { color: var(--nl-primary); font-size: 0.85rem; font-weight: 600; margin-bottom: 12px; }
.partner-card-quote { color: var(--text-soft); font-size: 0.95rem; font-style: italic; flex-grow: 1; }
.partner-card-quote::before { content: '«'; font-size: 1.4em; color: var(--nl-accent); margin-right: 3px; }
.partner-card-quote::after { content: '»'; font-size: 1.4em; color: var(--nl-accent); margin-left: 3px; }
.partner-card-meta {
    display: flex; gap: 14px; font-size: 0.82rem; color: var(--text-muted);
    margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
}
.partner-card-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.partner-card-meta-item i { color: var(--nl-primary); }
.partner-card-open {
    margin-top: 14px; display: inline-flex; align-items: center; gap: 6px;
    color: var(--nl-primary); font-weight: 700; font-size: 0.88rem;
}

/* ===== FEATURE CARD ===== */
.feature-card {
    background: #fff; border-radius: var(--r-lg);
    padding: 32px 28px; border: 1px solid var(--line);
    height: 100%;
}
.feature-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: var(--nl-primary-light); color: var(--nl-primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 18px;
}
.feature-icon.accent { background: var(--nl-accent-soft); color: var(--nl-accent); }
.feature-icon.success { background: var(--nl-success-light); color: var(--nl-success); }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { margin: 0; }

/* ===== STAT BOX ===== */
.stat-box {
    background: #fff; border-radius: var(--r-lg);
    padding: 26px; border: 1px solid var(--line); text-align: center;
}
.stat-val { font-family: 'Manrope', sans-serif; font-weight: 800; font-size: 2rem; color: var(--nl-primary); }
.stat-lab { color: var(--text-muted); font-size: 0.85rem; font-weight: 600; }

/* ===== QUOTE ===== */
.quote-block {
    background: var(--nl-primary-light); border-radius: var(--r-lg);
    padding: 36px 32px; position: relative;
    font-size: 1.15rem; color: var(--text); line-height: 1.6;
}
.quote-block::before {
    content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900;
    color: var(--nl-primary); font-size: 1.6rem;
    position: absolute; top: 20px; left: 24px; opacity: 0.3;
}
.quote-block .quote-author { display: block; margin-top: 14px; font-size: 0.92rem; color: var(--text-muted); font-weight: 600; }

/* ===== FAQ ===== */
.faq-item {
    border: 1px solid var(--line); border-radius: var(--r-md);
    padding: 22px 26px; background: #fff; margin-bottom: 14px;
}
.faq-q {
    font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    font-size: 1.05rem; color: var(--text);
}
.faq-q::after { content: '+'; font-size: 1.4rem; color: var(--nl-primary); transition: 0.2s; margin-left: 16px; }
.faq-item.open .faq-q::after { content: '−'; }
.faq-a { display: none; margin-top: 14px; color: var(--text-soft); }
.faq-item.open .faq-a { display: block; }

/* ===== FOOTER ===== */
.site-footer {
    background: #0f1628; color: #d3d6e0;
    padding: 70px 0 30px; margin-top: 80px;
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
.site-footer a { color: #b8bdce; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 50px; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-sub { color: #8b91a4; }
.footer-tagline { color: #b8bdce; margin-top: 16px; font-size: 0.93rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-mentor {
    display: flex; gap: 14px; align-items: center;
    background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px; border-radius: 14px; cursor: pointer; transition: 0.2s;
}
.footer-mentor:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--nl-primary); }
.footer-mentor-photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.footer-mentor-info { display: flex; flex-direction: column; line-height: 1.3; }
.footer-mentor-info strong { color: #fff; font-size: 0.95rem; }
.footer-mentor-info span { color: #8b91a4; font-size: 0.8rem; }
.footer-mentor-link { color: var(--nl-primary) !important; font-weight: 700; margin-top: 4px; font-size: 0.8rem !important; }
.footer-bottom { padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-bottom p { color: #8b91a4; font-size: 0.85rem; margin: 0; }
.footer-bottom .footer-legal { max-width: 600px; font-size: 0.78rem; }

/* ===== MODAL ===== */
.partner-modal {
    position: fixed; inset: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.25s;
    padding: 20px;
}
.partner-modal.is-open { opacity: 1; pointer-events: auto; }
.partner-modal-backdrop {
    position: absolute; inset: 0; background: rgba(15, 22, 38, 0.6); backdrop-filter: blur(6px);
}
.partner-modal-content {
    position: relative; z-index: 1; background: #fff;
    width: 100%; max-width: 720px; max-height: 92vh; overflow-y: auto;
    border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
    transform: translateY(20px); transition: 0.25s;
}
.partner-modal.is-open .partner-modal-content { transform: translateY(0); }
.partner-modal-close {
    position: absolute; top: 16px; right: 18px; z-index: 5;
    background: rgba(255, 255, 255, 0.95); border: 0;
    width: 38px; height: 38px; border-radius: 50%;
    font-size: 1.5rem; cursor: pointer; color: var(--text);
    box-shadow: var(--shadow-sm);
}
.partner-modal-loader {
    padding: 80px 30px; text-align: center; display: flex;
    flex-direction: column; align-items: center; gap: 16px; color: var(--text-muted);
    font-size: 0.95rem;
}
.partner-modal-loader i { font-size: 2rem; color: var(--nl-primary); }
.pm-cover {
    height: 90px; background: linear-gradient(120deg, var(--nl-primary), #5a87d4);
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.pm-head {
    padding: 0 30px 20px; margin-top: -50px;
    display: flex; gap: 24px; align-items: flex-end;
}
.pm-photo {
    width: 110px; height: 110px; border-radius: 24px;
    object-fit: cover; border: 5px solid #fff;
    box-shadow: var(--shadow-md); flex-shrink: 0;
}
.pm-head-info { flex-grow: 1; padding-bottom: 4px; }
.pm-status {
    display: inline-block; background: rgba(255, 255, 255, 0.95);
    color: var(--nl-primary); font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em;
    padding: 4px 10px; border-radius: 50px; margin-bottom: 8px;
}
.pm-name { font-size: 1.6rem; margin: 0 0 8px; }
.pm-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 0.85rem; color: var(--text-muted); }
.pm-meta-item { display: inline-flex; align-items: center; gap: 6px; }
.pm-meta-item i { color: var(--nl-primary); }
.pm-quote {
    margin: 0 30px 20px; padding: 16px 22px;
    background: var(--nl-primary-light); border-radius: var(--r-md);
    display: flex; gap: 12px; align-items: flex-start; color: var(--text);
    font-style: italic;
}
.pm-quote i { color: var(--nl-primary); margin-top: 4px; }
.pm-story { padding: 0 30px; color: var(--text-soft); line-height: 1.7; }
.pm-story p { margin: 0 0 1em; }
.pm-achievements {
    margin: 16px 30px 0; padding: 14px 18px;
    background: var(--nl-success-light); color: var(--nl-success);
    border-radius: var(--r-md); font-size: 0.9rem;
}
.pm-actions {
    padding: 24px 30px 18px; display: grid;
    grid-template-columns: 1fr 1fr 1fr; gap: 10px;
}
.pm-full {
    display: block; text-align: center; padding: 16px;
    border-top: 1px solid var(--line); color: var(--nl-primary);
    font-weight: 600;
}

/* ===== PARTNER PROFILE PAGE ===== */
.profile-hero {
    padding: 50px 0; background: linear-gradient(180deg, var(--bg-cream), #fff);
}
.profile-grid { display: grid; grid-template-columns: 380px 1fr; gap: 50px; align-items: start; }
.profile-photo-card {
    background: #fff; border-radius: var(--r-xl);
    padding: 16px; box-shadow: var(--shadow-md); position: sticky; top: 100px;
}
.profile-photo {
    width: 100%; aspect-ratio: 4/5; object-fit: cover;
    border-radius: var(--r-lg);
}
.profile-photo-quick { padding: 18px 8px 6px; }
.profile-photo-meta { display: flex; flex-wrap: wrap; gap: 10px; }
.profile-photo-meta-item {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--bg-soft); padding: 6px 12px; border-radius: 50px;
    font-size: 0.8rem; color: var(--text-soft);
}
.profile-photo-meta-item i { color: var(--nl-primary); }

.profile-info-status {
    display: inline-block; color: var(--nl-primary); font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.82rem;
    margin-bottom: 10px;
}
.profile-name { font-size: clamp(2rem, 4vw, 2.8rem); }

.profile-cta {
    background: #fff; border-radius: var(--r-lg);
    padding: 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line);
    margin: 26px 0;
}
.profile-cta h3 { margin: 0 0 10px; font-size: 1.15rem; }
.profile-cta p { margin: 0 0 18px; color: var(--text-soft); font-size: 0.95rem; }
.profile-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.profile-cta-grid .btn { padding: 13px 14px; font-size: 0.9rem; }
.profile-cta-bot { grid-column: 1 / -1; }

.profile-story-block {
    background: #fff; border-radius: var(--r-lg);
    padding: 36px; border: 1px solid var(--line);
    color: var(--text-soft); line-height: 1.75;
}
.profile-story-block h2 { margin-bottom: 20px; color: var(--text); }
.profile-story-block p { color: var(--text-soft); }
.profile-quote {
    margin: 22px 0; padding: 22px 26px;
    background: var(--nl-primary-light); border-radius: var(--r-md);
    color: var(--text); font-style: italic; border-left: 4px solid var(--nl-primary);
}
.profile-achievements {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin: 26px 0 0;
}
.profile-achievement {
    background: var(--nl-success-light); color: var(--nl-success);
    padding: 8px 16px; border-radius: 50px; font-size: 0.88rem; font-weight: 600;
}

/* ===== ARTICLE/BLOG ===== */
.article-card {
    background: #fff; border-radius: var(--r-lg);
    border: 1px solid var(--line); overflow: hidden;
    display: flex; flex-direction: column; height: 100%;
    transition: 0.3s;
}
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--nl-primary); color: inherit; }
.article-card-photo { aspect-ratio: 16/9; object-fit: cover; }
.article-card-body { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.article-card-cat {
    display: inline-block; color: var(--nl-accent);
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
    margin-bottom: 10px;
}
.article-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.article-card-excerpt { color: var(--text-soft); font-size: 0.93rem; flex-grow: 1; }
.article-card-meta {
    margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line);
    color: var(--text-muted); font-size: 0.82rem;
    display: flex; justify-content: space-between; align-items: center;
}

.article-single { padding: 50px 0; }
.article-single .article-cover {
    width: 100%; aspect-ratio: 16/9; object-fit: cover;
    border-radius: var(--r-lg); margin-bottom: 30px;
}
.article-single h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 18px; }
.article-single .article-meta-line { color: var(--text-muted); margin-bottom: 30px; font-size: 0.92rem; display: flex; gap: 20px; flex-wrap: wrap; }
.article-content { font-size: 1.07rem; line-height: 1.8; color: var(--text-soft); }
.article-content p { color: inherit; }
.article-content h2 { margin: 36px 0 16px; }
.article-content h3 { margin: 26px 0 12px; }
.article-content ul, .article-content ol { margin-bottom: 1em; padding-left: 22px; }
.article-content li { margin-bottom: 8px; }
.article-content blockquote {
    border-left: 4px solid var(--nl-primary); padding: 14px 22px;
    background: var(--nl-primary-light); border-radius: 0 var(--r-md) var(--r-md) 0;
    margin: 24px 0; color: var(--text); font-style: italic;
}

/* ===== PRODUCT ===== */
.product-card {
    background: #fff; border-radius: var(--r-lg);
    border: 1px solid var(--line); overflow: hidden;
    display: flex; flex-direction: column; transition: 0.3s;
}
.product-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.product-img-wrap {
    aspect-ratio: 1/1; background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    padding: 24px; position: relative;
}
.product-img-wrap img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-badge {
    position: absolute; top: 14px; left: 14px;
    padding: 5px 12px; border-radius: 50px; font-size: 0.72rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
}
.product-body { padding: 20px 22px 22px; flex-grow: 1; display: flex; flex-direction: column; }
.product-cat { color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.product-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.product-desc { color: var(--text-soft); font-size: 0.88rem; flex-grow: 1; }
.product-price {
    display: flex; justify-content: space-between; align-items: baseline;
    margin: 14px 0; padding-top: 12px; border-top: 1px solid var(--line);
}
.product-price-main { font-weight: 800; font-size: 1.3rem; color: var(--text); }
.product-price-partner { color: var(--nl-success); font-size: 0.83rem; font-weight: 600; }

/* ===== TABLE (marketing plan) ===== */
.mp-table {
    width: 100%; border-collapse: collapse;
    background: #fff; border-radius: var(--r-lg); overflow: hidden;
    box-shadow: var(--shadow-sm); margin: 20px 0;
}
.mp-table th { background: var(--nl-primary); color: #fff; padding: 16px; text-align: left; font-weight: 700; }
.mp-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--text-soft); }
.mp-table tr:last-child td { border-bottom: 0; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 980px) {
    .nav-desktop, .header-partner-info { display: none; }
    .burger { display: block; }
    .header-partner { padding: 4px; }
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-card { max-width: 380px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .profile-grid { grid-template-columns: 1fr; }
    .profile-photo-card { position: static; }
}
@media (max-width: 580px) {
    section { padding: 50px 0; }
    .footer-grid { grid-template-columns: 1fr; }
    .pm-actions { grid-template-columns: 1fr; }
    .pm-head { flex-direction: column; gap: 14px; align-items: flex-start; }
    .pm-photo { width: 90px; height: 90px; }
    .partner-card-meta { flex-wrap: wrap; }
    .hero-ctas { flex-direction: column; }
    .hero-ctas .btn { width: 100%; }
}

/* ===================================================================
   ДОПОЛНИТЕЛЬНЫЕ СТИЛИ ДЛЯ ВНУТРЕННИХ СТРАНИЦ
   =================================================================== */

/* Утилиты-разметка */
.container-narrow { max-width: 980px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: var(--bg-soft, #f7f9ff); }
.section-title { font-family: 'Manrope', 'Inter', sans-serif; font-size: 2rem; margin: 0 0 10px; text-align: center; color: var(--c-heading, #1b1d23); }
.section-lead { font-size: 1.05rem; color: var(--c-muted, #4b5263); text-align: center; max-width: 720px; margin: 0 auto 40px; line-height: 1.65; }
.section-note { font-size: 0.85rem; color: var(--c-muted, #8a8f9b); text-align: center; margin-top: 30px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* Hero внутренних страниц */
.page-hero { padding: 70px 0 50px; background: linear-gradient(135deg, #f7f9ff 0%, #eaf1ff 100%); text-align: center; }
.page-hero-eyebrow { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; background: #fff; border-radius: 50px; font-size: 0.82rem; font-weight: 700; color: #1f5fc8; box-shadow: 0 4px 14px rgba(20, 30, 60, 0.08); margin-bottom: 18px; }
.page-hero-title { font-family: 'Manrope', 'Inter', sans-serif; font-size: 2.4rem; line-height: 1.15; margin: 0 0 18px; color: #1b1d23; }
.page-hero-lead { max-width: 720px; margin: 0 auto; font-size: 1.1rem; line-height: 1.7; color: #4b5263; }

/* Сетка карточек 2 колонки */
.block-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.block-card { background: #fff; padding: 28px; border-radius: 20px; box-shadow: 0 4px 16px rgba(20, 30, 60, 0.06); border: 1px solid #ebedf2; transition: 0.2s; }
.block-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20, 30, 60, 0.1); }
.block-card-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.block-card h3 { margin: 0 0 10px; font-size: 1.15rem; color: #1b1d23; }
.block-card p { margin: 0; color: #4b5263; line-height: 1.6; font-size: 0.95rem; }

/* Квалификации NL */
.rank-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 20px; }
.rank-card { background: #fff; border-radius: 18px; padding: 28px 22px; border: 1px solid #ebedf2; box-shadow: 0 4px 14px rgba(20, 30, 60, 0.05); position: relative; transition: 0.2s; }
.rank-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(20, 30, 60, 0.1); }
.rank-card.featured { border: 2px solid #f47b3a; box-shadow: 0 10px 30px rgba(244, 123, 58, 0.18); }
.rank-card-level { font-family: 'Manrope', 'Inter', sans-serif; font-size: 2rem; font-weight: 800; color: #1f5fc8; line-height: 1; margin-bottom: 12px; }
.rank-card.featured .rank-card-level { color: #f47b3a; }
.rank-card h3 { margin: 0 0 12px; font-size: 1.05rem; color: #1b1d23; }
.rank-card p { margin: 0 0 16px; font-size: 0.9rem; color: #4b5263; line-height: 1.6; }
.rank-card-income { font-weight: 700; color: #20a577; font-size: 0.95rem; }
.rank-card-badge { position: absolute; top: -10px; right: 14px; background: #f47b3a; color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }

/* Эволюция партнёра 7-30-90 */
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 20px; }
.timeline-card { background: #fff; padding: 32px 26px; border-radius: 20px; border: 1px solid #ebedf2; box-shadow: 0 4px 14px rgba(20, 30, 60, 0.05); }
.timeline-badge { display: inline-block; background: linear-gradient(135deg, #1f5fc8, #173f88); color: #fff; padding: 6px 16px; border-radius: 50px; font-weight: 800; font-size: 0.9rem; margin-bottom: 16px; }
.timeline-card h3 { margin: 0 0 14px; font-size: 1.15rem; color: #1b1d23; }
.timeline-card ul { margin: 0; padding-left: 18px; color: #4b5263; line-height: 1.7; font-size: 0.95rem; }
.timeline-card ul li { margin-bottom: 6px; }

/* Highlight-блок */
.hl-block { background: linear-gradient(135deg, #fff8f1, #ffeed9); padding: 40px; border-radius: 24px; text-align: center; border: 1px solid #fde4c8; }
.hl-block-eyebrow { display: inline-flex; align-items: center; gap: 6px; background: #f47b3a; color: #fff; padding: 6px 14px; border-radius: 50px; font-size: 0.82rem; font-weight: 700; margin-bottom: 16px; }
.hl-block h2 { font-family: 'Manrope', 'Inter', sans-serif; margin: 0 0 14px; font-size: 1.8rem; color: #1b1d23; }
.hl-block p { color: #4b5263; max-width: 680px; margin: 0 auto 26px; line-height: 1.65; }

/* Cta block */
.cta-block { background: #fff; border-radius: 24px; padding: 44px; text-align: center; box-shadow: 0 10px 32px rgba(20, 30, 60, 0.06); border: 1px solid #ebedf2; }
.cta-title { font-family: 'Manrope', 'Inter', sans-serif; font-size: 1.7rem; margin: 0 0 12px; color: #1b1d23; }
.cta-lead { color: #4b5263; max-width: 600px; margin: 0 auto 24px; line-height: 1.65; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Filter tabs */
.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 30px; }
.filter-tab { padding: 8px 18px; background: #fff; border: 1px solid #ebedf2; border-radius: 50px; text-decoration: none; color: #4b5263; font-weight: 600; font-size: 0.9rem; transition: 0.2s; }
.filter-tab:hover { background: #f3f5fa; }
.filter-tab.active { background: #1f5fc8; color: #fff; border-color: #1f5fc8; }

/* Пустое состояние */
.empty-block { text-align: center; padding: 60px 20px; color: #8a8f9b; font-size: 1rem; line-height: 1.7; }
.empty-block i { font-size: 3rem; color: #ebedf2; display: block; margin-bottom: 14px; }

/* Карточка товара */
.product-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 14px rgba(20, 30, 60, 0.06); border: 1px solid #ebedf2; transition: 0.2s; position: relative; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20, 30, 60, 0.1); }
.product-card-badge { position: absolute; top: 14px; left: 14px; background: #f47b3a; color: #fff; padding: 4px 12px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; z-index: 1; text-transform: uppercase; letter-spacing: 0.04em; }
.product-card-image-wrap { aspect-ratio: 1.2/1; background: #f7f9ff; display: flex; align-items: center; justify-content: center; }
.product-card-image-wrap img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.product-card-image-wrap i { font-size: 3rem; color: #cfd5e2; }
.product-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-card-brand { font-size: 0.78rem; font-weight: 700; color: #1f5fc8; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.product-card-title { margin: 0 0 8px; font-size: 1.05rem; color: #1b1d23; }
.product-card-desc { margin: 0 0 14px; font-size: 0.9rem; color: #4b5263; line-height: 1.55; flex: 1; }
.product-card-prices { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.product-card-price { font-size: 1.25rem; font-weight: 800; color: #20a577; }
.product-card-price-old { font-size: 0.95rem; color: #8a8f9b; text-decoration: line-through; }
.product-card-price-note { font-size: 0.78rem; color: #8a8f9b; }
.product-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.product-card-actions .btn { flex: 1; min-width: 0; padding: 9px 12px; font-size: 0.85rem; }

/* Карточки статей блога */
.article-card { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: 0 4px 14px rgba(20, 30, 60, 0.06); border: 1px solid #ebedf2; transition: 0.2s; text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(20, 30, 60, 0.1); color: inherit; }
.article-card-image { aspect-ratio: 16/9; background: #f7f9ff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.article-card-image img { width: 100%; height: 100%; object-fit: cover; }
.article-card-image i { font-size: 3rem; color: #cfd5e2; }
.article-card-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.article-card-cat { display: inline-block; background: #eaf1ff; color: #1f5fc8; padding: 3px 10px; border-radius: 50px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; align-self: flex-start; }
.article-card-title { margin: 0 0 10px; font-size: 1.1rem; color: #1b1d23; line-height: 1.35; }
.article-card-excerpt { margin: 0 0 14px; font-size: 0.9rem; color: #4b5263; line-height: 1.55; flex: 1; }
.article-card-meta { display: flex; gap: 16px; font-size: 0.78rem; color: #8a8f9b; }

/* Одна статья */
.article-page { padding: 60px 0; }
.article-back { display: inline-block; color: #1f5fc8; font-weight: 600; text-decoration: none; margin-bottom: 16px; font-size: 0.9rem; }
.article-back:hover { text-decoration: underline; }
.article-page .article-category { display: inline-block; background: #eaf1ff; color: #1f5fc8; padding: 4px 12px; border-radius: 50px; font-size: 0.78rem; font-weight: 700; margin-bottom: 12px; text-transform: uppercase; }
.article-title { font-family: 'Manrope', 'Inter', sans-serif; font-size: 2.2rem; line-height: 1.2; margin: 0 0 18px; color: #1b1d23; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; color: #8a8f9b; font-size: 0.88rem; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid #ebedf2; }
.article-hero-image { margin-bottom: 30px; border-radius: 20px; overflow: hidden; }
.article-hero-image img { width: 100%; display: block; }
.article-content { font-size: 1.05rem; line-height: 1.8; color: #1b1d23; }
.article-content h2 { font-family: 'Manrope', 'Inter', sans-serif; font-size: 1.5rem; margin: 32px 0 14px; color: #1f5fc8; }
.article-content h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.article-content p { margin: 0 0 16px; }
.article-content ul, .article-content ol { margin: 0 0 18px; padding-left: 22px; }
.article-content li { margin-bottom: 6px; }
.article-content blockquote { border-left: 4px solid #f47b3a; background: #fff8f1; padding: 18px 22px; margin: 24px 0; border-radius: 0 12px 12px 0; font-style: italic; color: #4b5263; }
.article-content img { max-width: 100%; border-radius: 14px; margin: 18px 0; }
.article-content a { color: #1f5fc8; }

.article-cta { margin-top: 50px; padding: 32px; background: linear-gradient(135deg, #eaf1ff, #f7f9ff); border-radius: 20px; text-align: center; }
.article-cta h3 { margin: 0 0 10px; font-size: 1.3rem; }
.article-cta p { margin: 0 0 18px; color: #4b5263; }

/* Адаптив */
@media (max-width: 980px) {
    .block-grid-2 { grid-template-columns: 1fr; }
    .rank-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline-grid { grid-template-columns: 1fr; }
    .page-hero-title { font-size: 1.9rem; }
    .article-title { font-size: 1.7rem; }
}
@media (max-width: 580px) {
    .rank-grid { grid-template-columns: 1fr; }
    .cta-block, .hl-block { padding: 28px 20px; }
    .filter-tabs { gap: 6px; }
    .filter-tab { padding: 6px 12px; font-size: 0.85rem; }
}
