/* Inner pages: blog, preparaty, nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 1px 0 var(--primary-l-30);
}

.site-header .header { padding: 16px 0; }

.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
}

.site-header__logo {
  flex-shrink: 0;
}

.site-header__name {
  display: none;
  margin: 0;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-dark);
  text-align: center;
}

@media (max-width: 959px) {
  .site-header .header { padding: 12px 0; }

  .site-header__row {
    display: grid;
    grid-template-columns: minmax(44px, auto) 1fr auto 44px;
    grid-template-areas: "logo title lang burger";
    align-items: center;
    column-gap: 10px;
    row-gap: 0;
  }

  .site-header__logo { grid-area: logo; }

  .site-header__name {
    display: block;
    grid-area: title;
    font-size: clamp(14px, 4.2vw, 17px);
    padding: 0 4px;
  }

  .site-lang-switch {
    grid-area: lang;
    justify-self: end;
  }

  .site-nav {
    grid-area: burger;
    justify-self: end;
    position: static;
  }

  .header__info {
    display: none !important;
  }
}

@media (min-width: 960px) {
  .site-header__row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .site-header__name { display: none; }

  .site-nav { flex: 1 1 auto; min-width: 0; }

  .site-lang-switch {
    flex-shrink: 0;
    margin: 0 20px 0 16px;
  }

  .header__info {
    flex-shrink: 0;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--primary-l-30, #e8f4fa);
  border: 1px solid var(--primary-l-20, #cfe8f3);
}

.lang-switch__btn {
  min-width: 36px;
  padding: 5px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--primary-dark, #0d668a);
  font-family: var(--font-title, Montserrat, sans-serif);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  line-height: 1.2;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}

.lang-switch__btn.is-active {
  background: var(--white, #fff);
  color: var(--primary, #0a7aa7);
  box-shadow: 0 1px 4px rgba(13, 102, 138, 0.18);
}

.lang-switch__btn:not(.is-active):hover {
  color: var(--primary, #0a7aa7);
}

/* Sticky call button (mobile) */
.fab-call {
  position: fixed;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  right: calc(14px + env(safe-area-inset-right, 0px));
  z-index: 99;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient-btn);
  box-shadow: var(--shadow-btn);
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.fab-call__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 196, 240, 0.55);
  pointer-events: none;
  animation: fab-ring 2.6s ease-out infinite;
}

.fab-call__ring--2 { animation-delay: 0.85s; }
.fab-call__ring--3 { animation-delay: 1.7s; }

.fab-call__icon {
  position: relative;
  z-index: 1;
  display: flex;
  animation: fab-wiggle 3.2s ease-in-out infinite;
}

.fab-call__icon svg {
  display: block;
  width: 30px;
  height: 30px;
}

@keyframes fab-ring {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

@keyframes fab-wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  2%, 6% { transform: rotate(-7deg) scale(1.04); }
  4%, 8% { transform: rotate(7deg) scale(1.04); }
  10% { transform: rotate(0deg) scale(1); }
}

@media (max-width: 959px) {
  .fab-call { display: flex; }
}

@media (prefers-reduced-motion: reduce) {
  .fab-call__ring,
  .fab-call__icon { animation: none; }
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Nav */
.site-nav__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--primary-l-30);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  padding: 0;
  position: relative;
  z-index: 112;
  transition: border-color 0.2s, background 0.2s;
}
.site-nav__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--primary-dark);
  position: relative;
  transition: background 0.2s;
}
.site-nav__toggle span::before,
.site-nav__toggle span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: var(--primary-dark);
  transition: transform 0.25s ease, top 0.25s ease;
}
.site-nav__toggle span::before { top: -6px; }
.site-nav__toggle span::after { top: 6px; }

.site-nav.is-open .site-nav__toggle {
  border-color: rgba(0, 144, 224, 0.35);
  background: var(--primary-l-30);
}
.site-nav.is-open .site-nav__toggle span { background: transparent; }
.site-nav.is-open .site-nav__toggle span::before {
  top: 0;
  transform: rotate(45deg);
}
.site-nav.is-open .site-nav__toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav__backdrop {
  display: none;
}

.site-nav__panel {
  display: block;
  width: 100%;
  order: 3;
}

@media (max-width: 959px) {
  .site-nav__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    top: var(--site-header-bottom, 68px);
    z-index: 109;
    background: rgba(0, 55, 95, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
  }

  .site-nav.is-open .site-nav__backdrop {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav__panel {
    position: fixed;
    z-index: 111;
    left: 12px;
    right: 12px;
    top: calc(var(--site-header-bottom, 68px) + 8px);
    width: auto;
    max-height: calc(100vh - var(--site-header-bottom, 68px) - 24px);
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 16px 48px rgba(0, 100, 170, 0.18);
    border: 1px solid rgba(0, 168, 224, 0.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
  }

  .site-nav.is-open .site-nav__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .site-nav__list {
    padding: 10px 8px 12px;
  }

  .site-nav__list > li + li { margin-top: 2px; }

  .site-nav__link {
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 15px;
  }

  .site-nav__sub {
    padding: 2px 0 4px 8px;
    margin-top: 2px;
  }

  .site-nav__sub .site-nav__link {
    font-size: 14px;
    padding: 10px 14px 10px 18px;
  }

  body.nav-open {
    overflow: hidden;
  }
}

@media (min-width: 960px) {
  .site-nav__toggle { display: none; }
  .site-nav__backdrop { display: none !important; }
  .site-nav__panel {
    display: block;
    position: static;
    width: auto;
    order: unset;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    max-height: none;
    overflow: visible;
    background: transparent;
    box-shadow: none;
    border: none;
    left: auto;
    right: auto;
    top: auto;
  }
  .site-nav__list {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
  }
  .site-nav__list > li + li { margin-top: 0; }
  .site-nav__item--has-sub { position: relative; }
  .site-nav__sub {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-soft);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  }
  .site-nav__item--has-sub:hover .site-nav__sub,
  .site-nav__item--has-sub:focus-within .site-nav__sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.site-nav__list {
  list-style: none;
  padding: 12px 0 0;
  margin: 0;
}
.site-nav__list > li + li { margin-top: 4px; }

.site-nav__link {
  display: block;
  padding: 10px 12px;
  font-family: var(--font-title);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  border-radius: 8px;
  transition: background 0.15s;
}
.site-nav__link:hover,
.site-nav__link.is-active {
  background: var(--primary-a-01);
  color: var(--primary-dark);
}

.site-nav__sub {
  list-style: none;
  padding: 4px 0 4px 12px;
  margin: 0;
}
.site-nav__sub .site-nav__link {
  font-weight: 500;
  font-size: 13px;
  font-family: var(--font-body);
}

/* Breadcrumbs */
.breadcrumbs {
  padding: 16px 0;
  font-size: 13px;
  color: var(--text);
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.breadcrumbs li + li::before {
  content: '›';
  margin-right: 6px;
  color: var(--primary);
}
.breadcrumbs a:hover { color: var(--primary-dark); }

/* Page hero */
.page-hero {
  padding: 40px 0 32px;
  background: var(--primary-a-01);
}
.page-hero--compact { padding: 32px 0 24px; }
.page-hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  margin-bottom: 12px;
}
.page-hero__lead {
  max-width: 720px;
  margin-top: 16px;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}
@media (max-width: 959px) {
  .page-hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    max-width: 300px;
  }
  .page-hero__actions .btn {
    min-width: 0;
    width: 100%;
    padding: 11px 18px;
    font-size: 16px;
    line-height: 1.25;
  }
}
.page-hero__grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
.page-hero__media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}
.page-hero__media img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
}
@media (min-width: 960px) {
  .page-hero__grid {
    grid-template-columns: 1fr minmax(280px, 440px);
    gap: 40px;
  }
}

/* Content */
.page-content {
  padding: 40px 0 56px;
}
.page-content__inner {
  max-width: 800px;
  margin: 0 auto;
}
.page-content__inner--wide { max-width: 960px; }

.prose h2 {
  font-family: var(--font-title);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 12px;
  line-height: 1.3;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 24px 0 8px;
  color: var(--text-dark);
}
.prose p { margin-bottom: 12px; }
.prose ul, .prose ol { margin: 12px 0 16px; }
.prose .placeholder {
  padding: 24px;
  background: var(--gray-bg);
  border-radius: var(--radius-card);
  border: 1px dashed var(--primary-l-30);
  color: var(--text);
  font-size: 14px;
  margin: 24px 0;
}

/* CTA box */
.cta-box {
  margin: 40px 0 0;
  padding: 32px;
  background: var(--primary-a-01);
  border-radius: var(--radius-card);
  text-align: center;
}
.cta-box__title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.cta-box__text { margin-bottom: 20px; }
.cta-box__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.btn--outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}
.btn--outline:hover {
  background: var(--primary-a-01);
  box-shadow: 0 4px 16px rgba(0, 144, 224, 0.15);
}

/* Blog grid */
.blog-grid {
  display: grid;
  gap: 24px;
  padding: 40px 0 56px;
}
@media (min-width: 600px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
}

/* 2 cards — centered (home blog teaser) */
.blog-grid--center {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 0 8px;
}
@media (min-width: 600px) {
  .blog-grid--center {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 960px) {
  .blog-grid--center {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 75, 99, 0.12);
}
.blog-card__img--product {
  object-fit: contain;
  padding: 20px;
  background: var(--primary-a-01);
  height: 220px;
}
.blog-card__img {
  aspect-ratio: 16/10;
  background: var(--primary-l-30);
  object-fit: cover;
  width: 100%;
}
.blog-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-card__tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-dark);
  margin-bottom: 8px;
}
.blog-card__title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.35;
}
.blog-card__excerpt {
  font-size: 14px;
  flex: 1;
  margin-bottom: 16px;
}
.blog-card__link {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}
.blog-card__link:hover { text-decoration: underline; }

/* Prep cards on home */
.prep-cards {
  padding: 56px 0;
  background: var(--gray-bg);
}
.prep-cards__grid {
  display: grid;
  gap: 20px;
  margin-top: 32px;
}
@media (min-width: 600px) {
  .prep-cards__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .prep-cards__grid { grid-template-columns: repeat(3, 1fr); }
}
.prep-card {
  display: block;
  padding: 28px 24px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s;
}
.prep-card:hover { transform: translateY(-4px); }
.prep-card__img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  margin: -28px -24px 20px;
  padding: 16px 20px;
  background: linear-gradient(180deg, var(--primary-a-01) 0%, transparent 100%);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}
.prep-card__img {
  width: auto;
  max-width: 100%;
  max-height: 130px;
  height: auto;
  object-fit: contain;
}
.prep-card__substance {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}
.prep-card__brand {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.prep-card__text {
  font-size: 14px;
  margin-bottom: 12px;
}
.prep-card__more {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Landing sections */
.lp-section {
  padding: 48px 0;
}
.lp-section--alt { background: var(--gray-bg); }
.lp-section__title {
  text-align: center;
  margin-bottom: 32px;
}
.lp-features {
  display: grid;
  gap: 20px;
}
@media (min-width: 600px) {
  .lp-features { grid-template-columns: repeat(2, 1fr); }
}
.lp-feature {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
}
.lp-feature__title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 48px 0 24px;
}
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer a:hover { color: var(--white); }
.site-footer__grid {
  display: grid;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 600px) {
  .site-footer__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .site-footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}
.site-footer__title {
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}
.site-footer__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
}
.site-footer__list li + li { margin-top: 8px; }
.site-footer__copy {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
  opacity: 0.8;
  text-align: center;
}

/* Related links */
.related {
  padding: 40px 0;
  background: var(--gray-bg);
}
.related__title {
  text-align: center;
  margin-bottom: 24px;
}
.related__grid {
  display: grid;
  gap: 16px;
}
@media (min-width: 600px) {
  .related__grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== Product page blocks (DOZA-style) ===== */
.product-blocks {
  position: relative;
}

.product-block {
  position: relative;
}

.product-block__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 32px;
}

.product-block__eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 10px;
}

.product-block__title {
  color: var(--text-dark);
  margin-bottom: 10px;
}

.product-block__lead {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

/* Comparison table */
.product-compare__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-card);
  border: 1px solid rgba(0, 110, 179, 0.1);
  box-shadow: var(--shadow-soft);
  background: var(--white);
}

.product-compare__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: 14px;
}

.product-compare__table th,
.product-compare__table td {
  padding: 16px 18px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 110, 179, 0.08);
}

.product-compare__table thead th {
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  background: linear-gradient(180deg, #f4fbff 0%, #ffffff 100%);
}

.product-compare__table thead th:first-child {
  width: 28%;
  color: var(--text);
  font-weight: 600;
}

.product-compare__table tbody tr:last-child td,
.product-compare__table tbody tr:last-child th {
  border-bottom: none;
}

.product-compare__table tbody th {
  font-weight: 600;
  color: var(--text-dark);
  background: rgba(0, 168, 224, 0.04);
}

.product-compare__table td strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.product-compare__note {
  margin-top: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

/* Mechanism cards */
.product-mechanism__grid {
  display: grid;
  gap: 18px;
}

.product-mechanism__card {
  position: relative;
  padding: 28px 24px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 75, 99, 0.08);
  box-shadow:
    0 4px 24px rgba(0, 75, 99, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.product-mechanism__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(0, 75, 99, 0.1);
}

.product-mechanism__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 6px 14px;
  margin-bottom: 14px;
  border-radius: 100px;
  font-family: var(--font-title);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--white);
  background: var(--gradient-btn);
  box-shadow: 0 6px 18px rgba(0, 75, 99, 0.2);
}

.product-mechanism__card-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.35;
}

.product-mechanism__card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.product-mechanism__list {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.product-mechanism__list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}

.product-mechanism__list li + li {
  margin-top: 8px;
}

.product-mechanism__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Contraindications */
.product-contra__grid {
  display: grid;
  gap: 12px;
}

.product-contra__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(0, 110, 179, 0.1);
  box-shadow: 0 2px 12px rgba(0, 75, 99, 0.05);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-contra__item:hover {
  border-color: rgba(0, 110, 179, 0.18);
  box-shadow: 0 6px 20px rgba(0, 75, 99, 0.08);
}

.product-contra__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #c45a00;
  background: rgba(255, 152, 0, 0.12);
}

.product-contra__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-dark);
}

.product-contra__text a {
  color: var(--primary-dark);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product-contra__disclaimer {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  background: rgba(0, 168, 224, 0.06);
  border: 1px solid rgba(0, 110, 179, 0.1);
}

/* Usage & storage */
.product-usage__grid {
  display: grid;
  gap: 16px;
}

.product-usage__card {
  padding: 24px 22px;
  border-radius: var(--radius-card);
  background: var(--white);
  border: 1px solid rgba(0, 75, 99, 0.08);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.product-usage__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 16px;
  border-radius: 50%;
  color: var(--white);
  background: var(--gradient-btn);
  box-shadow: 0 8px 20px rgba(0, 75, 99, 0.2);
}

.product-usage__card-title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.product-usage__card-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
}

.product-cta {
  padding: 48px 0 56px;
  background: linear-gradient(168deg, #f8fcff 0%, #ffffff 50%, #eef6fc 100%);
}

.product-cta__box {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 32px 24px;
  border-radius: var(--radius-card);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(0, 110, 179, 0.12);
  box-shadow: 0 8px 32px rgba(0, 75, 99, 0.08);
}

.product-cta__title {
  font-family: var(--font-title);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.product-cta__text {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
  color: var(--text);
}

.product-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.product-mechanism__grid--triple {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .product-mechanism__grid--triple {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 600px) {
  .product-mechanism__grid {
    grid-template-columns: 1fr 1fr;
  }

  .product-contra__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-usage__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 960px) {
  .product-contra__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .product-block__head {
    margin-bottom: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-mechanism__card {
    transition: none;
  }
  .product-mechanism__card:hover {
    transform: none;
  }
}

/* BMI calculator — premium page */
.bmi-page {
  background: linear-gradient(180deg, #eef6fc 0%, #f8fbfe 28%, #fff 55%);
}

.bmi-hero {
  padding: 8px 0 24px;
}

.bmi-hero__title {
  margin-bottom: 12px;
}

.bmi-hero__lead {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  margin-bottom: 20px;
}

.bmi-hero__eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 8px;
}

.bmi-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text);
}

.bmi-trust li::before {
  content: "✓ ";
  color: var(--primary);
  font-weight: 700;
}

.bmi-calc-section {
  padding-top: 0;
}

.bmi-calc-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 28px 36px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(0, 110, 179, 0.14);
  box-shadow:
    0 4px 6px rgba(0, 75, 99, 0.04),
    0 24px 48px rgba(0, 75, 99, 0.1);
  backdrop-filter: blur(8px);
}

.bmi-calc-card__head {
  margin-bottom: 24px;
}

.bmi-calc-card__brand {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 6px;
}

.bmi-gender {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.bmi-gender__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 2px solid rgba(0, 110, 179, 0.15);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.bmi-gender__btn input { display: none; }

.bmi-gender__btn:has(input:checked) {
  border-color: var(--primary);
  background: linear-gradient(168deg, #f0f9ff 0%, #e8f4fc 100%);
  box-shadow: 0 4px 16px rgba(0, 110, 179, 0.12);
}

.bmi-gender__icon {
  font-size: 18px;
  color: var(--primary);
}

.bmi-form__grid {
  display: grid;
  gap: 14px;
}

.bmi-form__grid--quad {
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 479px) {
  .bmi-form__grid--quad {
    grid-template-columns: 1fr;
  }
}

.bmi-field__label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted, #6b7c8a);
  margin-bottom: 6px;
}

.bmi-field__opt {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.75;
}

.bmi-field__input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(0, 110, 179, 0.2);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.bmi-field__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 110, 179, 0.12);
}

.bmi-field__select {
  text-align: left;
  font-size: 14px;
  font-weight: 500;
}

.bmi-adv-toggle {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  width: 100%;
  margin: 18px 0 0;
  padding: 12px 0;
  border: none;
  border-top: 1px dashed rgba(0, 110, 179, 0.15);
  background: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  text-align: left;
}

.bmi-adv-toggle__hint {
  font-weight: 400;
  font-size: 12px;
  color: var(--text-muted, #6b7c8a);
}

.bmi-adv-panel {
  padding-top: 8px;
  animation: bmiFadeIn 0.35s ease;
}

.bmi-submit {
  margin-top: 20px;
  padding: 16px 24px;
  font-size: 16px;
  border-radius: 12px;
}

.bmi-scale {
  margin-top: 28px;
}

.bmi-scale__bar {
  position: relative;
  display: flex;
  height: 12px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef3;
}

.bmi-scale__zone--thin { flex: 3.5; background: linear-gradient(90deg, #64b5f6, #90caf9); }
.bmi-scale__zone--normal { flex: 6.5; background: linear-gradient(90deg, #66bb6a, #81c784); }
.bmi-scale__zone--over { flex: 2; background: linear-gradient(90deg, #ffb74d, #ffcc80); }
.bmi-scale__zone--obese { flex: 10; background: linear-gradient(90deg, #ef5350, #e57373); }

.bmi-scale__marker {
  position: absolute;
  top: 50%;
  width: 22px;
  height: 22px;
  margin-left: -11px;
  margin-top: -11px;
  border-radius: 50%;
  background: var(--primary-dark);
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 75, 99, 0.4);
  transition: left 0.5s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.bmi-scale__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 11px;
  color: var(--text-muted, #6b7c8a);
}

.bmi-result {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 110, 179, 0.1);
  text-align: center;
}

.bmi-result--animate {
  animation: bmiFadeIn 0.45s ease;
}

.bmi-result__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 6px;
}

.bmi-result__value {
  font-family: var(--font-title);
  font-size: clamp(48px, 10vw, 64px);
  font-weight: 700;
  line-height: 1;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.bmi-result__category {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.bmi-result__category--ok { background: #e8f5e9; color: #2e7d32; }
.bmi-result__category--info { background: #e3f2fd; color: #1565c0; }
.bmi-result__category--warn { background: #fff3e0; color: #e65100; }
.bmi-result__category--alert { background: #ffebee; color: #c62828; }

.bmi-result__delta {
  font-size: 13px;
  color: var(--primary);
  margin-bottom: 8px;
}

.bmi-result__hint {
  max-width: 480px;
  margin: 0 auto 16px;
  line-height: 1.55;
  font-size: 15px;
  color: var(--text);
}

.bmi-extras {
  display: grid;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
  text-align: left;
}

.bmi-extra {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #f8fbfd;
  font-size: 14px;
}

.bmi-extra--warn { background: #fff8e1; }
.bmi-extra--alert { background: #ffebee; }
.bmi-extra--ok { background: #e8f5e9; }

.bmi-extra__label {
  color: var(--text-muted, #6b7c8a);
  font-size: 12px;
}

.bmi-extra__note {
  grid-column: 1 / -1;
  font-size: 13px;
  color: var(--text-muted, #6b7c8a);
  margin: 0;
  text-align: center;
}

.bmi-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 110, 179, 0.08);
}

.bmi-stat {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted, #6b7c8a);
  line-height: 1.4;
}

.bmi-stat strong {
  display: block;
  font-family: var(--font-title);
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.bmi-section-title {
  text-align: center;
  margin-bottom: 28px;
}

.bmi-tiers {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bmi-tier {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid transparent;
  opacity: 0;
  transform: translateY(12px);
  animation: bmiTierIn 0.5s ease forwards;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.bmi-tier:nth-child(1) { animation-delay: 0.05s; }
.bmi-tier:nth-child(2) { animation-delay: 0.1s; }
.bmi-tier:nth-child(3) { animation-delay: 0.15s; }
.bmi-tier:nth-child(4) { animation-delay: 0.2s; }
.bmi-tier:nth-child(5) { animation-delay: 0.25s; }
.bmi-tier:nth-child(6) { animation-delay: 0.3s; }

.bmi-tier--under { background: linear-gradient(90deg, #e3f2fd 0%, #f5fbff 100%); }
.bmi-tier--normal { background: linear-gradient(90deg, #e8f5e9 0%, #f1fbf3 100%); }
.bmi-tier--over { background: linear-gradient(90deg, #fff8e1 0%, #fffdf5 100%); }
.bmi-tier--ob1 { background: linear-gradient(90deg, #ffe0b2 0%, #fff5eb 100%); }
.bmi-tier--ob2 { background: linear-gradient(90deg, #ffccbc 0%, #fff0ed 100%); }
.bmi-tier--ob3 { background: linear-gradient(90deg, #ffcdd2 0%, #ffebee 100%); }

.bmi-tier.is-active {
  border-color: var(--primary);
  box-shadow: 0 8px 28px rgba(0, 110, 179, 0.18);
  transform: scale(1.01);
}

.bmi-tier__range {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 15px;
  color: var(--text-dark);
}

.bmi-tier__name {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.bmi-tier__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
}

@media (max-width: 560px) {
  .bmi-tier {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.bmi-tiers__link-wrap {
  text-align: center;
  margin-top: 24px;
}

.bmi-tiers__link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.bmi-tiers__link:hover {
  text-decoration: underline;
}

.bmi-formulas-section {
  background: linear-gradient(180deg, #fff 0%, #f4f9fc 40%, #eef6fc 100%);
}

.bmi-formulas-head {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 32px;
}

.bmi-formulas-head__eyebrow {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 8px;
}

.bmi-formulas-head__lead {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
}

.bmi-formulas {
  display: grid;
  gap: 20px;
}

@media (min-width: 768px) {
  .bmi-formulas {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.bmi-formula-card {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 110, 179, 0.1);
  box-shadow:
    0 4px 6px rgba(0, 75, 99, 0.03),
    0 16px 40px rgba(0, 75, 99, 0.07);
  opacity: 0;
  animation: bmiFadeIn 0.6s ease forwards;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bmi-formula-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 75, 99, 0.11);
}

.bmi-formulas .bmi-formula-card:nth-child(1) { animation-delay: 0.08s; }
.bmi-formulas .bmi-formula-card:nth-child(2) { animation-delay: 0.16s; }
.bmi-formulas .bmi-formula-card:nth-child(3) { animation-delay: 0.24s; }
.bmi-formulas .bmi-formula-card:nth-child(4) { animation-delay: 0.32s; }

.bmi-formula-card__accent {
  height: 4px;
  background: var(--gradient-brand);
}

.bmi-formula-card--who .bmi-formula-card__accent {
  background: linear-gradient(90deg, #006EB3 0%, #00A8E0 100%);
}

.bmi-formula-card--age .bmi-formula-card__accent {
  background: linear-gradient(90deg, #2e7d32 0%, #66bb6a 100%);
}

.bmi-formula-card--devine .bmi-formula-card__accent {
  background: linear-gradient(90deg, #5c6bc0 0%, #7986cb 100%);
}

.bmi-formula-card--fat .bmi-formula-card__accent {
  background: linear-gradient(90deg, #e65100 0%, #ffb74d 100%);
}

.bmi-formula-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 22px 0;
}

.bmi-formula-card__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--primary-a-01);
  color: var(--primary-dark);
}

.bmi-formula-card--age .bmi-formula-card__icon {
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
}

.bmi-formula-card--devine .bmi-formula-card__icon {
  background: rgba(92, 107, 192, 0.12);
  color: #5c6bc0;
}

.bmi-formula-card--fat .bmi-formula-card__icon {
  background: rgba(230, 81, 0, 0.1);
  color: #e65100;
}

.bmi-formula-card__title {
  font-family: var(--font-title);
  font-size: 17px;
  font-weight: 700;
  margin: 0;
  color: var(--text-dark);
  line-height: 1.3;
}

.bmi-formula-card__body {
  padding: 16px 22px 22px;
}

.bmi-formula-card__formula {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(168deg, #eef8fd 0%, #f8fcff 100%);
  border: 1px solid rgba(0, 168, 224, 0.2);
  color: var(--primary-dark);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}

.bmi-formula-card__example {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f8fbfd;
}

.bmi-formula-card__example-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted, #6b7c8a);
}

.bmi-formula-card__example strong {
  color: var(--primary-dark);
  font-weight: 700;
}

.bmi-formula-card__note {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted, #6b7c8a);
  margin: 14px 22px 22px;
  padding-top: 12px;
  border-top: 1px dashed rgba(0, 110, 179, 0.12);
}

.bmi-formula-rows {
  list-style: none;
  margin: 0;
  padding: 16px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bmi-formula-rows--stacked {
  gap: 10px;
}

.bmi-formula-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8fbfd;
  border: 1px solid rgba(0, 110, 179, 0.06);
  transition: background 0.2s;
}

.bmi-formula-card:hover .bmi-formula-row {
  background: #fff;
}

.bmi-formula-rows--stacked .bmi-formula-row {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;
}

.bmi-formula-row--female .bmi-formula-row__badge {
  background: linear-gradient(135deg, #fce4ec 0%, #f8bbd9 100%);
  color: #c2185b;
}

.bmi-formula-row--male .bmi-formula-row__badge {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1565c0;
}

.bmi-formula-row__badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
}

.bmi-formula-row__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}

.bmi-formula-row__value {
  flex-shrink: 0;
  font-family: var(--font-title);
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-dark);
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(0, 168, 224, 0.08);
}

.bmi-formula-row__value--ok {
  background: rgba(46, 125, 50, 0.1);
  color: #2e7d32;
}

.bmi-formula-row__value--info {
  background: rgba(21, 101, 192, 0.1);
  color: #1565c0;
}

.bmi-formula-row__code {
  display: block;
  margin-top: 4px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: var(--text);
  white-space: normal;
  word-break: break-word;
}

.bmi-formula-rows--fat .bmi-formula-row {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.bmi-formula-rows--fat .bmi-formula-row--female {
  border-left: 3px solid #f48fb1;
}

.bmi-formula-rows--fat .bmi-formula-row--male {
  border-left: 3px solid #64b5f6;
}

.bmi-article {
  max-width: 760px;
  margin: 0 auto;
}

.bmi-sources {
  padding: 32px 0 48px;
  background: #f4f9fc;
  border-top: 1px solid rgba(0, 110, 179, 0.08);
}

.bmi-sources__title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.bmi-sources__list {
  margin: 0 0 16px;
  padding-left: 1.2em;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-muted, #6b7c8a);
}

.bmi-sources__disclaimer {
  font-size: 13px;
  color: var(--text-muted, #6b7c8a);
  margin: 0;
}

.bmi-cta--highlight .product-cta__box {
  border-color: rgba(0, 110, 179, 0.28);
  box-shadow: 0 12px 40px rgba(0, 110, 179, 0.12);
}

@keyframes bmiFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bmiTierIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .bmi-tier,
  .bmi-formula-card,
  .bmi-result--animate {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .bmi-formula-card:hover {
    transform: none;
  }
  .bmi-scale__marker {
    transition: none;
  }
}

/* Quiz (adapted from Doza flow) */
.quiz-page {
  background: linear-gradient(180deg, #eef6fc 0%, #f8fbfe 35%, #fff 100%);
  min-height: 60vh;
  padding-bottom: 64px;
}

.quiz-page__inner {
  max-width: 560px;
  margin: 0 auto;
}

.quiz-app {
  min-height: 420px;
}

.quiz-card {
  padding: 28px 24px 32px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(0, 110, 179, 0.12);
  box-shadow: 0 16px 48px rgba(0, 75, 99, 0.1);
}

.quiz-card--intro {
  text-align: center;
  padding-top: 36px;
}

.quiz-intro__icon {
  font-size: 48px;
  margin-bottom: 12px;
}

.quiz-intro__title {
  margin-bottom: 12px;
}

.quiz-intro__lead {
  color: var(--text);
  margin-bottom: 8px;
}

.quiz-intro__meta {
  font-size: 14px;
  color: var(--text-muted, #6b7c8a);
  margin-bottom: 24px;
}

.quiz-intro__btn {
  width: 100%;
  margin-bottom: 20px;
  padding: 16px 24px;
  font-size: 16px;
}

.quiz-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--text-muted, #6b7c8a);
}

.quiz-shell {
  position: relative;
}

.quiz-progress {
  height: 6px;
  border-radius: 999px;
  background: rgba(0, 110, 179, 0.12);
  overflow: hidden;
  margin-bottom: 8px;
}

.quiz-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--gradient-brand, linear-gradient(90deg, #006EB3, #00A8E0));
  transition: width 0.35s ease;
}

.quiz-progress__label {
  font-size: 12px;
  color: var(--text-muted, #6b7c8a);
  margin: 0 0 16px;
}

.quiz-back {
  position: absolute;
  top: 0;
  right: 0;
  border: none;
  background: none;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
}

.quiz-step__title {
  margin-bottom: 20px;
}

.quiz-options {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.quiz-options--2 {
  grid-template-columns: 1fr 1fr;
}

.quiz-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border-radius: 14px;
  border: 2px solid rgba(0, 110, 179, 0.14);
  background: #fff;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.45;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.quiz-option:hover {
  border-color: rgba(0, 110, 179, 0.35);
}

.quiz-option.is-selected {
  border-color: var(--primary);
  background: linear-gradient(168deg, #f0f9ff 0%, #e8f4fc 100%);
  box-shadow: 0 4px 16px rgba(0, 110, 179, 0.12);
}

.quiz-range {
  margin-bottom: 24px;
}

.quiz-range__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  font-size: 15px;
}

.quiz-range__head strong {
  font-family: var(--font-title);
  font-size: 24px;
  color: var(--primary-dark);
}

.quiz-range input[type="range"] {
  width: 100%;
  accent-color: var(--primary);
}

.quiz-range__scale {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted, #6b7c8a);
  margin-top: 6px;
}

.quiz-range__hint {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f0f9ff;
  font-size: 14px;
  line-height: 1.5;
  color: var(--primary-dark);
}

.quiz-medical__q {
  font-weight: 600;
  margin: 18px 0 10px;
  font-size: 15px;
}

.quiz-medical__q:first-child {
  margin-top: 0;
}

.quiz-next {
  margin-top: 4px;
}

.quiz-card--loading {
  text-align: center;
  padding: 48px 24px;
}

.quiz-loader {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  border: 4px solid rgba(0, 110, 179, 0.15);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: quizSpin 0.8s linear infinite;
}

@keyframes quizSpin {
  to { transform: rotate(360deg); }
}

.quiz-result {
  display: grid;
  gap: 20px;
}

.quiz-result__eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 8px;
}

.quiz-result__title {
  margin-bottom: 12px;
}

.quiz-result__text {
  margin-bottom: 20px;
  line-height: 1.6;
}

.quiz-result__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.quiz-result__stats li {
  text-align: center;
  padding: 14px 8px;
  border-radius: 14px;
  background: #f4f9fc;
}

.quiz-result__stats strong {
  display: block;
  font-family: var(--font-title);
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.quiz-result__stats span {
  font-size: 11px;
  line-height: 1.35;
  color: var(--text-muted, #6b7c8a);
}

.quiz-result__actions {
  display: grid;
  gap: 10px;
}

.quiz-result__privacy {
  margin-top: 12px;
  font-size: 12px;
  text-align: center;
  color: var(--text-muted, #6b7c8a);
}

@media (max-width: 479px) {
  .quiz-options--2 {
    grid-template-columns: 1fr;
  }
  .quiz-result__stats {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-loader { animation: none; }
  .quiz-progress span { transition: none; }
}

/* Weight loss landing (skhudnennia) */
.wl-page { background: #fff; }
.wl-hero__title { margin-bottom: 16px; }
.wl-hero__lead { max-width: 720px; margin-bottom: 28px; }
.wl-faq-mini { display: grid; gap: 12px; max-width: 800px; }
.wl-faq-mini__item { padding: 16px 20px; }
.wl-faq-mini__q { font-weight: 700; cursor: pointer; list-style: none; }
.wl-faq-mini__q::-webkit-details-marker { display: none; }
.wl-faq-mini__a { margin: 12px 0 0; }
.wl-prose { max-width: 760px; }
.wl-prose .t-text-2 + .t-text-2 { margin-top: 12px; }
.wl-prose .btn { margin-top: 20px; }
.wl-stats-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .wl-stats-grid { grid-template-columns: repeat(3, 1fr); } }
.wl-stat { padding: 24px; text-align: center; }
.wl-stat__val { font-family: var(--font-title); font-size: 28px; font-weight: 700; color: var(--primary-dark); margin-bottom: 8px; }
.wl-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; max-width: 800px; }
.wl-step { padding: 20px 24px; line-height: 1.55; }
.wl-cta { padding: 28px 24px; text-align: center; margin-bottom: 16px; }
.wl-cta--final { margin-top: 24px; }
.wl-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 20px; }
.wl-cta__tg { background: #22c55e; border-color: #22c55e; }
.wl-cta__tg:hover { background: #16a34a; }
.wl-quiz-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; text-decoration: none; color: inherit; transition: box-shadow 0.2s, transform 0.2s; }
.wl-quiz-banner:hover { box-shadow: var(--shadow-soft); transform: translateY(-2px); }
.wl-quiz-banner__title { font-weight: 700; font-size: 17px; margin-bottom: 4px; }
.wl-quiz-banner__btn { flex-shrink: 0; padding: 12px 20px; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; font-size: 14px; }
.wl-bmi-tiers { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 768px) { .wl-bmi-tiers { grid-template-columns: repeat(3, 1fr); } }
.wl-bmi-tiers article { padding: 20px; }
.bmi-calc-section--embed { padding-top: 32px; }
.bmi-calc-card--embed {
  max-width: 480px;
  padding: 24px 20px 28px;
}
.bmi-calc-card--embed .bmi-field__input { font-size: 16px; padding: 12px 14px; }
.bmi-calc-card--embed .bmi-submit { margin-top: 16px; padding: 14px 20px; font-size: 15px; }
.bmi-calc-card--embed .bmi-result__value { font-size: clamp(36px, 8vw, 48px); }

.wl-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .wl-mini-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.wl-mini-stats__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 12px;
  min-height: 0;
  background: #fff;
  border: 1px solid rgba(0, 110, 179, 0.1);
  box-shadow: 0 4px 16px rgba(0, 75, 99, 0.06);
}
.wl-mini-stats__icon {
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  margin-top: 2px;
}
.wl-mini-stats__body { min-width: 0; }
.wl-mini-stats__value {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--primary-dark);
  word-break: break-word;
}
.wl-mini-stats__label {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 1.35;
  color: var(--text-muted, #6b7c8a);
}
.wl-compare { display: grid; gap: 16px; margin-bottom: 8px; }
@media (min-width: 768px) { .wl-compare { grid-template-columns: 1fr 1fr; } }
.wl-compare__col { padding: 24px; }
.wl-compare__col--good { border: 2px solid rgba(0, 110, 179, 0.2); }
.wl-compare__list { margin: 12px 0 0; padding-left: 0; list-style: none; }
.wl-compare__list li { padding-left: 24px; position: relative; margin-bottom: 8px; font-size: 14px; line-height: 1.5; }
.wl-compare__list--bad li::before { content: "✕"; position: absolute; left: 0; color: #c62828; }
.wl-compare__list--good li::before { content: "✓"; position: absolute; left: 0; color: #2e7d32; font-weight: 700; }
.wl-reviews-note { text-align: center; margin-bottom: 20px; color: var(--text-muted, #6b7c8a); }
.wl-reviews-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 200px; gap: 8px; font-size: 48px; opacity: 0.5; }
