/* Small presentation refinements; preserve the existing brand and page order. */
.home-hero {
  margin-top: 0;
  min-height: 520px;
  padding: 144px 24px 112px;
}

.home-hero::before { height: 90px; }
.home-hero::after { height: 72px; }

.home-hero h1 {
  max-width: 900px;
  margin-bottom: 32px;
  font-size: clamp(36px, 4vw, 54px);
  line-height: 1.16;
  text-transform: none;
  text-wrap: balance;
}

.page-content .wp-block-button__link,
.limlim-request-link,
.form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 5px;
  color: var(--catalog-ink);
  line-height: 1.5;
  transition: background-color .18s ease, color .18s ease;
}

.home-hero .wp-block-button__link { border-radius: 5px; }

.assortment {
  padding-top: 48px;
  padding-bottom: 56px;
}

.assortment > h2 { margin-bottom: 16px; }
.assortment > .assortment-intro { margin-bottom: 32px; }

.about { padding: 56px 24px 72px; }
.about > h2 { margin-bottom: 20px; text-align: center; }

.about > h2,
.contact h2 {
  font-size: 36px;
  line-height: 1.25;
  text-wrap: balance;
}

.about > .intro {
  max-width: 760px;
  margin-bottom: 40px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.65;
}

.benefits { gap: 40px 48px; }
.benefit .wp-block-image { margin-bottom: 16px; }

.benefit h3 {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.4;
  text-align: left;
}

.benefit p {
  margin-bottom: 0;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--catalog-ink);
}

.price-section { padding-top: 64px; padding-bottom: 64px; }
.contact { padding-top: 72px; padding-bottom: 72px; }
.contact h2 { margin-bottom: 24px; }
.contact h3 { margin-bottom: 16px; font-size: 18px; line-height: 1.4; }

/* Only the embedded form's presentation changes; CRM settings stay in Bitrix. */
.limlim-bitrix-form .b24-form-btn {
  min-height: 48px;
  border-radius: 5px;
  background: var(--limlim-orange);
  color: var(--catalog-ink);
  font-family: inherit;
  font-weight: 700;
}

.limlim-bitrix-form .b24-form-btn:hover { background: #e77b00; }
.limlim-bitrix-form .b24-form-field-agreement-link,
.limlim-bitrix-form .b24-form-control-label,
.limlim-bitrix-form .b24-form-sign-abuse-link { color: var(--catalog-muted); }
.limlim-bitrix-form .b24-form-control-label { opacity: 1; }
/* The vendor stylesheet controls this link's opacity separately from its colour. */
.limlim-bitrix-form .b24-form-sign-abuse-link { opacity: 1 !important; }

.limlim-request-dialog .b24-form-wrapper {
  border-bottom: 0;
  box-shadow: none;
}
.limlim-request-dialog .b24-form-padding-side { padding-left: 0; padding-right: 0; }
.limlim-request-dialog .b24-form-header-padding { padding-top: 0; }

@media (max-width: 767px) {
  .home-hero { min-height: 360px; padding: 72px 20px 80px; }
  .home-hero::before { height: 48px; }
  .home-hero::after { height: 48px; }
  .home-hero h1 { font-size: clamp(30px, 8vw, 34px); margin-bottom: 28px; }

  .assortment { padding: 32px 20px 40px; }
  .assortment > h2 { margin-bottom: 16px; }
  .assortment > .assortment-intro { margin-bottom: 24px; }

  .about { padding: 40px 20px 48px; }
  .about > h2,
  .contact h2 { font-size: 30px; }
  .about > .intro { font-size: 16px; margin-bottom: 28px; }

  .benefits { max-width: none; gap: 28px; }
  .benefit {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px 16px;
    align-items: start;
  }
  .benefit .wp-block-image { grid-row: 1 / span 2; margin: 0; padding: 8px; }
  .benefit img { width: 32px; height: 32px; }
  .benefit h3 { margin: 0; font-size: 18px; }
  .benefit p { grid-column: 2; font-size: 15px; line-height: 1.65; }

  .price-section { padding: 40px 20px; }
  .price-section .container { gap: 24px; }
  .contact { padding: 48px 20px; }
}

@media (min-width: 375px) and (max-width: 480px) {
  .assortment .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .assortment .category { height: 158px; padding: 16px; }
  .assortment .category h3 { font-size: 18px; line-height: 1.3; }
  .assortment .category-price { gap: 10px; }
  .assortment .category-price .catalog-card-copy { font-size: 13px; line-height: 1.4; }
  .assortment .category-price .catalog-card-arrow { font-size: 24px; }
}

@media (max-width: 374px) {
  .assortment .category-grid { grid-template-columns: 1fr; gap: 12px; }
  .assortment .category { height: 128px; padding: 18px; }
  .assortment .category h3 { font-size: 22px; line-height: 1.3; }
  .assortment .category-price { height: auto; min-height: 128px; gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-content .wp-block-button__link,
  .limlim-request-link,
  .form-submit { transition: none; }
}
