html.no-js [style*="opacity:0"] {
  opacity: 1 !important;
  transform: none !important;
}

html.js .php-motion-ready {
  will-change: opacity, transform;
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
}

html.js .php-motion-visible {
  opacity: 1 !important;
  transform: none !important;
}

button[aria-label^="Switch to"] {
  flex: 0 0 auto;
  min-width: 3.5rem;
  white-space: nowrap;
}

button[aria-label^="Switch to"] svg {
  flex: 0 0 auto;
}

.php-scenario-background,
.php-scenario-content {
  transition: opacity .45s cubic-bezier(.16, 1, .3, 1), transform .55s cubic-bezier(.16, 1, .3, 1) !important;
}

.php-scenario-switching .php-scenario-background {
  opacity: 0 !important;
  transform: scale(1.045) !important;
}

.php-scenario-switching .php-scenario-content {
  opacity: 0 !important;
  transform: translateX(-1.5rem) !important;
}

.php-scenario-tab:not(.is-active) {
  background: transparent !important;
  color: rgba(255, 255, 255, .5) !important;
  box-shadow: none !important;
  transform: scale(.95) !important;
}

.php-scenario-tab:not(.is-active):hover {
  background: rgba(255, 255, 255, .06) !important;
  color: #fff !important;
}

.php-scenario-tab.is-active {
  background: #fff !important;
  color: #1e3a8a !important;
  box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .3) !important;
  transform: scale(1) !important;
}

.php-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  height: 100svh;
  width: 100vw;
  flex-direction: column;
  gap: 1.25rem;
  overflow-y: auto;
  background: #fff;
  padding: 1.5rem;
  animation: php-menu-in .35s cubic-bezier(.16, 1, .3, 1) both;
}

.php-mobile-menu a {
  color: #1f2937;
  font-size: 1.25rem;
  font-weight: 800;
}

.php-mobile-menu a:hover { color: #ea580c; }
.php-mobile-menu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.php-mobile-menu__title { color: #ea580c; font-size: 1.25rem; font-weight: 800; }
.php-mobile-menu__close { color: #020617; font-size: 2rem; line-height: 1; }

.php-scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
  display: grid;
  height: 3rem;
  width: 3rem;
  place-items: center;
  border-radius: 999px;
  background: #ea580c;
  color: #fff;
  box-shadow: 0 12px 35px rgba(234, 88, 12, .3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease;
}

.php-scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }

.php-toast {
  position: fixed;
  top: 6.5rem;
  left: 50%;
  z-index: 120;
  max-width: min(90vw, 42rem);
  transform: translateX(-50%);
  border: 1px solid rgba(234, 88, 12, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  padding: .9rem 1.4rem;
  color: #1e3a8a;
  font-weight: 700;
  box-shadow: 0 18px 50px rgba(2, 8, 23, .15);
  animation: php-toast 5s both;
}

[data-php-flow] { animation: php-flow 2.1s linear infinite; }
[data-php-pulse] { animation: php-pulse 2.2s ease-in-out infinite; }
circle[style*="offset-path"] { animation: php-offset 4s linear infinite; }
circle[style*="offset-path"]:nth-of-type(2) { animation-delay: -.8s; }
circle[style*="offset-path"]:nth-of-type(3) { animation-delay: -1.6s; }
circle[style*="offset-path"]:nth-of-type(4) { animation-delay: -2.4s; }

/* Heat pump cycle: on mobile the desktop SVG loop is hidden, so draw flow arrows between the stacked cards. */
@media (max-width: 1023.98px) {
  [class*="lg:grid-cols-[1fr_220px_1fr]"] { --hp-sky: #38bdf8; --hp-orange: #f97316; --hp-violet: #a78bfa; row-gap: 3.25rem; margin-right: .9rem; }
  [class*="lg:grid-cols-[1fr_220px_1fr]"] > * { position: relative; }
  [class*="lg:grid-cols-[1fr_220px_1fr]"] > :nth-child(-n+3)::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3.05rem;
    width: 3px;
    height: 2.4rem;
    margin-left: -1.5px;
    border-radius: 3px;
    background: repeating-linear-gradient(to bottom, var(--hp-c) 0 7px, transparent 7px 13px);
    background-size: 100% 13px;
    opacity: .8;
    animation: php-hp-dash .7s linear infinite;
  }
  [class*="lg:grid-cols-[1fr_220px_1fr]"] > :nth-child(-n+3)::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -3.1rem;
    width: 12px;
    height: 12px;
    margin-left: -6px;
    border-right: 3px solid var(--hp-c);
    border-bottom: 3px solid var(--hp-c);
    transform: rotate(45deg);
  }
  [class*="lg:grid-cols-[1fr_220px_1fr]"] > :nth-child(1) { --hp-c: var(--hp-sky); }
  [class*="lg:grid-cols-[1fr_220px_1fr]"] > :nth-child(2) { --hp-c: var(--hp-orange); }
  [class*="lg:grid-cols-[1fr_220px_1fr]"] > :nth-child(3) { --hp-c: var(--hp-violet); }
  /* Return line: expansion valve back to the evaporator along the right edge. */
  [class*="lg:grid-cols-[1fr_220px_1fr]"]::before {
    content: "";
    position: absolute;
    top: 4.5rem;
    bottom: 2.75rem;
    right: -.9rem;
    width: .9rem;
    border: 3px solid var(--hp-sky);
    border-left: 0;
    border-radius: 0 14px 14px 0;
    opacity: .55;
  }
  [class*="lg:grid-cols-[1fr_220px_1fr]"]::after {
    content: "";
    position: absolute;
    top: calc(4.5rem - 5px);
    right: -.25rem;
    width: 10px;
    height: 10px;
    border-left: 3px solid var(--hp-sky);
    border-bottom: 3px solid var(--hp-sky);
    transform: rotate(45deg);
  }
}

@keyframes php-hp-dash { from { background-position: 0 0; } to { background-position: 0 13px; } }
@keyframes php-menu-in { from { opacity: 0; transform: translateX(-3rem); } }
@keyframes php-pulse { 50% { opacity: .55; transform: scale(1.04); } }
@keyframes php-flow { from { transform: translateX(-130%); } to { transform: translateX(950%); } }
@keyframes php-offset { from { offset-distance: 0%; } to { offset-distance: 100%; } }
@keyframes php-toast { 0%, 100% { opacity: 0; transform: translate(-50%, -12px); } 8%, 85% { opacity: 1; transform: translate(-50%, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Home page: compact, touch-friendly phone layout without changing desktop composition. */
@media (max-width: 767.98px) {
  .php-snapshot[data-source-route="/"] header > div {
    padding-inline: 1rem;
  }

  .php-snapshot[data-source-route="/"] header .lg\:hidden {
    min-height: 4.5rem;
    padding-block: .75rem;
  }

  .php-snapshot[data-source-route="/"] main > section:first-child {
    height: 100svh;
    min-height: 42rem;
  }

  .php-snapshot[data-source-route="/"] main > section:first-child > .sticky {
    height: 100svh;
    min-height: 42rem;
  }

  .php-snapshot[data-source-route="/"] main > section:first-child video {
    object-position: 58% center;
  }

  .php-snapshot[data-source-route="/"] main > section:first-child .container {
    justify-content: center;
    padding: 7rem 1rem 2rem;
  }

  .php-snapshot[data-source-route="/"] main > section:first-child h1 {
    max-width: 22rem;
    font-size: clamp(2rem, 10vw, 2.75rem);
    line-height: 1.08;
    overflow-wrap: anywhere;
  }

  .php-snapshot[data-source-route="/"] main > section:first-child h1 + p {
    max-width: 22rem;
    margin-top: 1rem;
    font-size: .95rem;
    line-height: 1.55;
  }

  .php-snapshot[data-source-route="/"] main > section:first-child h1 + p + div {
    width: min(100%, 22rem);
    margin-top: 1.5rem;
    gap: .65rem;
  }

  .php-snapshot[data-source-route="/"] main > section:first-child h1 + p + div > a {
    min-height: 3rem;
    flex: 1 1 10rem;
    justify-content: center;
    padding: .75rem 1.1rem;
    font-size: .9rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(2) h2 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(2) .absolute.inset-0.z-10 {
    padding: 1.25rem 1rem 4.5rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(3) {
    padding-block: 5rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(3) .container,
  .php-snapshot[data-source-route="/"] main > section:nth-child(5) .container,
  .php-snapshot[data-source-route="/"] main > section:nth-child(6) .container {
    padding-inline: 1rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(3) .mb-24,
  .php-snapshot[data-source-route="/"] main > section:nth-child(3) p.mb-24 {
    margin-bottom: 3.5rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(3) .grid {
    gap: 2rem 1rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(4) {
    min-height: 48rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(4) > .container {
    min-height: 31rem;
    padding-inline: 1rem;
    padding-top: 8.5rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(4) h3 {
    gap: .5rem;
    font-size: clamp(2rem, 9vw, 2.6rem);
    line-height: 1.08;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(4) h3 svg {
    width: 2.25rem;
    height: 2.25rem;
    flex: 0 0 auto;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(4) > .relative.z-20 {
    padding: 0 1rem 1.25rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(4) .grid.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-radius: 1.25rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(4) .grid.grid-cols-2 button {
    min-height: 3rem;
    border-radius: 1rem;
    padding: .65rem .45rem;
    line-height: 1.25;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(5),
  .php-snapshot[data-source-route="/"] main > section:nth-child(6) {
    padding-block: 5rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(5) .text-center.mb-24 {
    margin-bottom: 3rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(5) h2 {
    font-size: 2rem;
    line-height: 1.15;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(5) .group {
    border-radius: 1.75rem;
    padding: 1.5rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(5) .group .mb-12 {
    margin-bottom: 2rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(5) .group p {
    font-size: 1rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(5) .group a[class*="w-64"] {
    width: min(100%, 14rem);
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(5) .group div.flex.flex-col.gap-3 {
    width: 100%;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(6) h2 {
    margin-bottom: 2rem;
  }

  .php-snapshot[data-source-route="/"] main > section:nth-child(6) .w-px {
    height: 3rem;
    margin-bottom: 2rem;
  }

  .php-snapshot[data-source-route="/"] footer {
    padding-top: 5rem;
  }

  .php-snapshot[data-source-route="/"] footer > .container {
    padding-inline: 1rem;
  }

  .php-snapshot[data-source-route="/"] footer .gap-16 {
    gap: 3rem;
  }

  .php-snapshot[data-source-route="/"] footer .mb-24 {
    margin-bottom: 4rem;
  }

  .php-snapshot[data-source-route="/"] footer .pt-12 {
    align-items: flex-start;
  }

  .php-snapshot[data-source-route="/"] footer .pt-12 > div {
    justify-content: flex-start;
    gap: 1rem;
  }

  .php-snapshot[data-source-route="/"] footer .pt-12 a {
    align-items: flex-start;
    overflow-wrap: anywhere;
  }

  .php-scroll-top {
    right: 1rem;
    bottom: max(1rem, env(safe-area-inset-bottom));
  }
}
