/* БіоГумус — brand typography & layout refinements (loaded after site.css) */

/* Wordmark: «Біо» — strict grotesk, «Гумус» — living serif italic */
.bg-wm{display:inline-flex;align-items:baseline;gap:1px;font-size:23px;line-height:1;letter-spacing:-.03em;color:var(--ink)}
.bg-wm b{font-family:var(--font);font-weight:800;letter-spacing:-.04em}
.bg-wm i{font-family:"Playfair Display",Georgia,"Times New Roman",serif;font-style:italic;font-weight:600;font-size:1.08em;letter-spacing:-.01em;color:#2b6b3c;transition:color .3s}
.bg-logo:hover .bg-wm i{color:var(--bio)}
.bg-footer .bg-wm{font-size:26px}

/* Serif accent for key words in headings (editorial, less “plastic”) */
.bg-serif{font-family:"Playfair Display",Georgia,serif;font-style:italic;font-weight:500;letter-spacing:-.01em;color:#2b6b3c}

/* Fix: generic ".bg p{margin:0}" was overriding paragraph spacing/centering */
.bg .bg-hero__lead{margin:22px auto 0}
.bg .bg-lead{margin-top:14px}
.bg .bg-head--center .bg-lead{margin-left:auto;margin-right:auto}

/* SEO text: same two-column rhythm as FAQ (heading left, text right) */
.bg-seo{display:grid;grid-template-columns:1fr 1.6fr;gap:56px;align-items:start}
.bg-seo .bg-h2{max-width:none}
.bg-seo__cols{grid-template-columns:1fr;gap:18px;margin-top:0}
@media (max-width:900px){
  .bg-seo{grid-template-columns:1fr;gap:20px}
}

/* Header on tablets/phones: logo left, search + menu pinned to the right */
@media (max-width:1080px){
  .bg-header__in{justify-content:space-between;gap:8px}
  .bg-header .bg-nav+.bg-header__tools{margin-left:auto}
  .bg-header__tools{gap:0;margin-right:-8px}
  .bg-header__tools .bg-iconbtn,.bg-header__tools .bg-burger{width:44px;height:44px}
  .bg-burger span{left:12px;right:12px}
  .bg-burger span:first-child{top:17px}.bg-burger span:last-child{top:25px}
}

/* "See all" links stay blue (was overridden by .bg a{color:inherit}) */
.bg a.bg-more,.bg .bg-more{color:var(--blue)}

/* Soil cards: packshot on a white tile (hides semi-transparent edges on dark soil) */
.bg-card__img{background:#fff;border-radius:14px}
.bg-card__img::after{display:none}

/* Soil intro: no small eyebrow above the heading (owner: too busy on phones) */
.bg-soil__intro .bg-eyebrow{display:none}

/* Product page: no sticky "Замовити" bar on phones (owner's decision) */
.bg .bg-sticky-buy{display:none!important}
.bg .bg-prod-page{padding-bottom:0}

/* Smooth scrolling everywhere (PC and phones): no animated blurred orbs, no live blur under the sticky header */
.bg-orb{animation:none!important;filter:none!important}
.bg-header{-webkit-backdrop-filter:none!important;backdrop-filter:none!important;background:rgba(255,255,255,.97)!important}

/* ===== Photo/video version (preview: ?v2) ===== */
.bg-hv2{position:relative;min-height:min(78vh,720px);display:flex;align-items:flex-end;overflow:hidden;background:#2d2a1e}
.bg .bg-hv2__img{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.bg-hv2::after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 0,rgba(0,0,0,.18) 45%,rgba(12,20,8,.74) 100%)}
.bg-hv2__in{position:relative;z-index:2;width:100%;padding-top:120px;padding-bottom:72px;color:#fff}
.bg-hv2__chip{display:inline-flex;align-items:center;height:34px;padding:0 14px;border-radius:980px;background:rgba(255,255,255,.14);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35);font-size:14px;font-weight:600}
.bg .bg-hv2 h1{color:#fff;font-size:clamp(38px,5.4vw,72px);font-weight:800;letter-spacing:-.035em;line-height:1.04;max-width:860px;margin-top:18px}
.bg .bg-hv2 .bg-serif{color:#c9f0ae}
.bg .bg-hv2__lead{font-size:clamp(17px,1.5vw,20px);line-height:1.5;opacity:.92;max-width:560px;margin-top:16px}
.bg-hv2__cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}
.bg .bg-btn--glass{background:rgba(255,255,255,.14);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)}
.bg .bg-btn--glass:hover{background:rgba(255,255,255,.24)}
.bg-hero--belt.is-v2{padding:8px 0 40px}
.bg-hv2__belthead{text-align:center;margin-top:14px}
.bg-cp-photo{position:relative;height:280px;overflow:hidden;background:#e9e4d4}
.bg .bg-cp-photo__img{width:100%;height:100%;object-fit:cover;object-position:50% 60%}
.bg-cp-photo::after{content:"";position:absolute;left:0;right:0;bottom:0;height:60%;background:linear-gradient(180deg,rgba(255,255,255,0),#fff)}
.bg-cp-photo+.bg-cp-head{margin-top:-120px;position:relative;z-index:2}
.bg-cp-photo::after,.bg-hv2::after{z-index:1}
@media (max-width:600px){
  .bg-hv2{min-height:560px}
  .bg-hv2__in{padding-bottom:40px}
  .bg .bg-hv2 h1{font-size:36px}
  .bg-hv2__cta .bg-btn{width:100%}
  .bg-cp-photo{height:170px}
  .bg-cp-photo+.bg-cp-head{margin-top:-70px}
}

/* Aerial background video (poster with slow zoom → video fades in) */
.bg-vid{position:absolute;top:0;left:0;width:100%;height:100%;overflow:hidden}
.bg .bg-vid__poster,.bg-vid__v{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover}
.bg-vid__poster{animation:bgKen 24s ease-in-out infinite alternate}
.bg-vid__v{opacity:0;transition:opacity 1.2s ease}
.bg-vid.is-on .bg-vid__v{opacity:1}
@keyframes bgKen{from{transform:scale(1.02)}to{transform:scale(1.1)}}
@media (prefers-reduced-motion:reduce){.bg-vid__poster{animation:none}}

/* Home: category tiles with a nature photo on top (more life, less "plastic") */
.bg .bg-cat--ph{padding:0;gap:0;min-height:0;overflow:hidden;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.07)}
.bg .bg-cat--ph:hover{background:#fff}
.bg-cat__ph{position:relative;display:block;height:170px;overflow:hidden;background:#e9e4d4}
.bg .bg-cat__img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .8s var(--ease)}
.bg-cat--ph:hover .bg-cat__img{transform:scale(1.05)}
.bg-cat__body{display:flex;flex-direction:column;gap:8px;padding:20px 22px 24px}
.bg .bg-cat--ph .bg-cat__go{top:14px;right:14px;width:36px;height:36px;border-radius:50%;background:#fff;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 10px rgba(0,0,0,.12)}
.bg-cat--ph .bg-cat__go .bg-ico{width:16px;height:16px}
@media (max-width:600px){
  .bg-cat__ph{height:108px}
  .bg-cat__body{padding:12px 14px 16px;gap:4px}
  .bg .bg-cat--ph h3{font-size:16px}
  .bg .bg-cat--ph p{font-size:12.5px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .bg .bg-cat--ph .bg-cat__go{display:none}
}
