/* Scoped to the homepage, loaded after the shared stylesheet. */
@media (max-width: 760px) {
  .home-page .hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    height: auto;
    min-height: 0;
    padding: 12px 16px 8px;
  }
  .home-page .hero-copy { flex: none; width: 100%; }
  .home-page .hero-brandline { gap: 10px; }
  .home-page .hero-brandline > div:not(.hero-brand-social) { flex: 1; min-width: 0; }
  .home-page .hero h1 { display: block; font-size: 16px; line-height: 1.15; white-space: normal; }
  .home-page .hero-logo { width: 42px; }
  .home-page .hero-brand-social { gap: 6px; }
  .home-page .hero-brand-social .hero-social-icon { width: 30px; height: 30px; }
  .home-page .hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 14px;
    overflow: visible;
    padding: 5px 0 0;
  }
  .home-page .hero-actions > a:not(.hero-social-icon) { font-size: 13px; min-height: 38px; padding: 0 2px; }
  .home-page .hero-google-score { display: none; }
  .home-page .home-search-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    height: auto;
    min-height: calc(100svh - 145px);
    padding: 38px 20px 24px;
    overflow: visible;
  }
  .home-page .home-search-gallery::after {
    background: linear-gradient(180deg, rgba(6,35,57,.58), rgba(6,35,57,.3) 65%, rgba(6,35,57,.75));
  }
  .home-page .home-search-message {
    position: relative;
    inset: auto;
    width: 100%;
    max-width: 420px;
    margin: 0;
    transform: none;
  }
  .home-page .home-search-message h2 {
    max-width: 390px;
    font-size: clamp(30px, 8.5vw, 40px);
    line-height: 1.08;
    white-space: normal;
    text-wrap: balance;
  }
  .home-page .home-search-message h2 span { color: #ffdb4d; }
  .home-page .home-search-message p {
    max-width: 100%;
    margin: 20px auto 0;
    padding: 14px 12px;
    font-size: 16px;
    line-height: 1.5;
    background: rgba(6,35,57,.55);
  }
  .home-page .home-search-message p span { display: block; }
  .home-page .home-search-message p br { display: none; }
  .home-page .home-search-message p::before { display: none; }
  .home-page .home-search-inner { margin-top: 22px; }
  .home-page .home-search-panel { max-width: 100%; width: 100%; padding: 0; margin: 0; }
  .home-page .home-search-actions { flex-direction: column; width: 100%; gap: 10px; }
  .home-page .home-search-actions > a { width: 100%; min-width: 0; min-height: 50px; flex: 0 0 50px; font-size: 14px; }
  .home-page .home-search-estimate { background: rgba(6,35,57,.4); }
  .home-page .home-whatsapp-contact {
    position: relative;
    inset: auto;
    order: 2;
    width: auto;
    min-height: 46px;
    padding: 0 20px;
    margin-top: auto;
    font-size: 14px;
    z-index: 2;
  }
  .home-page .home-address {
    position: relative;
    inset: auto;
    order: 3;
    max-width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    margin-top: -12px;
    font-size: 12px;
    line-height: 1.4;
    z-index: 2;
  }
}
