/* Nature-inspired modern UI layer — 2026 refresh */
:root {
  --modern-forest: #173f2b;
  --modern-leaf: #2f6f48;
  --modern-leaf-2: #4d875f;
  --modern-mint: #e7efe5;
  --modern-mist: #f2f5ef;
  --modern-ivory: #fbfaf6;
  --modern-paper: #ffffff;
  --modern-ink: #17251d;
  --modern-copy: #536159;
  --modern-line: rgba(23, 63, 43, .11);
  --modern-gold: #c7a96a;
  --modern-shadow: 0 24px 70px rgba(24, 55, 39, .10);
  --modern-shadow-hover: 0 28px 80px rgba(24, 55, 39, .16);
  --modern-radius-xl: 36px;
  --modern-radius-lg: 26px;
  --modern-radius-md: 18px;
}

html { background: var(--modern-ivory); }
body {
  background:
    radial-gradient(circle at 12% 8%, rgba(95, 138, 92, .10), transparent 28rem),
    var(--modern-ivory);
  color: var(--modern-copy);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body, p, li, a, button { -webkit-font-smoothing: antialiased; }
::selection { background: #dce9d8; color: var(--modern-forest); }

.container { max-width: 1180px; }

/* Navigation */
.site-quick-nav {
  top: 14px;
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 22px;
  background: rgba(251,250,246,.90);
  box-shadow: 0 12px 34px rgba(23,63,43,.08);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
}
.site-quick-nav__inner {
  min-height: 68px;
  display: flex;
  align-items: center;
}
.site-quick-nav__brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 10px;
  border-radius: 14px;
  background: transparent;
  box-shadow: none;
}
.site-quick-nav__brand::before { content: none; }
.site-quick-nav__brand-logo {
  display: block;
  width: auto;
  height: 36px;
  max-width: min(240px, 46vw);
}
.site-quick-nav__links a {
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: #44534a;
  transition: .22s ease;
}
.site-quick-nav__links a:hover,
.site-quick-nav__links a:focus {
  background: rgba(47,111,72,.08);
  color: var(--modern-forest);
  transform: translateY(-1px);
}

/* Hero */
#h {
  position: relative;
  isolation: isolate;
  min-height: min(880px, 92vh);
  margin: 0;
  padding-top: 96px;
  border-radius: 0 0 46px 46px;
  overflow: hidden;
  background: url(../img/header7.png) no-repeat right top;
  background-position: right top;
  background-size: cover;
}
#h::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 78% 22%, rgba(255,255,255,.18), transparent 18rem),
    linear-gradient(90deg, rgba(247,245,238,.98) 0%, rgba(247,245,238,.95) 34%, rgba(247,245,238,.82) 54%, rgba(247,245,238,.58) 68%, rgba(247,245,238,.22) 100%);
}
#h::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -100px;
  bottom: -180px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(73,126,80,.12), transparent 68%);
  pointer-events: none;
}
#h .row.centered {
  position: relative;
  min-height: calc(min(880px, 92vh) - 96px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: min(720px, 66%);
  margin-left: 0;
  padding: 42px 38px 46px;
  border-radius: 34px;
  background: linear-gradient(180deg, rgba(251,250,246,.90) 0%, rgba(251,250,246,.82) 100%);
  box-shadow: 0 28px 60px rgba(23,63,43,.16);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: left;
}
#h .row.centered::before {
  content: "NATURE'S SUNSHINE • ПАРТНЁРСКАЯ ВОЗМОЖНОСТЬ";
  display: inline-flex;
  margin-bottom: 24px;
  padding: 10px 14px;
  border: 1px solid rgba(47,111,72,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  color: var(--modern-leaf);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .10em;
  box-shadow: 0 8px 24px rgba(23,63,43,.08);
}
#h h1 {
  max-width: 760px;
  margin: 0;
  color: #163826;
  font-size: clamp(50px, 6.2vw, 84px);
  font-weight: 780;
  line-height: .98;
  letter-spacing: -.05em;
  text-wrap: balance;
}
#h h2 {
  margin: 22px 0 0;
  max-width: 680px;
  color: #20553a;
  font-size: clamp(25px, 3vw, 40px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -.03em;
}
#h .hero-lead {
  max-width: 625px;
  margin: 24px 0 0;
  color: #24372d;
  font-size: clamp(17px, 1.5vw, 20px);
  font-weight: 500;
  line-height: 1.7;
}
.hero-actions { margin-top: 32px; gap: 12px; }
.hero-btn,
.footer-cta-btn {
  min-height: 54px;
  padding: 15px 22px;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.hero-btn--primary,
.footer-cta-btn,
.mobile-sticky-cta__primary {
  border: 1px solid var(--modern-forest) !important;
  background: linear-gradient(145deg, #214e36, var(--modern-forest)) !important;
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(23,63,43,.20);
}
.hero-btn--primary:hover,
.footer-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(23,63,43,.24);
}
.hero-btn--secondary {
  border: 1px solid rgba(23,63,43,.14) !important;
  background: rgba(255,255,255,.72) !important;
  color: var(--modern-forest) !important;
  backdrop-filter: blur(14px);
}

/* Section rhythm */
#w, #g, #r, #b, #cta, #cta2, #cta0, #cta4, #f, .ux-section {
  padding-top: clamp(72px, 8vw, 112px);
  padding-bottom: clamp(72px, 8vw, 112px);
}
#w { background: transparent; }
#w h4 {
  max-width: 920px;
  margin-inline: auto;
  color: var(--modern-ink);
  font-size: clamp(24px, 3vw, 39px);
  font-weight: 580;
  line-height: 1.28;
  letter-spacing: -.035em;
}
#w h4 font { color: var(--modern-leaf) !important; }
#w .glyphicon-heart { color: var(--modern-gold); }

/* Company split block */
#g {
  background: linear-gradient(180deg, #eef3eb 0%, #f5f6f1 100%);
}
#g .row.mt {
  align-items: center;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(23,63,43,.08);
  border-radius: var(--modern-radius-xl);
  background: rgba(255,255,255,.70);
  box-shadow: var(--modern-shadow);
  backdrop-filter: blur(16px);
}
#g .col-md-6.centered {
  position: relative;
  padding: 18px;
}
#g .col-md-6.centered::before {
  content: "";
  position: absolute;
  inset: 8% 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,133,83,.19), rgba(88,133,83,0) 70%);
  filter: blur(10px);
}
#g img.img-responsive {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 26px 32px rgba(24,55,39,.18));
}
#g h2, #r h2, #b h2, .ux-section h2, .cmax {
  color: var(--modern-ink) !important;
  font-weight: 720 !important;
  letter-spacing: -.045em !important;
}
.gbspan { background: none !important; box-shadow: none !important; padding: 0 !important; }

/* Generic modern cards */
.ux-card,
.benefit-card,
.start-step,
.video-card,
.after-registration,
.benefit-detail,
.faq-item {
  border: 1px solid var(--modern-line) !important;
  background: rgba(255,255,255,.78) !important;
  box-shadow: 0 12px 36px rgba(26,57,41,.07) !important;
  backdrop-filter: blur(14px);
}
.ux-card,
.benefit-card,
.start-step,
.faq-item {
  border-radius: var(--modern-radius-lg) !important;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.ux-card:hover,
.benefit-card:hover,
.start-step:hover {
  transform: translateY(-5px);
  border-color: rgba(47,111,72,.24) !important;
  box-shadow: var(--modern-shadow-hover) !important;
}
.trust-grid,
.benefit-summary-grid,
.start-path__grid,
.after-registration__grid,
.faq-grid {
  gap: 18px;
}
.trust-card b,
.benefit-card b,
.start-step b,
.mini-card b {
  color: var(--modern-forest);
  font-size: 17px;
  letter-spacing: -.02em;
}
.trust-card span,
.benefit-card span,
.start-step span,
.mini-card span {
  color: #66736b;
  line-height: 1.62;
}
.section-kicker {
  color: var(--modern-leaf) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  letter-spacing: .12em !important;
}
.section-lead { color: #66736b !important; font-size: 18px !important; }

/* Long-form content becomes editorial instead of a wall */
#r { background: var(--modern-ivory); }
#r .benefit-detail,
#cta0 .left > p,
#cta4 .left > p {
  max-width: 960px;
  margin-inline: auto;
  padding: clamp(24px, 4vw, 48px) !important;
  border-radius: var(--modern-radius-xl) !important;
  color: #4d5b52 !important;
  font-size: 16px !important;
  line-height: 1.82 !important;
}
#r .benefit-detail b,
#cta0 .left > p b,
#cta4 .left > p b { color: var(--modern-forest); }

/* Video / media */
.video-card {
  padding: 12px !important;
  border-radius: 28px !important;
  overflow: hidden;
}
.video-card__title {
  padding: 12px 10px 16px;
  color: var(--modern-forest);
  font-size: 15px;
  font-weight: 800;
}
.video-card iframe {
  display: block;
  width: 100% !important;
  max-width: 100%;
  border: 0 !important;
  border-radius: 19px !important;
  background: #12261a;
}
body > a[href*="katalog-bad"] {
  display: block;
  width: min(1180px, calc(100% - 28px));
  margin: clamp(48px, 8vw, 90px) auto 0;
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--modern-shadow);
}
body > a[href*="katalog-bad"] > img {
  display: block;
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  transition: transform .6s ease;
}
body > a[href*="katalog-bad"]:hover > img { transform: scale(1.015); }

/* Business flow */
#cta2 { background: linear-gradient(180deg, #f4f6f1, #eaf1e7); }
#cta2 > .container > .row > .left {
  padding: clamp(28px, 5vw, 56px);
  border-radius: var(--modern-radius-xl);
  background: rgba(255,255,255,.70);
  box-shadow: var(--modern-shadow);
}
.start-path,
.after-registration { margin-top: 34px; }
.start-step { position: relative; overflow: hidden; padding-top: 60px !important; }
.start-step::before {
  position: absolute;
  top: 20px;
  left: 22px;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: #e0eadc;
  color: var(--modern-forest);
  font-size: 13px;
  font-weight: 900;
}
.start-step:nth-child(1)::before { content: "01"; }
.start-step:nth-child(2)::before { content: "02"; }
.start-step:nth-child(3)::before { content: "03"; }
.start-step:nth-child(4)::before { content: "04"; }

/* Marketing area */
#b {
  background: #183d2a !important;
  color: rgba(255,255,255,.84) !important;
}
#b h2, #b h2 .gbspan { color: #fff !important; }
#b > .container > .row > div > p {
  position: relative;
  margin: 0 0 10px;
  padding: 14px 18px 14px 48px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  background: rgba(255,255,255,.055);
  color: rgba(255,255,255,.86);
}
#b > .container > .row > div > p::before {
  content: "✓";
  position: absolute;
  left: 17px;
  color: #b9d5ad;
  font-weight: 900;
}
#myFrame {
  margin-top: 28px;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 28px !important;
  background: #f8faf6;
}

/* FAQ */
.ux-section--faq { background: #f1f5ef !important; }
.faq-item { overflow: hidden; }
.faq-item summary {
  padding: 22px 52px 22px 24px !important;
  color: var(--modern-ink) !important;
  font-weight: 760 !important;
}
.faq-item summary::after { color: var(--modern-leaf) !important; }
.faq-item p { padding: 0 24px 24px !important; color: #647168 !important; }

/* Human CTA */
.ux-section--human {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #183f2b, #28583c) !important;
}
.ux-section--human::before,
.ux-section--human::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ux-section--human::before {
  width: 520px; height: 520px; right: -260px; top: -300px;
  background: rgba(255,255,255,.07);
}
.ux-section--human::after {
  width: 360px; height: 360px; left: -220px; bottom: -240px;
  background: rgba(198,169,106,.10);
}
.ux-section--human h2, .ux-section--human .gbspan { color: #fff !important; }
.ux-section--human .section-lead { color: rgba(255,255,255,.72) !important; }
.hero-btn--light {
  border: 1px solid rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.09) !important;
  color: #fff !important;
  backdrop-filter: blur(12px);
}

/* Footer */
#f {
  background: #102c1e !important;
}
#f h2 {
  max-width: 800px;
  margin-inline: auto;
  color: #fff;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 720;
  line-height: 1.02;
  letter-spacing: -.05em;
}
.footer-cta-subtitle { color: rgba(255,255,255,.62) !important; font-size: 17px; }
.footer-cta-btn--ghost {
  border-color: rgba(255,255,255,.18) !important;
  background: rgba(255,255,255,.07) !important;
  color: #fff !important;
}

.back-to-top {
  width: 48px !important;
  height: 48px !important;
  border: 1px solid rgba(23,63,43,.12) !important;
  border-radius: 15px !important;
  background: rgba(255,255,255,.88) !important;
  color: var(--modern-forest) !important;
  box-shadow: 0 12px 30px rgba(23,63,43,.12) !important;
  backdrop-filter: blur(14px);
}

@media (max-width: 991px) {
  .site-quick-nav { top: 9px; width: calc(100% - 18px); }
  #h { padding-top: 84px; min-height: auto; border-radius: 0 0 32px 32px; background-position: right top; }
  #h::before {
    background: linear-gradient(180deg, rgba(248,247,240,.83), rgba(248,247,240,.95) 54%, rgba(248,247,240,.99));
  }
  #h .row.centered {
    width: 100%;
    min-height: auto;
    padding: 92px 0 72px;
  }
  #h h1 { max-width: 720px; }
  #g .row.mt { border-radius: 28px; }
  #cta2 > .container > .row > .left { border-radius: 28px; }
}

@media (max-width: 991px) {
  .site-quick-nav__brand-logo { height: 32px; }

  #h {
    background-position: right top;
  }

  #h .row.centered {
    width: min(100%, 680px);
    padding: 30px 24px 34px;
    border-radius: 28px;
  }
}

@media (max-width: 767px) {
  .site-quick-nav { border-radius: 18px; }
  .site-quick-nav__inner { min-height: 58px; padding-inline: 8px; }
  .site-quick-nav__brand { padding-left: 37px; }
  .site-quick-nav__links { top: calc(100% + 7px); border-radius: 18px; }
  #h { border-radius: 0 0 26px 26px; }
  #h .row.centered::before { margin-bottom: 18px; font-size: 10px; letter-spacing: .08em; }
  #h h1 { font-size: clamp(42px, 13vw, 62px); }
  #h h2 { font-size: clamp(24px, 7vw, 32px); }
  #h .hero-lead { font-size: 16.5px; }
  #w, #g, #r, #b, #cta, #cta2, #cta0, #cta4, #f, .ux-section {
    padding-top: 62px;
    padding-bottom: 62px;
  }
  #g .row.mt,
  #cta2 > .container > .row > .left { padding: 22px 16px; border-radius: 24px; }
  .ux-card, .benefit-card, .start-step, .faq-item, .video-card, .benefit-detail { border-radius: 20px !important; }
  body > a[href*="katalog-bad"] { width: calc(100% - 28px); border-radius: 24px; }
  #b > .container > .row > div > p { padding: 13px 15px 13px 42px; }
  .mobile-sticky-cta {
    left: 8px !important;
    right: 8px !important;
    bottom: 8px !important;
    width: auto !important;
    padding: 6px !important;
    border: 1px solid rgba(255,255,255,.7) !important;
    border-radius: 18px !important;
    background: rgba(251,250,246,.88) !important;
    box-shadow: 0 14px 36px rgba(23,63,43,.16) !important;
    backdrop-filter: blur(18px);
  }
  .mobile-sticky-cta a { min-height: 46px; border-radius: 13px !important; }
}

@media (max-width: 420px) {
  #h .row.centered { padding-top: 72px; }
  #h .row.centered::before { max-width: 100%; white-space: normal; line-height: 1.35; }
  #h h1 { font-size: 42px; }
  .hero-btn { min-height: 50px; }
}

/* Keep every legacy Bootstrap row within the viewport. */
html, body { max-width: 100%; overflow-x: clip; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
img, video, iframe, svg { max-width: 100%; }
.row > [class*="col-"] { min-width: 0; }

/* Readability pass: keep all copy legible on photographic backgrounds */
#h .row.centered {
  position: relative;
  z-index: 1;
}
#h .row.centered::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 34px -38px 48px -38px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 34px;
  background: linear-gradient(135deg, rgba(251,250,246,.93), rgba(251,250,246,.78));
  box-shadow: 0 24px 70px rgba(19,47,32,.10);
  backdrop-filter: blur(10px) saturate(115%);
  -webkit-backdrop-filter: blur(10px) saturate(115%);
}

#cta,
#cta0,
#cta4 {
  position: relative;
  isolation: isolate;
  background-size: cover !important;
}
#cta::before,
#cta0::before,
#cta4::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
#cta::before {
  background: linear-gradient(180deg, rgba(251,250,246,.90), rgba(251,250,246,.82));
}
#cta0::before,
#cta4::before {
  background: linear-gradient(90deg, rgba(251,250,246,.96) 0%, rgba(251,250,246,.93) 58%, rgba(251,250,246,.72) 100%);
}

#cta .col-md-8,
#cta0 .left,
#cta4 .left {
  position: relative;
  z-index: 1;
}
#cta .col-md-8 {
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(23,63,43,.10);
  border-radius: 30px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 22px 65px rgba(23,63,43,.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#cta p {
  color: #20352a !important;
  font-weight: 650;
  text-shadow: none !important;
}
#cta font[color="#e81010"] {
  color: #2f6f48 !important;
  font-weight: 900;
}

#cta0 .left > p,
#cta4 .left > p {
  border: 1px solid rgba(23,63,43,.10);
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 26px 70px rgba(23,63,43,.13);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  color: #263b30 !important;
}
#cta0 .left > p a,
#cta4 .left > p a,
#cta0 .left > p font,
#cta4 .left > p font {
  color: #205d3b !important;
}
#cta0 .cmax,
#cta4 .cmax {
  display: inline-block;
  color: #173f2b !important;
  font-weight: 800 !important;
  line-height: 1.12;
}

@media (max-width: 991px) {
  #h .row.centered::after {
    inset: 54px -18px 42px -18px;
    background: rgba(251,250,246,.92);
  }
  #cta0::before,
  #cta4::before {
    background: rgba(251,250,246,.88);
  }
}

@media (max-width: 767px) {
  #h {
    background-position: 76% top;
  }
  #h .row.centered::after {
    inset: 46px -8px 30px -8px;
    border-radius: 24px;
    background: rgba(251,250,246,.94);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }
  #h h1 { color: #14271d !important; }
  #h h2 { color: #245c3a !important; }
  #h .hero-lead { color: #3f5147 !important; }
  #cta .col-md-8,
  #cta0 .left > p,
  #cta4 .left > p {
    border-radius: 22px !important;
  }
  #cta0 .left > p,
  #cta4 .left > p {
    padding: 22px 18px !important;
    font-size: 15.5px !important;
    line-height: 1.75 !important;
  }
}


@media (max-width: 767px) {
  .site-quick-nav__brand-logo {
    height: 28px;
    max-width: 170px;
  }

  #h {
    min-height: auto;
    padding-top: 92px;
    background-position: 74% top;
  }

  #h .row.centered {
    width: 100%;
    min-height: auto;
    padding: 24px 18px 26px;
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(251,250,246,.94) 0%, rgba(251,250,246,.90) 100%);
    box-shadow: 0 18px 42px rgba(23,63,43,.14);
  }

  #h .row.centered::before {
    margin-bottom: 18px;
    font-size: 11px;
    letter-spacing: .08em;
  }

  #h h1 {
    font-size: clamp(36px, 12vw, 52px);
    line-height: 1.02;
  }

  #h h2 {
    margin-top: 16px;
    font-size: clamp(22px, 7vw, 30px);
  }

  #h .hero-lead {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.6;
  }
}
