/*
 * Local B2B design candidate, 2026-08-23.
 * Narrow responsive refinements only; no content, route or dependency changes.
 */

/* Keep the value proposition and primary action inside a short desktop viewport. */
@media (max-height: 800px) and (min-width: 701px) {
  .home-shell .hero-copy {
    padding-top: 32px;
    padding-bottom: 28px;
  }

  .home-shell .hero-copy h1 {
    margin-top: 24px;
    font-size: clamp(58px, 5.3vw, 76px);
    line-height: 0.82;
  }

  .home-shell .hero-copy > div {
    gap: 16px 28px;
    margin-top: 26px;
    padding-top: 0;
  }

  .home-shell .hero-copy > div > p {
    font-size: 14px;
    line-height: 1.5;
  }

  .home-shell .hero-note {
    margin-top: 0;
    line-height: 1.4;
  }

  .hero-signature {
    top: 20%;
  }
}

@media (max-height: 800px) and (min-width: 961px) {
  .home-shell .hero-copy > div {
    grid-template-columns: minmax(240px, 1fr) auto;
  }

  .home-shell .hero-note {
    grid-column: 1 / -1;
  }
}

/* Keep consent in the quiet upper part of the portrait on desktop. */
@media (min-width: 701px) {
  .cookie-notice {
    top: 106px;
    right: max(20px, calc((100% - 1320px) / 2));
    bottom: auto;
    width: min(430px, calc(100% - 40px));
    padding: 12px 14px;
  }

  .cookie-notice p {
    font-size: 12.5px;
    line-height: 1.4;
  }

  .cookie-banner__actions {
    min-width: 112px;
  }
}

/* A labelled call action is clearer than an isolated diagonal arrow on mobile. */
@media (max-width: 700px) {
  .site-header {
    gap: 12px;
  }

  .header-call {
    width: auto;
    min-width: 78px;
    padding: 0 10px;
    gap: 6px;
  }

  .header-call::before {
    content: "Звонок";
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.04em;
  }
}
