/* ==========================================================================
   Be Craft — лендинг «Аромат вашого бізнесу» (B2B), новий дизайн. Шаблон templates/b2b-new.php (поки не підключений).
   Префікс .nb-*; база (.nd-container, токени, шрифти) — new-home.css.
   ТЗ: newdesign/BeCraft_templates/16_Аромат_вашого_бізнесу_B2B*. Фрейм 1470, контейнер 1152; брейкпоінт мобільної версії — 767px.
   ========================================================================== */

:root {
	--nb-ink: #33261e;
	--nb-brown: #413227;
	--nb-text: #6b5a4c;
	--nb-accent: #c8956a;
	--nb-accent-2: #e8be92;
	--nb-accent-dark: #b27f55;
	--nb-cream: #fbfbf9;
	--nb-sand: #f2eadb;
	--nb-line: #e5d2bc;
	--nb-line-2: #eadbc8;
	--nb-card: #f8eee2;
	--nb-shadow-accent: 0 10px 30px rgba(200, 149, 106, 0.35);
}

.nb-body { background: var(--nb-cream); color: var(--nb-ink); }
.nb-main { overflow: hidden; }

/* ---------- Шапка ---------- */
.nb-header { background: var(--nb-cream); }
.nb-header__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 84px; }
.nb-nav__list { display: flex; gap: 32px; margin: 0; padding: 0; list-style: none; }
.nb-nav__list a { display: block; padding: 8px 0; font-size: 13px; line-height: 23px; letter-spacing: 1.56px; text-transform: uppercase; color: var(--nb-ink); border-bottom: 1px solid transparent; }
.nb-nav__list a:hover { border-bottom-color: var(--nb-accent); }
.nb-header__cta { height: 46px; padding: 0 24px; }
.nb-cats { background: #5a483a; }
.nb-cats__list { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 26px; max-width: 1152px; margin: 0 auto; padding: 15px 24px; list-style: none; }
.nb-cats__list a { font-size: 12px; line-height: 20px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--nd-nav-light, #fffbf3); }
.nb-cats__list a:hover { color: var(--nb-accent-2); }

/* ---------- Кнопки ---------- */
.nb-btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; height: 56px; padding: 0 36px; border: 1px solid transparent; border-radius: 999px; font-family: var(--nd-font-head); font-weight: 700; font-size: 14px; line-height: 23px; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s; }
.nb-btn--accent { background: var(--nb-accent); border-color: var(--nb-accent); color: #fff; box-shadow: var(--nb-shadow-accent); }
.nb-btn--accent:hover { transform: translateY(-1px); background: var(--nb-accent-dark); border-color: var(--nb-accent-dark); }
.nb-btn--light { background: var(--nb-cream); border-color: var(--nb-cream); color: var(--nb-ink); }
.nb-btn--lg { height: 56px; }

/* ---------- Типографіка ---------- */
.nb-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--nd-font-head); font-weight: 700; font-size: 12px; line-height: 20px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--nb-accent-dark); }
.nb-eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--nb-accent); }
.nb-eyebrow--center { justify-content: center; }
.nb-eyebrow--center::after { content: ''; width: 28px; height: 1px; background: var(--nb-accent); }
.nb-eyebrow--gold { color: var(--nb-accent-2); }
.nb-eyebrow--gold::before { background: var(--nb-accent-2); }
.nb-h1 { margin: 26px auto 0; max-width: 760px; font-family: var(--nd-font-head); font-weight: 800; font-size: 64px; line-height: 70px; letter-spacing: -1px; text-align: center; color: var(--nb-ink); }
.nb-h2 { margin: 18px 0 0; font-family: var(--nd-font-head); font-weight: 700; font-size: 40px; line-height: 49px; letter-spacing: -0.4px; color: var(--nb-ink); }
.nb-h2 em { font-style: normal; font-weight: 200; color: var(--nb-text); }
.nb-h2--left { max-width: 786px; }
.nb-h2--light { color: #fff; }
.nb-head--center { text-align: center; }
.nb-lead { margin: 24px auto 0; max-width: 774px; font-size: 17px; line-height: 28px; text-align: center; color: var(--nb-text); }
.nb-lead--left { text-align: left; margin-left: 0; margin-top: 22px; }
.nb-rule { display: block; width: 40px; height: 2px; background: var(--nb-accent); }

.nb-sec { padding: 120px 0; }

/* ---------- Hero ---------- */
.nb-hero { padding: 88px 0 80px; background: radial-gradient(80% 60% at 50% 0%, #f7e3cb 0%, #fbf4ea 45%, #fbfbf9 100%); }
.nb-hero__inner { display: flex; flex-direction: column; align-items: center; }
.nb-video { position: relative; display: block; width: 100%; max-width: 1040px; aspect-ratio: 1040 / 585; margin-top: 56px; padding: 0; border: 0; border-radius: 16px; background: linear-gradient(135deg, #5a483a, #33261e) center / cover no-repeat; overflow: hidden; cursor: pointer; }
.nb-video__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35, 31, 32, 0) 40%, rgba(35, 31, 32, 0.55) 100%); }
.nb-video__play { position: absolute; top: 50%; left: 50%; display: flex; align-items: center; justify-content: center; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; background: rgba(250, 246, 240, 0.94); color: var(--nb-ink); transition: transform 0.2s; }
.nb-video:hover .nb-video__play { transform: scale(1.06); }
.nb-video__cap { position: absolute; left: 32px; bottom: 28px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; text-align: left; }
.nb-video__title { font-family: var(--nd-font-head); font-weight: 600; font-size: 20px; line-height: 28px; color: #fff; }
.nb-video__pill { padding: 0 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.2); font-size: 12px; line-height: 29px; color: #fff; }
.nb-hero__cta { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 40px; text-align: center; }
.nb-hero__note { margin: 0; max-width: 640px; font-size: 14px; line-height: 23px; font-weight: 300; color: var(--nb-text); }
.nb-stats { display: flex; justify-content: center; gap: 64px; width: 100%; margin: 60px 0 0; padding: 36px 0 0; border-top: 1px solid var(--nb-line-2); }
.nb-stat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.nb-stat dt { font-family: var(--nd-font-head); font-weight: 200; font-size: 34px; line-height: 56px; color: var(--nb-ink); }
.nb-stat dd { margin: 0; max-width: 200px; font-size: 13px; line-height: 21px; color: var(--nb-text); }

/* ---------- Біжучий рядок ---------- */
.nb-marquee { padding: 22px 0; background: var(--nb-brown); overflow: hidden; }
.nb-marquee__track { display: flex; width: max-content; animation: nb-marquee 40s linear infinite; }
.nb-marquee__item { padding: 0 28px; font-family: var(--nd-font-head); font-weight: 500; font-size: 24px; line-height: 56px; color: var(--nb-accent-2); white-space: nowrap; }
.nb-marquee__item i { margin-left: 56px; font-style: normal; color: var(--nb-accent); }
@keyframes nb-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .nb-marquee__track { animation: none; } }

/* ---------- Вкладки ---------- */
.nb-sec--tabs { background: linear-gradient(180deg, #f5e1c8 0%, #f2eadb 100%); }
.nb-tablist { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding-top: 40px; }
.nb-tab { height: 48px; padding: 0 22px; border: 1px solid var(--nb-line); border-radius: 999px; background: var(--nb-cream); font-family: var(--nd-font-head); font-weight: 600; font-size: 14px; color: var(--nb-ink); cursor: pointer; transition: background-color 0.2s, color 0.2s, box-shadow 0.2s; }
.nb-tab.is-active { background: var(--nb-accent); border-color: var(--nb-accent); color: #fff; box-shadow: 0 8px 24px rgba(200, 149, 106, 0.35); }
.nb-panel { display: grid; grid-template-columns: 480px minmax(0, 1fr) minmax(0, 1fr); margin-top: 32px; min-height: 420px; background: #fff; box-shadow: 0 30px 70px -40px rgba(65, 50, 39, 0.45); }
.nb-panel[hidden] { display: none; }
.nb-panel__media { position: relative; background: linear-gradient(180deg, rgba(51, 38, 30, 0.05) 20%, rgba(51, 38, 30, 0.85) 100%), #8a6e58 center / cover no-repeat; }
.nb-panel__media-in { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 22px; padding: 36px; }
.nb-panel__quote { margin: 0; font-family: var(--nd-font-head); font-weight: 500; font-size: 24px; line-height: 31px; color: #fff; }
.nb-panel__col { padding: 44px 36px; }
.nb-panel__col--gain { background: #fbf1e4; }
.nb-panel__title { margin: 0 0 24px; font-family: var(--nd-font-head); font-weight: 700; font-size: 12px; line-height: 20px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--nb-accent-dark); }
.nb-points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 24px; }
.nb-points li { position: relative; padding-left: 38px; font-size: 15px; line-height: 25px; color: var(--nb-ink); }
.nb-points__mark { position: absolute; left: 0; top: 1px; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #efe6db; color: var(--nb-text); font-weight: 700; font-size: 14px; line-height: 1; }
.nb-points--plus .nb-points__mark { background: var(--nb-accent); color: #fff; }

/* ---------- Проблема ---------- */
.nb-sec--problem { background: var(--nb-cream); }
.nb-cards3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 64px; }
.nb-card { display: flex; flex-direction: column; gap: 16px; padding: 40px 32px; background: var(--nb-card); }
.nb-card h3 { margin: 0; font-family: var(--nd-font-head); font-weight: 700; font-size: 24px; line-height: 32px; color: var(--nb-ink); }
.nb-card p { margin: 0; font-size: 15px; line-height: 25px; color: var(--nb-text); }

/* ---------- Рішення ---------- */
.nb-sec--solution { background: radial-gradient(70% 80% at 85% 50%, #5a4334 0%, #413227 60%, #36291f 100%); color: #fff; }
.nb-solution { display: grid; grid-template-columns: 495px minmax(0, 1fr); gap: 64px; align-items: center; }
.nb-big { margin: 18px 0 0; font-family: var(--nd-font-head); font-weight: 200; font-size: 34px; line-height: 56px; color: #f1e6d8; }
.nb-big strong { display: block; font-weight: 800; font-size: 64px; line-height: 70px; color: var(--nb-accent-2); }
.nb-sec--solution .nb-rule { margin-top: 32px; }
.nb-solution__para { margin: 28px 0 0; font-size: 16px; line-height: 27px; color: #e3d5c5; }
.nb-dropcap { float: left; margin: 4px 10px 0 0; font-family: Georgia, serif; font-size: 56px; line-height: 34px; color: var(--nb-accent-2); }
.nb-solution__media { display: flex; justify-content: flex-end; }
.nb-solution__frame { width: 100%; max-width: 415px; aspect-ratio: 415 / 515; border: 1px solid var(--nb-accent); border-radius: 16px; background: linear-gradient(135deg, #6b5240, #33261e) center / cover no-repeat; }

/* ---------- Кроки ---------- */
.nb-sec--steps { background: var(--nb-cream); }
.nb-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin: 64px 0 0; padding: 0; list-style: none; }
.nb-step { position: relative; }
.nb-step__n { display: block; font-family: var(--nd-font-head); font-weight: 800; font-size: 40px; line-height: 40px; color: var(--nb-accent); }
.nb-step__tag { position: absolute; top: 5px; left: 128px; padding: 0 12px; border-radius: 999px; background: var(--nb-accent); color: #fff; font-size: 12px; font-weight: 700; line-height: 27px; }
.nb-step h3 { margin: 14px 0 0; font-family: var(--nd-font-head); font-weight: 600; font-size: 20px; line-height: 28px; color: var(--nb-ink); }
.nb-step p { margin: 12px 0 0; font-size: 15px; line-height: 25px; color: var(--nb-text); }

/* ---------- Для кого ---------- */
.nb-sec--for { background: var(--nb-sand); padding-bottom: 120px; }
.nb-for { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 56px; }
.nb-for__item { position: relative; aspect-ratio: 365 / 487; background: linear-gradient(160deg, #8a6e58, #4a382c) center / cover no-repeat; overflow: hidden; }
.nb-for__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(51, 38, 30, 0) 45%, rgba(51, 38, 30, 0.85) 100%); }
.nb-for__text { position: absolute; left: 28px; right: 28px; bottom: 28px; color: #fff; }
.nb-for__text h3 { margin: 0; font-family: var(--nd-font-head); font-weight: 700; font-size: 24px; line-height: 40px; }
.nb-for__text p { margin: 8px 0 0; font-size: 15px; line-height: 25px; color: var(--nb-accent-2); }

/* ---------- Чесні питання ---------- */
.nb-sec--faq { background: linear-gradient(180deg, #fbfbf9 0%, #f6e9d8 100%); }
.nb-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 64px; }
.nb-quote { position: relative; padding: 40px 36px; border-radius: 16px; background: #fff; box-shadow: 0 24px 50px -36px rgba(65, 50, 39, 0.45); }
.nb-quote__mark { display: block; height: 34px; font-family: Georgia, serif; font-size: 56px; line-height: 56px; color: var(--nb-accent); }
.nb-quote h3 { margin: 18px 0 0; font-family: var(--nd-font-head); font-weight: 700; font-size: 24px; line-height: 31px; color: var(--nb-ink); }
.nb-quote .nb-rule { margin-top: 22px; }
.nb-quote p { margin: 22px 0 0; font-size: 15px; line-height: 26px; color: var(--nb-text); }
.nb-quote--dark { background: var(--nb-brown); box-shadow: 0 24px 50px -36px rgba(65, 50, 39, 0.6); }
.nb-quote--dark h3 { color: #fff; }
.nb-quote--dark p { color: #e3d5c5; }

/* ---------- Без обіцянок ---------- */
.nb-sec--promise { padding: 110px 0; background: radial-gradient(70.71% 70.71% at 50% 50%, #f8e2c6 0%, #fbfbf9 70%); }
.nb-promise { margin: 26px auto 0; max-width: 780px; text-align: center; font-family: var(--nd-font-head); font-weight: 500; font-size: 28px; line-height: 39px; color: var(--nb-ink); }

/* ---------- Заявка ---------- */
.nb-sec--audit { position: relative; padding: 120px 0; background: var(--nb-brown) center / cover no-repeat; }
.nb-audit__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(51, 38, 30, 0.93) 0%, rgba(51, 38, 30, 0.8) 50%, rgba(51, 38, 30, 0.55) 100%); }
.nb-audit { position: relative; display: grid; grid-template-columns: 495px minmax(0, 593px); justify-content: space-between; gap: 64px; align-items: center; }
.nb-checks { margin: 32px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; }
.nb-checks li { position: relative; padding-left: 44px; font-size: 16px; line-height: 28px; color: #f5e1c8; }
.nb-checks li::before { content: '✓'; position: absolute; left: 0; top: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--nb-accent); color: #fff; font-size: 13px; }
.nb-form-card { padding: 44px 40px; background: var(--nb-cream); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.5); }
.nb-form { display: flex; flex-direction: column; gap: 24px; }
.nb-form__group { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.nb-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.nb-label { font-family: var(--nd-font-head); font-weight: 700; font-size: 12px; line-height: 20px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--nb-text); padding: 0; }
.nb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nb-chip input { position: absolute; opacity: 0; pointer-events: none; }
.nb-chip span { display: inline-flex; align-items: center; height: 44px; padding: 0 18px; border: 1px solid var(--nb-line); border-radius: 999px; background: #fff; font-size: 14px; color: var(--nb-ink); cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.nb-chip input:checked + span { background: var(--nb-accent); border-color: var(--nb-accent); color: #fff; }
.nb-input { width: 100%; height: 56px; padding: 14px 16px; border: 1px solid var(--nb-line); border-radius: 0; background: #fff; font-family: var(--nd-font-body); font-size: 15px; color: var(--nb-ink); }
.nb-input:focus { outline: none; border-color: var(--nb-accent); }
.nb-form__submit { width: 100%; }
.nb-form__note { margin: 0; text-align: center; font-size: 13px; line-height: 22px; color: var(--nb-text); }

/* ---------- Підвал ---------- */
.nb-footer { background: var(--nb-brown); color: var(--nb-accent-2); padding: 64px 0 32px; }
.nb-footer__main { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 64px; }
.nb-footer__copy, .nb-footer__contact { margin: 0 0 12px; font-size: 15px; line-height: 25px; }
.nb-footer__contact a { color: inherit; }
.nb-footer__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.nb-footer__title { margin: 0 0 20px; font-family: var(--nd-font-head); font-weight: 600; font-size: 12px; line-height: 20px; letter-spacing: 2.16px; text-transform: uppercase; color: var(--nb-cream); }
.nb-footer__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.nb-footer__list a { font-size: 15px; line-height: 25px; color: var(--nb-accent-2); }
.nb-footer__list a:hover { color: #fff; }
.nb-footer__legal { margin: 48px 0 0; padding-top: 24px; border-top: 1px solid #4e3f33; font-size: 12px; line-height: 18px; color: #b39b87; }

/* ---------- Відео-модалка ---------- */
.nb-modal[hidden] { display: none; }
.nb-modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; }
.nb-modal__overlay { position: absolute; inset: 0; background: rgba(35, 31, 32, 0.8); }
.nb-modal__box { position: relative; width: min(960px, 92vw); background: #000; }
.nb-modal__video { display: block; width: 100%; aspect-ratio: 16 / 9; }
.nb-modal__close { position: absolute; top: -44px; right: 0; width: 40px; height: 40px; border: 0; background: none; color: #fff; font-size: 32px; line-height: 40px; cursor: pointer; }

/* ==========================================================================
   Мобільна версія (макет 390 px)
   ========================================================================== */
@media (max-width: 1023px) {
	.nb-panel { grid-template-columns: minmax(0, 1fr); }
	.nb-panel__media { min-height: 320px; }
	.nb-solution, .nb-audit { grid-template-columns: minmax(0, 1fr); gap: 40px; }
	.nb-solution__media { justify-content: center; }
	.nb-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nb-footer__main { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}

@media (max-width: 767px) {
	.nb-header__row { height: 56px; }
	.nb-nav, .nb-cats { display: none; }
	.nb-header__cta { height: 40px; padding: 0 16px; font-size: 12px; }
	.nb-sec { padding: 64px 0; }
	.nb-hero { padding: 40px 0 48px; }
	.nb-eyebrow { font-size: 11px; letter-spacing: 1.8px; text-align: left; }
	.nb-h1 { margin-top: 18px; font-size: 38px; line-height: 44px; letter-spacing: -0.5px; }
	.nb-h2 { font-size: 28px; line-height: 36px; }
	.nb-lead { font-size: 15px; line-height: 24px; }
	.nb-video { margin-top: 32px; aspect-ratio: 4 / 5; border-radius: 12px; }
	.nb-video__play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
	.nb-video__cap { left: 20px; bottom: 20px; }
	.nb-hero__cta { padding-top: 28px; }
	.nb-hero__cta .nb-btn { width: 100%; padding: 0 20px; }
	.nb-stats { gap: 20px; margin-top: 40px; padding-top: 28px; flex-wrap: wrap; }
	.nb-stat dt { font-size: 28px; line-height: 40px; }
	.nb-stat dd { font-size: 12px; max-width: 110px; }
	.nb-marquee__item { font-size: 18px; line-height: 44px; padding: 0 18px; }
	.nb-tablist { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin: 0 -24px; padding: 28px 24px 4px; scrollbar-width: none; }
	.nb-tablist::-webkit-scrollbar { display: none; }
	.nb-tab { flex: none; }
	.nb-panel__col { padding: 32px 24px; }
	.nb-panel__media-in { padding: 24px; }
	.nb-panel__quote { font-size: 20px; line-height: 27px; }
	.nb-cards3 { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
	.nb-card { padding: 28px 24px; }
	.nb-big { font-size: 26px; line-height: 40px; }
	.nb-big strong { font-size: 44px; line-height: 52px; }
	.nb-steps { grid-template-columns: minmax(0, 1fr); gap: 28px; margin-top: 40px; }
	.nb-for { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 32px; }
	.nb-quotes { grid-template-columns: minmax(0, 1fr); gap: 16px; margin-top: 40px; }
	.nb-quote { padding: 28px 24px; }
	.nb-promise { font-size: 20px; line-height: 30px; }
	.nb-sec--promise { padding: 64px 0; }
	.nb-sec--audit { padding: 64px 0; }
	.nb-form-card { padding: 28px 20px; }
	.nb-form__row { grid-template-columns: minmax(0, 1fr); }
	.nb-footer { padding: 48px 0 24px; }
	.nb-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
}
