/* STROYLOGIKA 1.1: compact single-screen desktop homepage.
   Product pages continue using the original /style.css. */
@media (min-width: 701px) {
  html:has(body.home) { min-height: 100%; }
  body.home {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    grid-template-rows: auto 1fr auto;
    overflow-x: hidden;
  }
  .home header, .home main, .home footer { width: 100%; }
  .home header { height: clamp(64px, 9svh, 88px); }
  .home header img { width: clamp(205px, 20vw, 252px); }
  .home header p { font-size: 11px; line-height: 1.5; }
  .home main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  .home h1 {
    font-size: clamp(38px, min(4.5vw, 8svh), 63px);
    line-height: 1.045;
    letter-spacing: -.05em;
    margin: 0 0 clamp(8px, 1.5svh, 13px);
  }
  .home .intro {
    font-size: clamp(13px, 1.12vw, 16px);
    line-height: 1.4;
    margin: 0 0 clamp(12px, 2.1svh, 22px);
  }
  .home .cards {
    height: clamp(225px, 40svh, 330px);
    gap: clamp(16px, 2vw, 24px);
  }
  .home .card { min-height: 0; height: 100%; padding: clamp(17px, 2.7svh, 27px); }
  .home .product-head { gap: 12px; }
  .home .product-head img { width: clamp(32px, 4.5svh, 40px); height: clamp(32px, 4.5svh, 40px); }
  .home .card h2 { font-size: clamp(22px, 3.7svh, 30px); }
  .home .card p {
    font-size: clamp(13px, 1.9svh, 16px);
    line-height: 1.45;
    margin: clamp(11px, 2svh, 17px) 0;
  }
  .home .card svg {
    width: clamp(170px, 21vw, 250px);
    height: auto;
    bottom: 25px;
    right: -20px;
  }
  .home .action { font-size: clamp(12px, 1.9svh, 16px); padding-top: 5px; }
  .home .address { font-size: 11px; margin-top: 8px; }
  .home footer { padding-top: clamp(8px, 1.5svh, 14px); padding-bottom: clamp(9px, 1.6svh, 16px); }
}
/* Keep small and narrow screens readable: no cropping to force a one-screen fit. */
@media (max-width: 700px) {
  .home h1 { font-size: clamp(38px, 11vw, 52px); line-height: 1.1; }
}
@media (min-width: 701px) and (max-height: 570px) {
  body.home { min-height: 570px; }
}
