/* Home page mobile hero fix only. Loaded only on index.html after the shared stylesheet. */
@media (max-width: 760px) {
  body.home-premium .hp-hero-clean,
  body.home-premium .hp-hero-clean * ,
  body.home-premium .hp-hero-clean *::before,
  body.home-premium .hp-hero-clean *::after {
    box-sizing: border-box;
  }

  body.home-premium .hp-hero-clean {
    width: 100%;
    max-width: 100%;
    padding: 22px 0 34px;
    overflow: hidden;
    isolation: isolate;
  }

  body.home-premium .hp-hero-clean::before,
  body.home-premium .hp-hero-clean::after {
    left: 0;
    right: 0;
    width: auto;
    max-width: 100%;
    transform: none;
  }

  body.home-premium .hp-hero-clean .container {
    width: calc(100% - 24px);
    max-width: calc(100% - 24px);
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  body.home-premium .hp-hero-clean-grid {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.home-premium .hp-hero-visual-clean {
    order: 1;
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 286px;
    max-height: 312px;
    margin: 0 auto;
    overflow: hidden;
    transform: none;
  }

  body.home-premium .hp-hero-content {
    order: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    transform: none;
  }

  body.home-premium .hp-photo-bg-clean {
    left: 50%;
    right: auto;
    bottom: 0;
    width: min(100%, 300px);
    max-width: 100%;
    height: 266px;
    transform: translateX(-50%);
    border-radius: 28px;
  }

  body.home-premium .hp-hero-photo-clean {
    display: block;
    width: auto;
    max-width: 100%;
    height: 330px !important;
    max-height: 330px !important;
    margin: 0 auto;
    object-fit: contain;
    object-position: bottom center;
    transform: none;
  }

  body.home-premium .hp-clean-card,
  body.home-premium .hp-floating-card,
  body.home-premium .hp-flow-card {
    display: none;
  }

  body.home-premium .hp-title-clean {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 0 14px;
    font-size: clamp(31px, 8.8vw, 38px);
    line-height: 1.05;
    letter-spacing: -0.04em;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  body.home-premium .hp-lead-clean {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    font-size: 15.5px;
    line-height: 1.55;
  }

  body.home-premium .hp-actions-clean {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 18px 0 16px;
  }

  body.home-premium .hp-actions-clean .btn {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 0 16px;
    white-space: normal;
  }

  body.home-premium .hp-benefit-line {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.home-premium .hp-benefit-line span {
    max-width: 100%;
    min-width: 0;
    min-height: 32px;
    padding: 7px 11px;
    white-space: normal;
    overflow-wrap: anywhere;
    font-size: 12.5px;
  }
}

@media (max-width: 340px) {
  body.home-premium .hp-hero-clean .container {
    width: calc(100% - 20px);
    max-width: calc(100% - 20px);
  }

  body.home-premium .hp-hero-visual-clean {
    min-height: 260px;
    max-height: 286px;
  }

  body.home-premium .hp-photo-bg-clean {
    width: min(100%, 280px);
    height: 242px;
  }

  body.home-premium .hp-hero-photo-clean {
    height: 300px !important;
    max-height: 300px !important;
  }
}
