/* The image remains a full hero backdrop on desktop. Mobile gets a quiet
   reading area and its own photographic band, joined by a soft navy fade. */
.rr-hero-scene { display: contents; }
@media (max-width: 767px) {
  body.upgrade-page .rr-premium-hero {
    position: relative; background: #031b2a; min-height: 0;
    overflow: hidden; isolation: isolate;
  }
  body.upgrade-page .rr-premium-hero::before {
    content: ''; display: block; position: absolute; pointer-events: none;
    inset: 120px 0 auto auto; width: min(100%,450px); height: 540px;
    background: url('/assets/upgrade/hero-roof-contour.svg') right top / 100% 100% no-repeat;
    opacity: .42; clip-path: none; z-index: -1;
  }
  body.upgrade-page .rr-premium-hero::after { display: none; }
  body.upgrade-page .rr-premium-hero .u-hero-content {
    width: 100%; max-width: 560px; padding: 0;
    position: relative; z-index: 3; margin-inline: auto;
  }
  body.upgrade-page .rr-premium-hero .rr-service-hero__layout {
    position: relative; z-index: 3; padding-top: 24px; padding-bottom: 0;
  }
  body.upgrade-page .u-home-consultation-hero.rr-premium-hero .u-hero-content {
    width: calc(100% - 40px); padding: 28px 0 0;
  }
  body.upgrade-page .rr-premium-hero h1 {
    font-size: clamp(31px,8.6vw,40px); line-height: 1.07;
    letter-spacing: -.043em; max-width: 560px; text-wrap: balance;
  }
  body.upgrade-page .rr-premium-hero .u-breadcrumb {
    margin-bottom: 16px; color: #9db9cc; font-size: 10px; line-height: 1.6;
  }
  body.upgrade-page .rr-premium-hero .u-breadcrumb a { color: #cce3f3; }
  body.upgrade-page .rr-premium-hero .u-eyebrow {
    color: #29b6ff; font-size: 10px; letter-spacing: .12em;
    margin: 0 0 12px; line-height: 1.5;
  }
  body.upgrade-page .rr-premium-hero .u-lead {
    max-width: 440px; color: #cfdfeb; font-size: 14.5px;
    line-height: 1.6; margin: 16px auto 0; text-wrap: pretty;
  }
  body.upgrade-page .rr-premium-hero .u-actions {
    width: 100%; justify-content: center; align-items: center;
    gap: 10px; margin-top: 22px; flex-direction: column;
  }
  body.upgrade-page .rr-premium-hero .u-actions .u-btn,
  body.upgrade-page .rr-premium-hero .u-actions .u-phone-text {
    width: min(100%,360px); min-height: 48px; border-radius: 10px;
    font-size: 13px; justify-content: center; padding: 12px 18px;
  }
  body.upgrade-page .rr-premium-hero .u-actions .u-btn:not(.u-btn-outline) {
    background: linear-gradient(135deg,#0075d8,#0066cc);
    border: 1px solid #36afff88; box-shadow: 0 7px 24px #008bff24,inset 0 1px #ffffff24;
  }
  body.upgrade-page .rr-premium-hero .u-actions .u-btn:not(.u-btn-outline) .u-icon {
    width: 24px; height: 24px; padding: 4px; border: 1px solid #ffffff8a; border-radius: 50%;
  }
  body.upgrade-page .rr-premium-hero .u-actions .u-btn-outline,
  body.upgrade-page .rr-premium-hero .u-actions .u-phone-text {
    color: #e7f4fc; background: #06283b; border: 1px solid #2b688b;
    box-shadow: inset 0 1px #ffffff0c; text-decoration: none;
  }
  body.upgrade-page .rr-premium-hero .u-actions .u-phone-text svg { width: 17px; height: 17px; color: #38b9ff; }
  body.upgrade-page .rr-premium-hero .rr-hero-scene {
    display: block; position: relative; height: clamp(290px,78vw,350px);
    width: 100%; margin-top: -18px; z-index: 1;
    overflow: hidden; background: #031b2a;
  }
  body.upgrade-page .rr-premium-hero .rr-hero-scene .u-hero-image {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: var(--rr-mobile-focal,60% 42%);
    opacity: 1; z-index: 0;
  }
  body.upgrade-page .u-home-consultation-hero .rr-hero-scene .u-hero-image {
    object-position: 74% 50%; height: calc(100% - 28px);
  }
  body.upgrade-page .rr-premium-hero .rr-hero-scene::after {
    content: ''; position: absolute; pointer-events: none; inset: -1px 0;
    background: linear-gradient(180deg,#031b2a 0%,#031b2ac9 10%,#031b2a00 32%,#031b2a00 63%,#031b2ac9 84%,#031b2a 100%);
    z-index: 4;
  }
  body.upgrade-page .rr-premium-hero .u-service-van {
    position: absolute; left: -8%; right: auto; bottom: 3%; top: auto;
    width: 104%; height: 80%; opacity: 1; z-index: 1; object-fit: contain;
  }
  body.upgrade-page .rr-premium-hero .u-service-worker {
    position: absolute; right: -3%; left: auto; top: auto; bottom: -20%;
    height: 108%; width: 48%; opacity: 1; z-index: 2;
    object-fit: contain; object-position: center bottom;
  }
  body.upgrade-page .rr-premium-hero .u-service-assurances--hero {
    position: absolute; inset: auto 0 12px; padding: 0;
    background: transparent; border: 0; z-index: 5;
  }
  body.upgrade-page .rr-premium-hero .u-service-assurances__list {
    width: 100%; max-width: 360px; grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 8px; padding: 10px 8px; border: 1px solid #3baaff33;
    border-radius: 16px; background: #06283bbf;
    box-shadow: 0 8px 28px #00131d33,inset 0 1px #ffffff08;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  body.upgrade-page .rr-premium-hero .u-service-assurances__badge {
    width: 100%; max-width: 68px; filter: drop-shadow(0 3px 7px #00102033);
  }
}
@media (max-width: 359px) {
  body.upgrade-page .rr-premium-hero .u-lead { font-size: 14px; }
  body.upgrade-page .rr-premium-hero .rr-hero-scene { height: 290px; }
  body.upgrade-page .rr-premium-hero .u-service-assurances__list { gap: 6px; padding: 9px 7px; }
}
