/* 2026-10-10 — mobile landing-page first screen (Google Ads LP experience).
   Hero = .lp-hero (block_4x/5x/serv_1 templates), form column = .lp-hero-form.
   Loaded after media.css via config/frontend.php. */

@media (max-width: 767px) {
  /* hero: compact, no 216 KB background PNG on phones (was the LCP element) */
  .lp-hero.cover-bg {
    padding-top: 18px !important;
    padding-bottom: 20px !important;
    background-image: linear-gradient(160deg, #1d3461 0%, #223d70 55%, #1a2f57 100%) !important;
  }
  .lp-hero .first-blk-title {
    font-size: 24px;
    line-height: 1.2;
  }
  .lp-hero .seo-first-block {
    margin-top: 12px;
  }
  .lp-hero .seo-first-block ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
  }
  .lp-hero .seo-first-block ul li {
    margin-top: 4px;
  }
  .lp-hero .seo-first-block ul li span,
  .lp-hero .seo-first-block p {
    font-size: 15px !important;
    line-height: 1.35;
  }
  .lp-hero .seo-text ul li::before {
    top: 2px;
  }
  /* the hero body is a selling summary — on a phone only its first element (a list of
     max 4 lines, or one paragraph); long SEO copy pasted into the hero stays on desktop */
  .lp-hero .seo-first-block > :nth-child(n+2),
  .lp-hero .seo-first-block ul li:nth-child(n+5) {
    display: none;
  }
  /* phone + messengers in one row */
  .lp-hero .footer-social {
    margin-top: 14px;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 12px;
  }
  .lp-hero .footer-social .headline-5 {
    font-size: 19px;
  }
  .lp-hero .footer-social .tablet-mt5 {
    margin-top: 0;
  }
  .lp-hero .tablet-width-icon {
    width: 38px;
    height: 38px;
  }
  /* form right below */
  .lp-hero .lp-hero-form {
    margin-top: 16px !important;
  }
  .lp-hero .lp-hero-form form {
    padding: 18px 16px !important;
  }
  .lp-hero .lp-hero-form .headline-4 {
    font-size: 19px !important;
    line-height: 1.25;
  }
  .lp-hero .lp-hero-form .form-field-items {
    margin-top: 12px;
  }
  .lp-hero .lp-hero-form .box-form-field {
    margin-top: 10px !important;
  }
  .lp-hero .lp-hero-form label {
    font-size: 14px !important;
  }
  .lp-hero .lp-hero-form .uk-input,
  .lp-hero .lp-hero-form .uk-select {
    height: 44px !important;
  }
  .lp-hero .lp-hero-form textarea {
    min-height: 64px;
    height: 64px;
  }

  /* bottom: one bar only. The old dark bar (z 1000) covered the green "Zavolat" bar (z 990). */
  .footer-absolute {
    display: none !important;
  }

  /* cookie notice: slim strip above the contact bar instead of a 140 px card */
  .cookies-box {
    flex-direction: row !important;
    align-items: center;
    left: 0;
    transform: none;
    width: 100%;
    bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    padding: 8px 10px;
    gap: 8px;
    box-shadow: 0 -4px 14px rgba(16, 24, 40, .12);
  }
  .cookies-text {
    font-size: 11px !important;
    line-height: 1.25 !important;
    margin: 0 !important;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .cookies-buttons {
    margin-top: 0 !important;
    width: auto !important;
    flex-direction: column;
    gap: 4px;
  }
  .cookies-buttons button {
    width: auto !important;
    height: 26px;
    font-size: 12px;
    padding: 0 10px;
  }
}

/* price/trust line under the hero list (all viewports) */
.lp-hero-usp {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 18px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}
.lp-hero-usp span {
  white-space: nowrap;
}
@media (max-width: 767px) {
  .lp-hero-usp {
    margin-top: 10px;
    font-size: 14px;
    gap: 4px 12px;
  }
}
@media (max-width: 1024px) {
  .tablet-text-align-center .lp-hero-usp,
  .lp-hero .tablet-order-3 + .lp-hero-usp {
    justify-content: center;
  }
}
