/* Simple title + white box sections (За нас / За БИОХУМАКС), full width with gutters */

body.about-page,
body.product-info-page,
html:has(#content.about-page) body,
html:has(#content.product-info-page) body {
  background: #f1f4eb;
  color: #1a2420;
}

body.about-page section[id],
body.about-page footer[id],
body.product-info-page section[id],
body.product-info-page footer[id],
#content.about-page section[id],
#content.product-info-page section[id] {
  scroll-margin-top: 5.5rem;
}

.about-shell {
  margin-inline: auto;
  max-width: 80rem;
  width: 100%;
  padding-inline: 1rem;
}

.product-info-page .section-shell {
  margin-inline: auto;
  max-width: 80rem;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .about-shell { padding-inline: 2rem; }
}

/* about-hero kept as alias — prefer .page-banner */
.about-hero {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  min-height: clamp(16rem, 38svh, 22rem);
  padding: clamp(5.5rem, 8vw, 6.5rem) 0 clamp(2.5rem, 4vw, 3.5rem);
  color: #fff;
  background: #0f1a14;
}
.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/hero-biohumax-garden-label-contrast.webp") center 46% / cover no-repeat;
  transform: scale(1.02);
}
.about-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 18, 12, .42) 0%, rgba(7, 18, 12, .52) 55%, rgba(7, 18, 12, .68) 100%),
    linear-gradient(90deg, rgba(7, 18, 12, .45) 0%, rgba(7, 18, 12, .18) 72%);
}
@media (max-width: 767px) {
  .about-hero::before { background-image: url("../img/hero-biohumax-mobile-v2.webp"); }
}
.about-hero .about-shell { position: relative; z-index: 1; }

.about-hero h1 {
  margin: 0;
  max-width: 16ch;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: clamp(2.15rem, 4.8vw, 3.55rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.02em;
  color: #fff;
  text-wrap: balance;
  text-shadow: 0 4px 24px rgba(5, 14, 9, .28);
}

.about-hero p {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  font-weight: 600;
  line-height: 1.55;
  color: rgba(255, 255, 255, .84);
  text-shadow: 0 2px 14px rgba(5, 14, 9, .22);
}

.about-block {
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0;
}

.about-block:last-of-type {
  padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
}

.about-block__title {
  margin: 0 0 1rem;
  max-width: 18ch;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: #1a2420;
}

.about-block__help {
  margin: 0 0 1.25rem;
  max-width: 42rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(26, 36, 32, .72);
}

.about-box {
  width: 100%;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid #ececec;
  border-radius: 1.35rem;
  background: #fff;
  box-shadow: 0 4px 16px rgba(20, 32, 24, .06);
}

.about-box p {
  margin: 0;
  max-width: none;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(26, 36, 32, .86);
}

.about-box p.about-lead {
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1a2420;
}

.about-box .about-prose-list + .ce-card {
  margin: 1.25rem 0 0;
}

.about-box .ce-card p {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
  color: #31583d;
}

.about-box p + p,
.about-box .about-actions + p,
.about-box p + .about-prose-list,
.about-box p + .about-note,
.about-box .about-prose-list + .about-note,
.about-box .about-note + .about-actions,
.about-box .cms-text-box + .about-actions,
.about-box p + .about-actions {
  margin-top: 1rem;
}

/* Beat `.about-box p { margin: 0 }` so CTAs aren't glued to the copy above. */
.about-box > .about-actions,
.about-box p.about-actions {
  margin-top: 1.35rem;
}

.about-prose-list {
  margin: 1rem 0 0;
  padding-left: 1.25rem;
  list-style: disc;
}

.about-prose-list--numbered {
  list-style: decimal;
}

.about-prose-list li {
  margin: 0.55rem 0;
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(26, 36, 32, .86);
}

.about-box strong {
  color: #1a2420;
}

.about-box a {
  color: #2f6b4f;
  font-weight: 800;
  text-decoration: none;
}

.about-box a:hover {
  text-decoration: underline;
}

.about-box a.button,
.about-box a.button:hover {
  color: #fff;
  text-decoration: none;
}

.about-list {
  display: grid;
  gap: 1rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.about-list li {
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  background: #f6f8f1;
}

.about-list h3,
.about-list strong {
  display: block;
  margin: 0 0 .4rem;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1a2420;
}

.about-list p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.55;
  color: rgba(26, 36, 32, .78);
}

@media (min-width: 760px) {
  .about-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.about-form-block .about-box {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.about-form-block .form-grid {
  margin: 0;
  width: 100%;
}

.about-form-block .form-grid .check a {
  color: #2f6b4f;
  font-weight: 800;
}

.about-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.5rem;
}

.about-actions .button,
.about-actions a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .7rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #2f6b4f;
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.about-actions .button:hover,
.about-actions a.button:hover {
  background: #275a42;
  color: #fff;
}

.about-actions .button-secondary,
.about-actions a.button-secondary {
  background: #fff;
  color: #2f6b4f;
  box-shadow: inset 0 0 0 1.5px rgba(47, 107, 79, .35);
}

.about-actions .button-secondary:hover,
.about-actions a.button-secondary:hover {
  background: #f6f8f1;
  color: #275a42;
}

.about-note {
  margin-top: 1.35rem;
  padding: 1.15rem 1.2rem;
  border-radius: 1rem;
  background: #f6f8f1;
  font-size: .98rem;
  line-height: 1.55;
  color: rgba(26, 36, 32, .82);
}

.about-note strong {
  display: block;
  margin-bottom: .35rem;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #1a2420;
}

.cert-row {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem 1.5rem;
  margin: 0 0 1.5rem;
}

.cert-row__item {
  display: grid;
  place-items: center;
  width: 5.5rem;
  height: 5.5rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: default;
}

.cert-row__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-row__item--eu {
  width: 4.75rem;
  height: 6.5rem;
  cursor: pointer;
  border-radius: .65rem;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cert-row__item--eu:hover,
.cert-row__item--eu:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(20, 32, 24, .14);
  outline: none;
}

.cert-modal {
  width: min(42rem, calc(100% - 1.5rem));
  max-height: calc(100vh - 2rem);
  overflow: auto;
  border: 0;
  border-radius: 1.25rem;
  background: #fff;
  color: #1a2420;
  box-shadow: 0 28px 64px rgba(16, 24, 20, .28);
  padding: 0;
}

.cert-modal::backdrop {
  background: rgba(16, 24, 20, .55);
}

.cert-modal__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid rgba(26, 36, 32, .08);
}

.cert-modal__bar h2 {
  margin: 0;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
}

.cert-modal__close {
  display: inline-flex;
  min-height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(26, 36, 32, .06);
  padding: .45rem 1rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cert-modal__close:hover {
  background: rgba(26, 36, 32, .1);
}

.cert-modal__body {
  padding: 1rem;
}

.cert-modal__body img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: .75rem;
}

@media (min-width: 760px) {
  .about-list--benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .about-list--benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Client corrections: areas / benefit groups / certs / callout cards */
.about-areas-list {
  display: grid;
  gap: .65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 720px) {
  .about-areas-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .about-areas-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.about-areas-list li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  align-items: center;
  gap: .7rem;
  min-width: 0;
  padding: .75rem .9rem;
  border: 1px solid rgba(26,36,32,.1);
  border-radius: .9rem;
  background: #f7faf6;
  font-weight: 700;
  line-height: 1.4;
  color: #1a2420;
}
.about-areas-list li::before { content: none; }
.about-areas-list .home-areas__icon {
  display: block;
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}
.about-benefit-groups {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 900px) {
  .about-benefit-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.about-benefit-group {
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(26,36,32,.1);
  border-radius: 1rem;
  background: #f7faf6;
}
.about-benefit-group h3 {
  margin: 0 0 .7rem;
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}
.about-benefit-group ul {
  margin: 0;
  padding-left: 1.15rem;
  list-style: disc;
}
.about-benefit-group li {
  margin: .4rem 0;
  line-height: 1.5;
  color: rgba(26,36,32,.86);
  display: list-item;
}
.about-cert-grid {
  display: grid;
  gap: .85rem;
}
@media (min-width: 720px) {
  .about-cert-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.about-cert-card {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  align-items: center;
  gap: .95rem;
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid rgba(26,36,32,.12);
  border-radius: 1rem;
  background: #fff;
  color: #1a2420;
  text-align: left;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  line-height: 1.4;
  cursor: pointer;
}
.about-cert-card:hover { border-color: #2f6b4f; }
.about-cert-card__thumb {
  display: block;
  width: 4.75rem;
  height: 6.35rem;
  object-fit: cover;
  object-position: top center;
  border: 1px solid rgba(26,36,32,.1);
  border-radius: .55rem;
  background: #f4f7f4;
  box-shadow: 0 6px 14px rgba(20,32,24,.08);
}
.about-cert-card__copy {
  display: block;
  min-width: 0;
}
.about-cert-card__copy span {
  display: block;
  margin-top: .35rem;
  font-weight: 600;
  font-size: .92rem;
  color: rgba(26,36,32,.65);
}
.about-cert-card__copy span strong {
  font-weight: 800;
  color: #1a2420;
}

#preporaki .tips-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
}
#preporaki .tips-grid li {
  display: grid;
  gap: .45rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid rgba(26, 36, 32, .1);
  border-radius: 1.25rem;
  background: #fcfaf6;
}
#preporaki .tips-grid strong {
  font-family: "Sofia Sans Condensed", sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #214632;
}
#preporaki .tips-grid p {
  margin: 0;
  font-size: .98rem;
  line-height: 1.55;
  color: rgba(26, 36, 32, .7);
}
@media (max-width: 700px) {
  #preporaki .tips-grid { grid-template-columns: 1fr; }
}
