/* ==========================================================================
   NBC Home — главная Яровой Кофе
   Spectral (заголовки), Montserrat (текст), Cormorant Garamond (курсив-акцент)
   ========================================================================== */

.nbc-home {
    --h-navy:       #1B2356;
    --h-navy-deep:  #0E1433;
    --h-navy-soft:  #242B5E;
    --h-gold:       #C49953;
    --h-gold-light: #D5B480;
    --h-cream:      #FAF6F0;
    --h-cream-dark: #F0E8DA;
    --h-white:      #FFFFFF;
    --h-text:       #2A2A2A;
    --h-text-light: #6B6B6B;
    --h-text-muted: #9B9B9B;
    --h-line:       rgba(42, 42, 42, .12);
    --h-line-dark:  rgba(250, 246, 240, .15);

    --h-container:  1280px;
    --h-pad-x:      32px;
    --h-pad-x-mob:  20px;

    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--h-text);
    background: var(--h-cream);
    overflow-x: clip;
}

.nbc-home * { box-sizing: border-box; }

/* -------- Сбрасываем полосу Hello Elementor над главной -------- */
body:has(.nbc-home) .site-header,
body:has(.nbc-home) #masthead,
body:has(.nbc-home) .page-header,
body:has(.nbc-home) .entry-header { display: none !important; }

body:has(.nbc-home) .site-main,
body:has(.nbc-home) .entry-content { margin: 0 !important; padding: 0 !important; max-width: none !important; }

/* ═══════════════════════ SHARED ═══════════════════════ */
.nbc-home .nbc-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--h-gold);
    padding-bottom: 18px;
}
.nbc-home .nbc-kicker--on-dark { color: var(--h-gold-light); }

.nbc-home .nbc-h2 {
    font-family: 'Spectral', Georgia, serif;
    font-weight: 400 !important;
    font-size: clamp(38px, 5vw, 72px);
    line-height: 1.05;
    letter-spacing: -.01em;
    margin: 0;
    color: var(--h-text);
}
.nbc-home .nbc-h2--on-dark { color: var(--h-cream); }
.nbc-home .nbc-h2--sm      { font-size: clamp(30px, 3.6vw, 48px); }
.nbc-home .nbc-h2 em {
    font-family: 'Cormorant Garamond', 'Spectral', serif;
    font-style: italic;
    font-weight: 400 !important;
    color: var(--h-gold);
}
.nbc-home .nbc-hero__title em { font-weight: 400 !important; }
.nbc-home .nbc-blog__title    { font-weight: 400 !important; }

/* -------- Кнопки -------- */
.nbc-home .nbc-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 90px;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
    cursor: pointer;
    border: 1px solid transparent;
    white-space: nowrap;
}
.nbc-home .nbc-btn--gold       { background: var(--h-gold); color: #000; }
.nbc-home .nbc-btn--gold:hover { background: var(--h-gold-light); transform: translateY(-2px); }
.nbc-home .nbc-btn--ghost       { background: transparent; color: var(--h-cream); border-color: rgba(250,246,240,.4); }
.nbc-home .nbc-btn--ghost:hover { border-color: var(--h-gold); color: var(--h-gold); }
.nbc-home .nbc-btn--sm         { padding: 13px 22px; font-size: 11px; }

/* ═══════════════════════ HERO ═══════════════════════ */
.nbc-hero {
    position: relative;
    min-height: 100vh;
    padding: 120px var(--h-pad-x) 140px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--h-cream);
    isolation: isolate;
}
.nbc-hero__video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}
.nbc-hero__overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, rgba(14,20,51,.47) 0%, rgba(14,20,51,.27) 45%, rgba(14,20,51,.77) 100%),
        radial-gradient(120% 80% at 50% 0%, rgba(27,35,86,.0) 50%, rgba(14,20,51,.52) 100%);
    z-index: -1;
}

.nbc-hero__badge,
.nbc-hero__badge * {
    text-decoration: none !important;
}
.nbc-hero__badge {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    background: rgba(14,20,51,.55);
    border: 1px solid rgba(250,246,240,.2);
    border-radius: 90px;
    backdrop-filter: blur(10px);
    color: var(--h-cream);
    font-size: 12px;
    letter-spacing: .04em;
    transition: background .25s, border-color .25s, transform .25s;
}
.nbc-hero__badge span   { color: rgba(250,246,240,.85); }
.nbc-hero__badge strong { color: var(--h-gold); font-weight: 500; }
.nbc-hero__badge:hover  { background: rgba(14,20,51,.75); border-color: var(--h-gold); transform: translateY(-2px); }
.nbc-hero__badge svg    { color: var(--h-gold); margin-left: 4px; }

.nbc-hero__inner {
    position: relative;
    max-width: var(--h-container);
    width: 100%;
    margin: 0 auto;
}
.nbc-hero__kicker {
    display: inline-block;
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--h-gold);
    margin-bottom: 30px;
    padding-left: 40px;
    position: relative;
}
.nbc-hero__kicker::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    width: 30px; height: 1px;
    background: var(--h-gold);
}
.nbc-hero__lead {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 12px;
    color: var(--h-gold-light);
    letter-spacing: .01em;
}
.nbc-hero__title {
    font-family: 'Spectral', serif;
    font-weight: 300;
    font-size: clamp(54px, 8vw, 128px);
    line-height: .95;
    letter-spacing: -.02em;
    margin: 0 0 32px;
    color: var(--h-cream);
}
.nbc-hero__title em {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 400;
    color: var(--h-gold);
    display: inline-block;
    transform: translateY(-12px);
}
@media (max-width: 720px) {
    .nbc-hero__title em { transform: none; }
}
.nbc-hero__sub {
    font-size: 17px;
    line-height: 1.55;
    max-width: 520px;
    color: rgba(250,246,240,.75);
    margin: 0 0 44px;
}
.nbc-hero__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
/* CTA-кнопки в hero — одного кегля с бейджем «День в День» */
.nbc-hero__cta .nbc-btn {
    padding: 14px 24px;
    font-size: 12px;
    letter-spacing: .04em;
    gap: 10px;
}
.nbc-hero__cta .nbc-btn svg { flex: 0 0 auto; opacity: .9; }
.nbc-hero__cta .nbc-btn--ghost svg  { color: var(--h-gold); }
.nbc-hero__cta .nbc-btn--ghost:hover svg { color: var(--h-gold); opacity: 1; }

.nbc-hero__scroll {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(250,246,240,.6);
}
.nbc-hero__scroll i {
    display: block;
    width: 1px; height: 40px;
    background: linear-gradient(180deg, var(--h-gold), transparent);
    animation: nbcScroll 2.2s ease-in-out infinite;
}
@keyframes nbcScroll {
    0%,100% { transform: scaleY(1); opacity: 1; }
    50%     { transform: scaleY(.3); opacity: .5; }
}

/* ═══════════════════════ PACKS ═══════════════════════ */
.nbc-packs {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 90px;
    max-width: var(--h-container);
    margin: -80px auto 0;
    padding: 0 var(--h-pad-x) 80px;
    position: relative;
    z-index: 2;
}
.nbc-packs__item {
    display: block;
    flex: 0 0 auto;
    max-width: 360px;
    text-decoration: none;
    transition: transform .35s ease;
}
.nbc-packs__item img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 30px 50px rgba(14,20,51,.25));
}
.nbc-packs__item:hover { transform: translateY(-8px); }

/* ═══════════════════════ ABOUT ═══════════════════════ */
.nbc-about {
    background: var(--h-cream);
    padding: 100px var(--h-pad-x) 80px;
    border-top: 1px solid var(--h-line);
    position: relative;
    overflow: hidden;
}

/* Декоративная россыпь кофейных зёрен */
.nbc-beans {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.nbc-bean {
    position: absolute;
    color: var(--h-navy);
    opacity: .22;
    aspect-ratio: 40 / 60;
    height: auto;
    will-change: transform;
    transform: translate3d(0,0,0) rotate(0);
    transition: opacity .6s ease;
}
.nbc-about { min-height: 560px; }
.nbc-about__inner { position: relative; z-index: 1; }
.nbc-about__inner {
    max-width: var(--h-container);
    margin: 0 auto;
}
.nbc-about__block {
    padding: 60px 0;
    border-top: 1px solid var(--h-line);
}
.nbc-about__block:first-child { border-top: none; padding-top: 30px; }
.nbc-about__block .nbc-kicker { padding-bottom: 40px; }

.nbc-about__row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: start;
}
.nbc-about__text p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--h-text);
    margin: 0 0 20px;
}
.nbc-about__text p:last-child { margin: 0; }

/* ═══════════════════════ MAP ═══════════════════════ */
.nbc-map {
    background: var(--h-navy-deep);
    padding: 110px var(--h-pad-x) 140px;
    position: relative;
    overflow: hidden;
}
.nbc-map::before,
.nbc-map::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(250,246,240,.1), transparent);
}
.nbc-map::before { top: 0; }
.nbc-map::after  { bottom: 0; }

.nbc-map__inner {
    max-width: var(--h-container);
    margin: 0 auto;
}

.nbc-map__head {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: left;
}
.nbc-map__head .nbc-kicker { padding-bottom: 22px; }
.nbc-map__head .nbc-h2     { margin-bottom: 22px; }
.nbc-map__lead {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(250,246,240,.65);
    margin: 0;
    max-width: 560px;
}

.nbc-map__stage {
    position: relative;
    aspect-ratio: 1920 / 1080;
    max-width: 1400px;
    margin: 0 auto;
    background: transparent;
    border: none;
}
.nbc-map__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: .32;
    filter: brightness(0) invert(1);
    pointer-events: none;
}
.nbc-map__belt-label {
    position: absolute;
    top: calc(51% - 18px);
    left: 20px;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--h-gold);
    opacity: .6;
}
.nbc-map__belt {
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background-image: repeating-linear-gradient(90deg, var(--h-gold) 0 6px, transparent 6px 14px);
    opacity: .25;
}
.nbc-map__belt--n { top: 51%; }
.nbc-map__belt--s { top: 78%; }

.nbc-map__pin {
    position: absolute;
    transform: translate(
        calc(-50% + 40px + var(--pin-dx, 0px)),
        calc(-50% + 30px + var(--pin-dy, 0px))
    );
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 2;
}
@media (max-width: 720px) {
    .nbc-map__pin {
        transform: translate(
            calc(-50% + 16px + var(--pin-dx, 0px)),
            calc(-50% + 12px + var(--pin-dy, 0px))
        );
    }
}
.nbc-map__dot {
    position: relative;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--h-gold);
    box-shadow: 0 0 0 4px rgba(196,153,83,.2);
    flex: 0 0 auto;
}
.nbc-map__dot::before,
.nbc-map__dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid var(--h-gold);
    animation: nbcPulse 2.6s ease-out infinite;
}
.nbc-map__dot::after { animation-delay: 1.3s; }
@keyframes nbcPulse {
    0%   { transform: scale(1);   opacity: .7; }
    100% { transform: scale(3.5); opacity: 0;  }
}
.nbc-map__label {
    font-size: 11px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--h-cream);
    white-space: nowrap;
    padding: 4px 8px;
    background: rgba(14,20,51,.7);
    border-radius: 2px;
    backdrop-filter: blur(4px);
}

/* ═══════════════════════ BLOG ═══════════════════════ */
.nbc-blog {
    background: var(--h-cream);
    padding: 120px var(--h-pad-x) 140px;
    border-top: 1px solid var(--h-line);
}
.nbc-blog__inner {
    max-width: var(--h-container);
    margin: 0 auto;
}
.nbc-blog__head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 70px;
    gap: 30px;
    flex-wrap: wrap;
}
.nbc-blog__head .nbc-h2 { margin-bottom: 10px; }
.nbc-blog__lead {
    font-size: 15px;
    color: var(--h-text-light);
    margin: 0;
    max-width: 420px;
}
.nbc-blog__all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--h-text);
    text-decoration: none;
    transition: color .25s;
}
.nbc-blog__all:hover { color: var(--h-gold); }

.nbc-blog__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}
.nbc-blog__card,
.nbc-blog__card * {
    text-decoration: none !important;
}
.nbc-blog__card {
    display: block;
    color: inherit;
    transition: transform .4s ease;
}
.nbc-blog__card:hover { transform: translateY(-4px); }
.nbc-blog__card:hover .nbc-blog__title { color: var(--h-gold); }

.nbc-blog__media {
    aspect-ratio: 1;
    background: var(--h-cream-dark);
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 22px;
    border-radius: 2px;
    overflow: hidden;
}
.nbc-blog__card--big .nbc-blog__media { aspect-ratio: 16 / 11; }
.nbc-blog__media--pattern {
    background:
        repeating-linear-gradient(45deg, var(--h-navy) 0 1px, transparent 1px 14px) var(--h-navy);
}
.nbc-blog__media-tag {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 10px;
    letter-spacing: .3em;
    color: rgba(250,246,240,.5);
    text-transform: uppercase;
}
.nbc-blog__media:not(.nbc-blog__media--pattern) .nbc-blog__media-tag { display: none; }

.nbc-blog__meta {
    display: flex;
    gap: 8px;
    font-size: 10px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--h-gold);
    margin-bottom: 14px;
}

.nbc-blog__title {
    font-family: 'Spectral', serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 12px;
    color: var(--h-navy);
    transition: color .25s;
}
.nbc-blog__card--big .nbc-blog__title { font-size: 34px; }
.nbc-blog__excerpt {
    font-size: 14px;
    line-height: 1.6;
    color: var(--h-text-light);
    margin: 0;
}

/* ═══════════════════════ FOUNDER ═══════════════════════ */
.nbc-founder {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--h-navy-deep);
    min-height: 576px;
    align-items: stretch;
    position: relative;
    overflow: hidden;
}
.nbc-founder::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(196,153,83,.07) 0%, transparent 50%);
    pointer-events: none;
}

.nbc-founder__video {
    position: relative;
    background: #0E1433;
    overflow: hidden;
}
.nbc-founder__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    background: #0E1433;
}
.nbc-founder__video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(14,20,51,0) 0%, rgba(14,20,51,.35) 70%, rgba(14,20,51,.55) 100%);
    pointer-events: none;
    transition: opacity .4s;
}
.nbc-founder__video.is-playing::after { opacity: 0; }

.nbc-founder__play {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 96px; height: 96px;
    border-radius: 50%;
    background: var(--h-gold);
    color: #000;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 6px;
    transition: transform .3s, background .3s;
    z-index: 2;
    box-shadow: 0 0 0 0 rgba(196,153,83,.5), 0 0 0 20px rgba(196,153,83,.1);
    animation: nbcPlayPulse 2.6s ease-out infinite;
}
.nbc-founder__play:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--h-gold-light); }
.nbc-founder__play.is-hidden { opacity: 0; pointer-events: none; transform: translate(-50%, -50%) scale(.7); }
@keyframes nbcPlayPulse {
    0%   { box-shadow: 0 0 0 0 rgba(196,153,83,.5); }
    100% { box-shadow: 0 0 0 40px rgba(196,153,83,0); }
}

.nbc-founder__text {
    padding: 70px 70px 60px;
    color: var(--h-cream);
    display: flex;
    flex-direction: column;
}
.nbc-founder__lead {
    font-family: 'Spectral', serif;
    font-weight: 400;
    font-size: 22px;
    line-height: 1.5;
    margin: 30px 0 22px;
    color: var(--h-cream);
}
.nbc-founder__lead i {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--h-gold);
}
.nbc-founder__note {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(250,246,240,.65);
    margin: 0 0 40px;
    max-width: 520px;
}
.nbc-founder__line {
    height: 1px;
    background: var(--h-line-dark);
    margin: 0 0 36px;
}
.nbc-founder__achv {
    list-style: none;
    padding: 0;
    margin: 0 0 50px;
}
.nbc-founder__achv li {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(250,246,240,.75);
    padding: 12px 0 12px 70px;
    border-bottom: 1px solid var(--h-line-dark);
    position: relative;
}
.nbc-founder__achv li:last-child { border-bottom: none; }
.nbc-founder__achv b {
    position: absolute;
    left: 0; top: 12px;
    font-weight: 500;
    color: var(--h-gold);
    letter-spacing: .08em;
}

/* ═══════════════════════ PARTNERS ═══════════════════════ */
.nbc-partners {
    background: var(--h-cream-dark);
    padding: 120px var(--h-pad-x);
    overflow: hidden;
}
.nbc-partners__head {
    max-width: var(--h-container);
    margin: 0 auto 70px;
    text-align: center;
}
.nbc-partners__head .nbc-kicker { justify-content: center; }
.nbc-partners__head .nbc-h2    { text-align: center; }

.nbc-partners__track {
    position: relative;
    max-width: var(--h-container);
    margin: 0 auto;
    padding: 0 54px;
}
.nbc-partners__scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 40px 8px;
}
.nbc-partners__scroller::-webkit-scrollbar { display: none; }

.nbc-partners__item {
    flex: 0 0 220px;
    height: 140px;
    background: #FFFFFF;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform .35s ease, box-shadow .35s ease;
    border: 1px solid var(--h-line);
    scroll-snap-align: start;
}
.nbc-partners__item img {
    max-width: 78%;
    max-height: 72%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: .75;
    transition: filter .35s, opacity .35s;
}
.nbc-partners__item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(14,20,51,.12);
}
.nbc-partners__item:hover img { filter: grayscale(0); opacity: 1; }

.nbc-partners__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--h-text-light);
    color: var(--h-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background .25s, border-color .25s, color .25s, transform .25s;
}
.nbc-partners__nav:hover {
    background: var(--h-gold);
    border-color: var(--h-gold);
    color: #fff;
    transform: translateY(-50%) scale(1.05);
}
.nbc-partners__nav:disabled {
    opacity: .25;
    cursor: default;
    transform: translateY(-50%);
    background: transparent;
    color: var(--h-text-muted);
    border-color: var(--h-line);
}
.nbc-partners__nav--prev { left: 0; }
.nbc-partners__nav--next { right: 0; }

.nbc-partners__foot {
    max-width: var(--h-container);
    margin: 70px auto 0;
    text-align: center;
}
.nbc-partners__foot p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--h-text-light);
    max-width: 560px;
    margin: 0 auto 34px;
}

/* ═══════════════════════ NEWSLETTER ═══════════════════════ */
.nbc-news {
    background: var(--h-navy);
    padding: 120px var(--h-pad-x);
    position: relative;
    overflow: hidden;
}
.nbc-news::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 80% at 80% 20%, rgba(196,153,83,.1) 0%, transparent 60%),
        radial-gradient(50% 70% at 10% 80%, rgba(196,153,83,.06) 0%, transparent 70%);
    pointer-events: none;
}
.nbc-news__inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: var(--h-cream);
}
.nbc-news__inner .nbc-kicker { justify-content: center; }
.nbc-news__inner .nbc-h2    { text-align: center; }
.nbc-news__lead {
    font-size: 15px;
    line-height: 1.65;
    margin: 26px auto 40px;
    color: rgba(250,246,240,.7);
    max-width: 520px;
}

.nbc-news__form {
    display: flex;
    gap: 12px;
    max-width: 560px;
    margin: 50px auto 0;
}
.nbc-news__inner .nbc-h2 { margin-bottom: 10px; }
.nbc-news__form input {
    flex: 1;
    padding: 18px 26px;
    border-radius: 90px;
    background: rgba(250,246,240,.08);
    border: 1px solid rgba(250,246,240,.2);
    color: var(--h-cream);
    font: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color .25s, background .25s;
}
.nbc-news__form input::placeholder { color: rgba(250,246,240,.5); }
.nbc-news__form input:focus {
    border-color: var(--h-gold);
    background: rgba(250,246,240,.12);
}
.nbc-news__agree {
    font-size: 11px;
    line-height: 1.6;
    color: rgba(250,246,240,.5);
    margin: 24px 0 0;
}
.nbc-news__agree a {
    color: var(--h-gold);
    text-decoration: none;
    border-bottom: 1px solid rgba(196,153,83,.4);
}
.nbc-news__msg {
    min-height: 20px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 500;
}
.nbc-news__msg.is-ok    { color: var(--h-gold-light); }
.nbc-news__msg.is-error { color: #F0A5A5; }

/* ═══════════════════════ SCHOOL MODAL ═══════════════════════ */
.nbc-school {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.nbc-school[hidden] { display: none; }
.nbc-school__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 20, 51, .72);
    backdrop-filter: blur(6px);
    animation: nbcSchoolFade .3s ease;
}
.nbc-school__card {
    position: relative;
    max-width: 820px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    background: var(--h-cream);
    border-radius: 18px;
    padding: 34px 38px;
    box-shadow: 0 40px 80px rgba(14, 20, 51, .35);
    animation: nbcSchoolIn .4s cubic-bezier(.3, .8, .4, 1);
}
@keyframes nbcSchoolFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nbcSchoolIn {
    from { opacity: 0; transform: translateY(20px) scale(.97); }
    to   { opacity: 1; transform: none; }
}
.nbc-school__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--h-text);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background .2s, color .2s, transform .2s;
}
.nbc-school__close:hover { background: var(--h-gold); color: #fff; transform: rotate(90deg); }

.nbc-school__grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 32px;
    align-items: stretch;
}

/* Левая колонка */
.nbc-school__left {
    display: flex;
    flex-direction: column;
}
.nbc-school__photo {
    width: 100%;
    max-width: 240px;
    aspect-ratio: 1 / 1;
    border-radius: 56% 44% 50% 50% / 48% 52% 48% 52%;
    overflow: hidden;
    margin: 0 0 18px;
    filter: grayscale(20%);
    transform: rotate(-3deg);
    box-shadow: 0 14px 30px rgba(14, 20, 51, .12);
}
.nbc-school__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: rotate(3deg) scale(1.08);
}
.nbc-school__note {
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--h-text);
    font-weight: 600;
    margin: 0 0 8px;
}
.nbc-school__note + .nbc-school__note { margin-bottom: 0; }
.nbc-school__phone-title {
    font-size: 13px;
    color: var(--h-text-light);
    margin: auto 0 2px;
    padding-top: 16px;
}
.nbc-school__phone {
    font-family: 'Spectral', serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--h-navy);
    text-decoration: none !important;
    display: inline-block;
    letter-spacing: .01em;
    transition: color .2s;
}
.nbc-school__phone:hover { color: var(--h-gold); }

/* Правая колонка — курсы */
.nbc-school__right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.nbc-school__course {
    background: var(--h-cream-dark);
    border-radius: 10px;
    padding: 16px 22px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}
.nbc-school__course-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--h-navy);
    margin: 0 0 4px;
    line-height: 1.3;
}
.nbc-school__course-time {
    font-size: 12px;
    color: var(--h-text-light);
    margin: 0 0 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(27, 35, 86, .12);
}
.nbc-school__course-price {
    font-family: 'Spectral', serif;
    font-size: 20px;
    font-weight: 500;
    color: var(--h-navy);
}

@media (max-width: 720px) {
    .nbc-school { padding: 12px; }
    .nbc-school__card { padding: 28px 20px; border-radius: 12px; }
    .nbc-school__grid { grid-template-columns: 1fr; gap: 24px; }
    .nbc-school__photo { max-width: 260px; margin-inline: auto; aspect-ratio: 1/1; }
    .nbc-school__close { top: 8px; right: 8px; }
}

/* ═══════════════════════ REVEAL (scroll animations) ═══════════════════════ */
.nbc-home [data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .9s ease, transform .9s ease;
}
.nbc-home [data-reveal].is-in {
    opacity: 1;
    transform: none;
}

/* ═══════════════════════ RESPONSIVE ═══════════════════════ */
@media (max-width: 1024px) {
    .nbc-home { --h-pad-x: 24px; }

    .nbc-hero                 { padding: 110px var(--h-pad-x) 120px; }
    .nbc-hero__cta            { gap: 10px; }
    .nbc-hero__badge          { margin-left: 0; }

    .nbc-packs                { gap: 40px; margin-top: -60px; padding-bottom: 70px; }
    .nbc-packs__item          { max-width: 300px; }

    .nbc-about                { padding: 80px var(--h-pad-x) 60px; }
    .nbc-about__row           { grid-template-columns: 1fr; gap: 24px; }

    .nbc-map                  { padding: 80px var(--h-pad-x); }

    .nbc-blog                 { padding: 90px var(--h-pad-x); }
    .nbc-blog__grid           { grid-template-columns: 1fr 1fr; }
    .nbc-blog__card--big      { grid-column: 1 / -1; }

    .nbc-founder              { grid-template-columns: 1fr; min-height: 0; }
    .nbc-founder__video       { aspect-ratio: 16 / 10; min-height: 0; }
    .nbc-founder__text        { padding: 70px 40px; }

    .nbc-partners             { padding: 90px var(--h-pad-x); }
    .nbc-partners__track      { padding: 0 50px; }

    .nbc-news                 { padding: 90px var(--h-pad-x); }
}

@media (max-width: 720px) {
    .nbc-home { --h-pad-x: 16px; }

    /* HERO */
    .nbc-hero                 { padding: 100px var(--h-pad-x) 80px; min-height: 88vh; }
    .nbc-hero__lead           { font-size: 18px; }
    .nbc-hero__title          { font-size: 46px; line-height: .98; margin-bottom: 24px; }
    .nbc-hero__sub            { font-size: 15px; margin-bottom: 32px; }
    .nbc-hero__cta            { flex-direction: column; align-items: stretch; gap: 10px; }
    .nbc-hero__cta .nbc-btn   { justify-content: center; padding: 15px 24px; font-size: 12px; }
    .nbc-hero__badge          {
        order: -1;
        margin: 0 0 18px;
        align-self: center;
        padding: 12px 20px;
        font-size: 11px;
    }
    .nbc-hero__badge span     { display: none; }
    .nbc-hero__badge strong::before { content: 'Заказ по Краснодару · '; color: rgba(250,246,240,.85); font-weight: 400; }
    .nbc-hero__scroll         { display: none; }

    /* PACKS */
    .nbc-packs                { flex-direction: column; align-items: center; margin-top: -40px; padding-bottom: 50px; gap: 40px; }
    .nbc-packs__item          { max-width: 240px; width: 100%; }

    /* ABOUT */
    .nbc-about                { padding: 60px var(--h-pad-x) 40px; }
    .nbc-about__block         { padding: 40px 0; }
    .nbc-home .nbc-h2         { font-size: clamp(30px, 8vw, 44px); }

    /* MAP */
    .nbc-map                  { padding: 60px var(--h-pad-x); }
    .nbc-map__stage           { aspect-ratio: 5 / 4; }
    .nbc-map__bg              { opacity: .2; }
    .nbc-map__label           { display: none; }
    .nbc-map__belt-label      { font-size: 9px; letter-spacing: .2em; top: 10px; left: 12px; }
    .nbc-map__dot             { width: 10px; height: 10px; }

    /* BLOG */
    .nbc-blog                 { padding: 70px var(--h-pad-x); }
    .nbc-blog__head           { margin-bottom: 40px; }
    .nbc-blog__grid           { grid-template-columns: 1fr; gap: 36px; }
    .nbc-blog__card--big .nbc-blog__title { font-size: 26px; }
    .nbc-blog__title          { font-size: 20px; }

    /* FOUNDER */
    .nbc-founder__video       { aspect-ratio: 4 / 3; }
    .nbc-founder__text        { padding: 50px 20px; }
    .nbc-founder__lead        { font-size: 18px; }
    .nbc-founder__play        { width: 68px; height: 68px; }
    .nbc-founder__achv li     { padding-left: 64px; font-size: 13px; }
    .nbc-founder__achv b      { font-size: 12px; }

    /* PARTNERS */
    .nbc-partners             { padding: 70px var(--h-pad-x); }
    .nbc-partners__head       { margin-bottom: 40px; }
    .nbc-partners__track      { padding: 0; }
    .nbc-partners__nav        { display: none; }
    .nbc-partners__scroller   { gap: 14px; padding: 10px 6px; }
    .nbc-partners__item       { flex: 0 0 160px; height: 110px; border-radius: 10px; }
    .nbc-partners__foot       { margin-top: 50px; }

    /* NEWSLETTER */
    .nbc-news                 { padding: 70px var(--h-pad-x); }
    .nbc-news__form           { flex-direction: column; margin-top: 36px; }
    .nbc-news__form .nbc-btn  { justify-content: center; }
    .nbc-news__form input     { padding: 16px 22px; }
    .nbc-news__agree          { margin-top: 18px; }
}

@media (max-width: 380px) {
    .nbc-hero__title          { font-size: 40px; }
    .nbc-hero__badge strong::before { content: ''; }
    .nbc-hero__badge span     { display: inline; }
    .nbc-partners__item       { flex: 0 0 140px; height: 100px; }
}
