/* Homepage commercial maintenance redesign — mobile only.
   Scoped to #commercial-section so service pages/desktop stay untouched. */
@media (max-width: 767px) {
  #commercial-section > .relative.overflow-hidden {
    isolation: isolate;
    background: #020914;
  }

  /* Use the real BC Pressure Washing storefront-cleaning photo as the scene. */
  #commercial-section > .relative.overflow-hidden::before {
    content: "";
    position: absolute;
    inset: -8px;
    z-index: 0;
    background-image: url('/commercial-storefront-cleaner-mobile.webp');
    background-size: cover;
    background-position: 60% top;
    background-repeat: no-repeat;
    filter: blur(1.15px) saturate(0.9) contrast(1.02);
    transform: scale(1.018);
    transform-origin: top center;
    pointer-events: none;
  }

  /* Keep the worker visible while giving the copy/card enough contrast. */
  #commercial-section > .relative.overflow-hidden::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(90deg, rgba(2, 10, 22, 0.92) 0%, rgba(3, 13, 27, 0.76) 44%, rgba(4, 13, 25, 0.34) 76%, rgba(4, 10, 18, 0.24) 100%),
      linear-gradient(180deg, rgba(3, 10, 20, 0.18) 0%, rgba(2, 10, 20, 0.32) 24%, rgba(2, 9, 18, 0.72) 44%, rgba(1, 7, 14, 0.97) 66%, #02070d 100%);
  }

  /* Hide the old generated mobile background and its heavy overlay. */
  #commercial-section > .relative.overflow-hidden > img:first-of-type,
  #commercial-section > .relative.overflow-hidden > div:nth-of-type(1) {
    display: none !important;
  }

  #commercial-section > .relative.overflow-hidden > .container {
    position: relative;
    z-index: 4 !important;
    min-height: 0 !important;
    padding-top: 2.35rem !important;
    padding-bottom: calc(7.25rem + env(safe-area-inset-bottom)) !important;
  }

  /* Intro: editorial left alignment instead of a centered promo block. */
  #commercial-section > .relative.overflow-hidden > .container > div > div:first-child {
    max-width: none !important;
    margin: 0 0 1.25rem !important;
    text-align: left !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:first-child > span {
    position: relative;
    gap: 0 !important;
    margin-bottom: 0.85rem !important;
    padding: 0 0 0 3.25rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(226, 232, 240, 0.86) !important;
    font-size: 0.64rem !important;
    line-height: 1 !important;
    letter-spacing: 0.2em !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:first-child > span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 2.55rem;
    height: 3px;
    border-radius: 999px;
    transform: translateY(-50%);
    background: #ef2b2d;
    box-shadow: 0 0 20px rgba(239, 43, 45, 0.25);
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:first-child > span svg {
    display: none !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:first-child > h3 {
    max-width: 73%;
    margin-bottom: 0.75rem !important;
    font-size: clamp(2.15rem, 10.6vw, 2.75rem) !important;
    line-height: 0.98 !important;
    letter-spacing: -0.045em !important;
    text-wrap: balance;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:first-child > p:first-of-type {
    max-width: 72%;
    margin: 0 !important;
    color: rgba(226, 232, 240, 0.9) !important;
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.38);
  }

  /* The second paragraph made the original mobile intro too dense. */
  #commercial-section > .relative.overflow-hidden > .container > div > div:first-child > p:nth-of-type(2) {
    display: none !important;
  }

  /* Main maintenance card. */
  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) {
    margin-top: 1.15rem;
    padding: 1.15rem !important;
    border: 1px solid rgba(148, 183, 217, 0.32) !important;
    border-radius: 1.55rem !important;
    background: linear-gradient(180deg, rgba(5, 19, 35, 0.93), rgba(2, 12, 23, 0.96)) !important;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.045) !important;
    backdrop-filter: blur(14px) saturate(1.05) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.05) !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) > .grid {
    display: block !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) .flex.items-center.gap-2\.5 {
    align-items: center !important;
    margin-bottom: 0.85rem !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) .flex.items-center.gap-2\.5 > div:first-child {
    width: 3rem !important;
    height: 3rem !important;
    border: 1px solid rgba(239, 43, 45, 0.18);
    border-radius: 0.9rem !important;
    background: rgba(239, 43, 45, 0.13) !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) .text-white.font-bold.text-base {
    margin-top: 0.2rem;
    font-size: 1.12rem !important;
    line-height: 1.15 !important;
    letter-spacing: -0.018em;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) p.text-white\/90 {
    margin-bottom: 0.55rem !important;
    color: rgba(226, 232, 240, 0.82) !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
  }

  /* Turn the cramped two-column checklist into clean full-width rows. */
  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) ul.grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
    margin-top: 0.25rem;
    border-top: 1px solid rgba(148, 183, 217, 0.18);
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) ul.grid > li {
    min-height: 3rem;
    align-items: center !important;
    gap: 0.75rem !important;
    padding: 0.72rem 0.05rem !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(148, 183, 217, 0.16) !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: rgba(248, 250, 252, 0.96) !important;
    font-size: 0.79rem !important;
    line-height: 1.25 !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) ul.grid > li svg {
    width: 1.55rem !important;
    height: 1.55rem !important;
    margin-top: 0 !important;
    padding: 0.31rem;
    border-radius: 999px;
    background: #ef2b2d;
    color: white !important;
    box-shadow: 0 7px 18px rgba(239, 43, 45, 0.2);
  }

  /* Price and conversion area. */
  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) > .grid > div:last-child {
    width: 100% !important;
    margin-top: 1rem;
    padding: 1.05rem 0 0 !important;
    border-top: 1px solid rgba(148, 183, 217, 0.22) !important;
    border-left: 0 !important;
    gap: 0.8rem !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) > .grid > div:last-child > div:first-child {
    text-align: center !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) > .grid > div:last-child .text-4xl {
    font-size: 3.35rem !important;
    line-height: 0.95 !important;
    letter-spacing: -0.055em !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) > .grid > div:last-child .text-\[11px\].text-white\/75 {
    max-width: 19rem;
    margin: 0.55rem auto 0 !important;
    color: rgba(203, 213, 225, 0.72) !important;
    font-size: 0.68rem !important;
    line-height: 1.45 !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) button {
    min-height: 3.55rem !important;
    border-radius: 0.95rem !important;
    background: linear-gradient(135deg, #f42e31, #dc2528) !important;
    font-size: 1rem !important;
    box-shadow: 0 14px 32px rgba(224, 39, 39, 0.28) !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(2) a[href="/commercial-maintenance"] {
    margin-top: -0.1rem;
    color: rgba(226, 232, 240, 0.72) !important;
    font-size: 0.76rem !important;
  }

  /* Proof strip: lighter, flatter, less competing chrome. */
  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(3) {
    margin-top: 0.75rem !important;
    gap: 0 !important;
    overflow: hidden;
    border: 1px solid rgba(148, 183, 217, 0.16);
    border-radius: 1rem;
    background: rgba(3, 13, 25, 0.58);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(3) > div {
    min-width: 0;
    min-height: 4.1rem;
    padding: 0.62rem 0.32rem !important;
    gap: 0.35rem !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(3) > div + div {
    border-left: 1px solid rgba(148, 183, 217, 0.13) !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(3) > div > div:first-child {
    width: 1.75rem !important;
    height: 1.75rem !important;
    border-radius: 0.55rem !important;
    background: rgba(239, 43, 45, 0.11) !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(3) .text-white.font-extrabold {
    font-size: 0.78rem !important;
  }

  #commercial-section > .relative.overflow-hidden > .container > div > div:nth-child(3) .text-white\/65 {
    font-size: 0.58rem !important;
    line-height: 1.15 !important;
  }
}
