/*----------------------------------------*/
/*  Product detail pages (/products/{slug})
/*  Shared by every page rendered from config/products.php
/*----------------------------------------*/

.pd-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.pd-breadcrumb a {
  color: var(--primary-red);
  text-decoration: none;
  transition: 0.3s;
}

.pd-breadcrumb a:hover {
  color: var(--theme-blue-color);
}

.pd-breadcrumb__sep {
  color: rgba(0, 0, 0, 0.3);
}

.pd-breadcrumb__current {
  color: var(--color-default);
}

.product-detail-hero .page-title-box .title {
  font-size: 55px;
  line-height: 68px;
}

.pd-hero-tagline {
  margin-top: 18px;
  max-width: 640px;
  font-size: 18px;
  line-height: 30px;
  color: var(--color-default);
}

@media (max-width: 991px) {
  .product-detail-hero .page-title-box .title {
    font-size: 30px;
    line-height: 42px;
  }

  .pd-hero-tagline {
    font-size: 16px;
    line-height: 26px;
  }
}

/* ---------- overview ---------- */
.pd-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-red);
  background: rgba(237, 27, 36, 0.08);
  border-radius: 50px;
}

.pd-media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  background: #f4f6f9;
  box-shadow: 0 18px 40px rgba(12, 13, 33, 0.08);
}

/* The frame takes its height from the picture rather than imposing one. The
   overview image is a labelled diagram, so a fixed height with object-fit:
   cover was trimming the callouts off its edges. */
.pd-media__img {
  width: 100%;
  height: auto;
  display: block;
}

.pd-overview__text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 28px;
  color: var(--color-default);
}

.pd-highlights {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pd-highlights li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--theme-blue-color);
  background: #fff;
  border: 1px solid rgba(33, 40, 119, 0.12);
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pd-highlights li img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.pd-overview__btn {
  margin-top: 34px;
}

@media (max-width: 991px) {
  .pd-media {
    max-width: 620px;
    margin-inline: auto;
  }
}

/* ---------- key features ---------- */
.pd-features {
  background: #f7f9fc;
}

.pd-feature-card {
  height: 100%;
  padding: 34px 30px 30px;
  background: var(--color-white);
  border: 1px solid rgba(33, 40, 119, 0.08);
  border-radius: 14px;
  transition: 0.4s var(--easing);
}

.pd-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(237, 27, 36, 0.2);
  box-shadow: 0 20px 34px rgba(12, 13, 33, 0.1);
}

.pd-feature-card__icon {
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(237, 27, 36, 0.08);
  border-radius: 12px;
}

.pd-feature-card__icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.pd-feature-card__title {
  margin-bottom: 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 28px;
  color: var(--theme-blue-color);
}

.pd-feature-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 26px;
  color: var(--color-default);
}

/* ---------- key features: one swipeable row ---------- */
.pd-features__slider {
  overflow: hidden;
  /* room for the cards' hover shadow, which the overflow would otherwise clip */
  margin-left: -12px;
  margin-right: -12px;
  padding: 12px;
}

/* Equal-height cards without percentage heights. Swiper ships
   .swiper-wrapper{height:100%} and .swiper-slide{height:100%}; combined with
   .pd-feature-card{height:100%} that chain resolves circularly and blows the
   slide up to the viewport height, so every level is pinned to auto and the
   flexbox does the equalising instead. */
.pd-features__slider .swiper-wrapper {
  height: auto;
  align-items: stretch;
}

.pd-features__slider .swiper-slide {
  height: auto;
  display: flex;
}

.pd-features__slider .pd-feature-card {
  height: auto;
  width: 100%;
}

/* arrows sit at the right of the section heading */
.pd-features__head {
  position: relative;
}

.pd-features__controls {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 12px;
}

.pd-features__nav {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--theme-blue-color);
  background: #fff;
  border: 1px solid rgba(33, 40, 119, 0.14);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 26, 52, 0.07);
  transition: 0.3s var(--easing);
}

.pd-features__nav svg {
  width: 20px;
  height: 20px;
}

.pd-features__nav:hover:not(.swiper-button-disabled),
.pd-features__nav:focus-visible {
  color: #fff;
  background: var(--primary-red);
  border-color: var(--primary-red);
  box-shadow: 0 8px 20px rgba(237, 27, 36, 0.26);
}

.pd-features__nav.swiper-button-disabled {
  opacity: 0.4;
  cursor: default;
}

/* ---------- key features: slide in from the right ----------
   Runs once, when the section is first scrolled into view. An animation rather
   than a transition so it cannot clash with the cards' own hover transitions. */
.pd-features--reveal .pd-feature-card {
  opacity: 0;
}

.pd-features--reveal.is-inview .pd-feature-card {
  animation: pd-feature-in 0.7s var(--easing) both;
  animation-delay: calc(var(--i, 0) * 90ms);
}

@keyframes pd-feature-in {
  from {
    opacity: 0;
    transform: translateX(56px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-features--reveal .pd-feature-card {
    opacity: 1;
  }

  .pd-features--reveal.is-inview .pd-feature-card {
    animation: none;
  }
}

/* ---------- feature cards: corner sweep ----------
   Two corner wedges sit in the top-right and bottom-left of the card and grow
   to fill it on hover, flipping the content to read on the filled panel.
   Opt in per product with 'feature_cards' => 'sweep' in config/products.php. */
.pd-features--sweep .pd-feature-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: box-shadow 0.5s var(--easing), border-color 0.5s var(--easing);
}

.pd-features--sweep .pd-feature-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: 0 22px 40px rgba(33, 40, 119, 0.24);
}

.pd-features--sweep .pd-feature-card::before,
.pd-features--sweep .pd-feature-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 0;
  height: 0;
  transition: all 0.5s var(--easing);
}

/* Nothing shows at rest - the wedges have no size until hover, so the card
   reads as a plain panel and the fill still grows in from both corners. */
.pd-features--sweep .pd-feature-card::before {
  top: 0;
  right: 0;
  background: #2b3490;
  border-radius: 0 14px 0 100%;
}

.pd-features--sweep .pd-feature-card::after {
  bottom: 0;
  left: 0;
  background: var(--theme-blue-color);
  border-radius: 0 100% 0 14px;
}

.pd-features--sweep .pd-feature-card:hover::before,
.pd-features--sweep .pd-feature-card:hover::after {
  width: 100%;
  height: 100%;
  border-radius: 14px;
}

/* content has to survive the fill */
.pd-features--sweep .pd-feature-card__icon,
.pd-features--sweep .pd-feature-card__icon img,
.pd-features--sweep .pd-feature-card__title,
.pd-features--sweep .pd-feature-card__text {
  transition: 0.45s var(--easing);
}

/* let the fill get underway before the copy flips, so the two do not cross
   over mid-sweep */
.pd-features--sweep .pd-feature-card:hover .pd-feature-card__icon,
.pd-features--sweep .pd-feature-card:hover .pd-feature-card__icon img,
.pd-features--sweep .pd-feature-card:hover .pd-feature-card__title,
.pd-features--sweep .pd-feature-card:hover .pd-feature-card__text {
  transition-delay: 0.14s;
}

.pd-features--sweep .pd-feature-card:hover .pd-feature-card__icon {
  background: rgba(255, 255, 255, 0.16);
}

.pd-features--sweep .pd-feature-card:hover .pd-feature-card__icon img {
  filter: brightness(0) invert(1);
}

.pd-features--sweep .pd-feature-card:hover .pd-feature-card__title {
  color: #ffffff;
}

.pd-features--sweep .pd-feature-card:hover .pd-feature-card__text {
  color: rgba(255, 255, 255, 0.84);
}

@media (prefers-reduced-motion: reduce) {
  .pd-features--sweep .pd-feature-card,
  .pd-features--sweep .pd-feature-card::before,
  .pd-features--sweep .pd-feature-card::after,
  .pd-features--sweep .pd-feature-card__icon,
  .pd-features--sweep .pd-feature-card__icon img,
  .pd-features--sweep .pd-feature-card__title,
  .pd-features--sweep .pd-feature-card__text {
    transition-duration: 0.01ms;
  }
}

@media (max-width: 991px) {
  .pd-features__controls {
    position: static;
    transform: none;
    justify-content: center;
    margin-top: 22px;
  }
}

/* ---------- benefits ---------- */
.pd-benefit-card {
  position: relative;
  height: 100%;
  padding: 32px 30px 30px;
  background: var(--color-white);
  border: 1px solid rgba(33, 40, 119, 0.08);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.4s var(--easing);
}

.pd-benefit-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--primary-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s var(--easing);
}

.pd-benefit-card:hover::before {
  transform: scaleY(1);
}

.pd-benefit-card:hover {
  box-shadow: 0 20px 34px rgba(12, 13, 33, 0.08);
}

.pd-benefit-card__num {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: rgba(33, 40, 119, 0.16);
}

.pd-benefit-card__title {
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 600;
  line-height: 27px;
  color: var(--theme-blue-color);
}

.pd-benefit-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 26px;
  color: var(--color-default);
}

/* ---------- applications ---------- */
.pd-applications {
  background: #f7f9fc;
}

.pd-application-card {
  display: flex;
  gap: 18px;
  height: 100%;
  padding: 28px 26px;
  background: var(--color-white);
  border: 1px solid rgba(33, 40, 119, 0.08);
  border-radius: 14px;
  transition: 0.4s var(--easing);
}

.pd-application-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 34px rgba(12, 13, 33, 0.1);
}

.pd-application-card__icon {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 40, 119, 0.06);
  border-radius: 10px;
}

.pd-application-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.pd-application-card__title {
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
  color: var(--theme-blue-color);
}

.pd-application-card__text {
  margin: 0;
  font-size: 15px;
  line-height: 25px;
  color: var(--color-default);
}

/* ---------- applications: intro panel + grouped columns ----------
   Dark intro card on the left, two labelled columns of uses on the right, all
   inside one light panel. Opt in with 'applications_layout' => 'panel'. */
.pd-applications--panel {
  background: #f7f9fc;
}

.pd-apps {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1fr;
  gap: 26px;
  padding: 22px;
  background: #ffffff;
  border: 1px solid rgba(33, 40, 119, 0.08);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(20, 26, 52, 0.06);
}

/* ----- intro card ----- */
.pd-apps__intro {
  display: flex;
  flex-direction: column;
  padding: 38px 32px 32px;
  border-radius: 18px;
  background: linear-gradient(155deg, #2b3490 0%, var(--theme-blue-color) 58%, #161b52 100%);
}

.pd-apps__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.3vw, 36px);
  font-weight: 700;
  line-height: 1.16;
  color: #ffffff;
}

.pd-apps__title-accent {
  display: block;
  font-family: var(--font-heading-three), Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

.pd-apps__lead {
  margin: 18px 0 0;
  font-size: 15px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.74);
}

.pd-apps__cta {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 0;
  margin-block-start: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 32px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: var(--theme-blue-color);
  background: #ffffff;
  border-radius: 50px;
  transition: 0.3s var(--easing);
}

.pd-apps__cta:hover,
.pd-apps__cta:focus-visible {
  color: #ffffff;
  background: var(--primary-red);
  box-shadow: 0 10px 24px rgba(237, 27, 36, 0.3);
}

/* ----- columns ----- */
.pd-apps__col {
  padding: 16px 6px 6px 10px;
  min-width: 0;
}

.pd-apps__col-label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--theme-blue-color);
}

.pd-apps__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pd-apps__item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(33, 40, 119, 0.08);
}

.pd-apps__item:last-child {
  border-bottom: none;
  padding-bottom: 6px;
}

.pd-apps__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(33, 40, 119, 0.06);
  border-radius: 12px;
  transition: 0.35s var(--easing);
}

/* Simple line glyphs drawn inline (see _app-glyph.blade.php) rather than the
   stock icon artwork, which was too detailed to read at 24px. They inherit
   colour, so the hover state is a single property. */
.pd-apps__icon {
  color: var(--theme-blue-color);
}

.pd-apps__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.pd-apps__item:hover .pd-apps__icon {
  color: #ffffff;
  background: var(--theme-blue-color);
}

.pd-apps__body {
  display: block;
  min-width: 0;
}

.pd-apps__name {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  color: var(--theme-blue-color);
}

.pd-apps__text {
  display: block;
  font-size: 13.5px;
  line-height: 21px;
  color: var(--color-default);
}

@media (max-width: 1199px) {
  .pd-apps {
    grid-template-columns: 0.9fr 1fr 1fr;
    gap: 18px;
    padding: 18px;
  }

  .pd-apps__intro {
    padding: 30px 24px 26px;
  }

  .pd-apps__text {
    font-size: 13px;
    line-height: 20px;
  }
}

/* intro card sits above the two columns */
@media (max-width: 991px) {
  .pd-apps {
    grid-template-columns: 1fr 1fr;
  }

  .pd-apps__intro {
    grid-column: 1 / -1;
  }

  .pd-apps__cta {
    margin-top: 24px;
  }
}

@media (max-width: 575px) {
  .pd-apps {
    grid-template-columns: 1fr;
    padding: 14px;
    border-radius: 20px;
  }

  .pd-apps__intro {
    padding: 26px 22px 24px;
  }

  .pd-apps__col {
    padding: 10px 4px 0;
  }

  .pd-apps__col + .pd-apps__col {
    border-top: 1px solid rgba(33, 40, 119, 0.08);
    padding-top: 18px;
  }
}

/* ---------- technical specifications ---------- */
.pd-spec-card {
  height: 100%;
  padding: 30px 28px 22px;
  background: var(--color-white);
  border: 1px solid rgba(33, 40, 119, 0.1);
  border-radius: 14px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.pd-spec-card__title {
  margin-bottom: 18px;
  padding-bottom: 14px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--theme-blue-color);
  border-bottom: 2px solid rgba(237, 27, 36, 0.25);
}

.pd-spec-table {
  width: 100%;
  border-collapse: collapse;
}

.pd-spec-table th,
.pd-spec-table td {
  padding: 12px 0;
  font-size: 15px;
  line-height: 24px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.pd-spec-table tr:last-child th,
.pd-spec-table tr:last-child td {
  border-bottom: none;
}

.pd-spec-table th {
  width: 44%;
  padding-right: 16px;
  font-weight: 600;
  color: var(--theme-blue-color);
}

.pd-spec-table td {
  font-weight: 400;
  color: var(--color-default);
}

@media (max-width: 575px) {
  .pd-spec-table th,
  .pd-spec-table td {
    display: block;
    width: 100%;
    padding: 0;
    border-bottom: none;
  }

  .pd-spec-table th {
    padding-top: 12px;
  }

  .pd-spec-table td {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
}

/* ---------- specifications: plain numbered panels ----------
   No render alongside them, so the figures get the full width. Opt in with
   'specifications_layout' => 'panels'. */
.pd-specs--panels {
  padding: 90px 0;
  background: #ffffff;
}

.pd-specs__head {
  margin: 0 auto 42px;
  max-width: 640px;
  text-align: center;
}

.pd-specs__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.4vw, 38px);
  font-weight: 700;
  line-height: 1.16;
  color: var(--theme-blue-color);
}

.pd-specs__title-accent {
  display: block;
  color: var(--primary-red);
}

.pd-specs__lead {
  margin: 14px auto 0;
  max-width: 44em;
  font-size: 14.5px;
  line-height: 23px;
  color: var(--color-default);
}

.pd-specs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.pd-spec-panel {
  padding: 30px 28px 26px;
  background: #ffffff;
  border: 1px solid rgba(33, 40, 119, 0.09);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(20, 26, 52, 0.05);
  transition: box-shadow 0.35s var(--easing), transform 0.35s var(--easing);
}

.pd-spec-panel:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(20, 26, 52, 0.09);
}

.pd-spec-panel__head {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 16px;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(33, 40, 119, 0.08);
}

.pd-spec-panel__num {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: rgba(33, 40, 119, 0.2);
  font-variant-numeric: tabular-nums;
}

.pd-spec-panel__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--theme-blue-color);
}

.pd-spec-panel__rows {
  margin: 0;
}

/* label over value, so a long value never has to share a line with its label */
.pd-spec-panel__rows > div {
  padding: 12px 0;
  border-bottom: 1px solid rgba(33, 40, 119, 0.05);
}

.pd-spec-panel__rows > div:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.pd-spec-panel__rows dt {
  margin-bottom: 3px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9aa1b4;
}

.pd-spec-panel__rows dd {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  font-weight: 500;
  color: var(--theme-blue-color);
}

@media (max-width: 991px) {
  .pd-specs--panels {
    padding: 60px 0;
  }

  .pd-specs__head {
    margin-bottom: 32px;
  }

  .pd-specs__grid {
    gap: 18px;
  }

  .pd-spec-panel {
    padding: 26px 24px 22px;
  }
}

/*----------------------------------------*/
/*  Section copy reveal
/*  The hero's entrance animation - fade in from a blur, settling upward -
/*  reused for every section, one block at a time. Declared paused with a
/*  `both` fill so each child holds its opening frame from first paint; the
/*  observer adds .is-revealed when the block is scrolled to. Applied per
/*  block, not per word, so the copy stays plain text inside its own tag.
/*----------------------------------------*/
.pd-reveal > * {
  animation: pd-reveal 0.7s cubic-bezier(0, 0, 0.58, 1) both paused;
}

.pd-reveal.is-revealed > * {
  animation-play-state: running;
}

.pd-reveal > *:nth-child(1) {
  animation-delay: 0.05s;
}

.pd-reveal > *:nth-child(2) {
  animation-delay: 0.16s;
}

.pd-reveal > *:nth-child(3) {
  animation-delay: 0.27s;
}

.pd-reveal > *:nth-child(4) {
  animation-delay: 0.38s;
}

.pd-reveal > *:nth-child(5) {
  animation-delay: 0.49s;
}

.pd-reveal > *:nth-child(6) {
  animation-delay: 0.6s;
}

.pd-reveal > *:nth-child(7) {
  animation-delay: 0.71s;
}

.pd-reveal > *:nth-child(8) {
  animation-delay: 0.82s;
}

.pd-reveal > *:nth-child(n + 9) {
  animation-delay: 0.9s;
}

@keyframes pd-reveal {
  from {
    opacity: 0;
    filter: blur(12px);
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-reveal > * {
    animation: none;
  }
}

/*----------------------------------------*/
/*  The problem
/*  Staggered photo collage on the left, the daily annoyances on the right.
/*  Sits between the hero and the product overview.
/*----------------------------------------*/
.pprob {
  padding: 86px 0 80px;
  background: #ffffff;
}

.pprob__inner {
  display: grid;
  /* the first column is the collage's own width, so no dead space opens up
     between the two halves */
  grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

/* ----- collage -----
   A photo wall rather than a grid. Every tile is placed and shaped in
   percentages of a square box, so the whole arrangement scales as one piece.
   Tiles 2, 5 and 8 sit against the hero on purpose - the small overlaps are
   what stop it reading as a layout. Pictures are cropped to their tile, which
   is how one set of landscape photographs yields portrait and square frames. */
.pprob__collage {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
}

.pprob__shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 3px;
  background: #eef1f6;
  box-shadow: 0 8px 22px rgba(20, 26, 52, 0.13);
  transition: transform 0.45s var(--easing), box-shadow 0.45s var(--easing);
}

.pprob__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Three photographs appear twice. Each pair is framed on a different part of
   the picture as well as in a different shape, so the two read as two frames of
   the same scene rather than as the same tile printed twice. */
.pprob__shot--2 img {
  object-position: 38% center;
}

.pprob__shot--8 img {
  object-position: 78% center;
}

.pprob__shot--3 img {
  object-position: 74% center;
}

.pprob__shot--6 img {
  object-position: 16% center;
}

.pprob__shot--5 img {
  object-position: 70% center;
}

.pprob__shot--7 img {
  object-position: 22% center;
}

.pprob__shot:hover {
  z-index: 6;
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(20, 26, 52, 0.22);
}

/* hero - portrait, near the middle and the largest of them */
.pprob__shot--1 {
  left: 30%;
  top: 24%;
  width: 34%;
  aspect-ratio: 3 / 4;
  z-index: 3;
}

/* landscape, upper left */
.pprob__shot--2 {
  left: 4%;
  top: 12%;
  width: 30%;
  aspect-ratio: 4 / 3;
}

/* square, upper right */
.pprob__shot--3 {
  left: 68%;
  top: 8%;
  width: 24%;
  aspect-ratio: 1 / 1;
}

/* portrait, left */
.pprob__shot--4 {
  left: 6%;
  top: 38%;
  width: 22%;
  aspect-ratio: 3 / 4;
}

/* landscape, right */
.pprob__shot--5 {
  left: 62%;
  top: 36%;
  width: 30%;
  aspect-ratio: 4 / 3;
}

/* landscape, lower left */
.pprob__shot--6 {
  left: 2%;
  top: 71%;
  width: 26%;
  aspect-ratio: 4 / 3;
}

/* square, bottom middle */
.pprob__shot--7 {
  left: 32%;
  top: 73%;
  width: 26%;
  aspect-ratio: 1 / 1;
}

/* portrait, lower right */
.pprob__shot--8 {
  left: 62%;
  top: 62%;
  width: 22%;
  aspect-ratio: 3 / 4;
}

/* ----- content ----- */
.pprob__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-red);
  background: rgba(237, 27, 36, 0.08);
  border-radius: 50px;
}

.pprob__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.5vw, 40px);
  font-weight: 700;
  line-height: 1.16;
  color: var(--theme-blue-color);
}

.pprob__title-accent {
  color: var(--primary-red);
}

.pprob__lead {
  margin: 14px 0 0;
  max-width: 40em;
  font-size: 15px;
  line-height: 25px;
  color: var(--color-default);
}

/* One problem per line, two columns where there is room. The marker is drawn
   rather than a list bullet so it can sit level with the first line of the
   title however that wraps. */
.pprob__points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 26px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pprob__point {
  position: relative;
  padding-left: 26px;
}

.pprob__point::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(237, 27, 36, 0.14);
}

.pprob__point-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 22px;
  color: var(--theme-blue-color);
}

.pprob__point-text {
  display: block;
  margin-top: 3px;
  font-size: 13.5px;
  line-height: 21px;
  color: var(--color-default);
}


@media (max-width: 1199px) {
  .pprob__inner {
    gap: 36px;
  }

  .pprob__collage {
    max-width: 340px;
  }

}

@media (max-width: 991px) {
  .pprob {
    padding: 62px 0 58px;
  }

  /* the copy makes the point; the photographs follow it */
  .pprob__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .pprob__content {
    order: 1;
  }

  .pprob__collage {
    order: 2;
    max-width: 440px;
    margin-inline: auto;
  }
}

@media (max-width: 575px) {
  .pprob__points {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .pprob__shot {
    border-radius: 2px;
  }
}

/*----------------------------------------*/
/*  Installation - hover-reveal cards
/*  Ported from the supplied HoverRevealCards React component. Hovering the row
/*  pushes every card back; the one under the pointer comes forward. Tailwind
/*  needed `!important` to win that fight because both sets of utilities sit at
/*  the same specificity - in plain CSS the card's own rule is more specific
/*  than the row's descendant rule, so it wins on its own.
/*----------------------------------------*/
.pinst {
  background: #ffffff;
}

.pinst__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.pinst__card {
  position: relative;
  /* the card takes the photographs' own shape (1374x1145) rather than imposing
     a height, so nothing has to be cropped away to fill it */
  aspect-ratio: 1374 / 1145;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(20, 26, 52, 0.12);
  cursor: pointer;
  transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing);
}

.pinst__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* The card under the pointer lifts; the rest are left alone. The original
   port dimmed and blurred its siblings, which made the row harder to read
   rather than easier. */
.pinst__grid .pinst__card:hover,
.pinst__grid .pinst__card:focus-visible {
  transform: translateY(-10px);
  box-shadow: 0 26px 46px rgba(20, 26, 52, 0.22);
  z-index: 2;
}

.pinst__card:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
}

@media (max-width: 1199px) {
}

@media (max-width: 991px) {
  .pinst__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
  }
}

@media (max-width: 575px) {
  .pinst__grid {
    grid-template-columns: minmax(0, 1fr);
  }

}

@media (prefers-reduced-motion: reduce) {
  .pinst__card,
  .pinst__grid .pinst__card:hover,
  .pinst__grid .pinst__card:focus-visible {
    transform: none;
    transition: box-shadow 0.3s ease;
  }
}

/*----------------------------------------*/
/*  Real installations gallery
/*----------------------------------------*/
.pgal {
  background: #f7f9fc;
}

.pgal__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.pgal__cell {
  min-width: 0;
}

.pgal__item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(20, 26, 52, 0.07);
  text-decoration: none;
  transition: transform 0.4s var(--easing), box-shadow 0.4s var(--easing);
}

.pgal__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s var(--easing);
}

.pgal__caption {
  display: block;
  padding: 15px 18px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--theme-blue-color);
}

/* the magnifier sits over the picture, not the caption strip */
.pgal__zoom {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--theme-blue-color);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 14px rgba(20, 26, 52, 0.18);
  opacity: 0;
  transform: scale(0.86);
  transition: opacity 0.35s var(--easing), transform 0.35s var(--easing);
}

.pgal__zoom svg {
  width: 18px;
  height: 18px;
}

.pgal__item:hover,
.pgal__item:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(20, 26, 52, 0.13);
}

.pgal__item:hover img,
.pgal__item:focus-visible img {
  transform: scale(1.05);
}

.pgal__item:hover .pgal__zoom,
.pgal__item:focus-visible .pgal__zoom {
  opacity: 1;
  transform: scale(1);
}

.pgal__item:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 3px;
}

/* ----- modal -----
   A native <dialog>, so Escape, the backdrop and focus return are the
   browser's job rather than ours. */
.pgal__modal {
  width: min(92vw, 1000px);
  max-width: none;
  padding: 0;
  border: none;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 40px 90px rgba(10, 14, 32, 0.4);
  overflow: visible;
}

.pgal__modal::backdrop {
  background: rgba(10, 14, 32, 0.72);
  backdrop-filter: blur(3px);
}

.pgal__figure {
  margin: 0;
}

.pgal__figure img {
  display: block;
  width: 100%;
  max-height: 72vh;
  /* the whole photograph, whatever shape it is */
  object-fit: contain;
  border-radius: 16px 16px 0 0;
  background: #eef1f7;
}

.pgal__figure figcaption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  padding: 16px 22px;
  font-size: 14.5px;
  line-height: 21px;
  font-weight: 500;
  color: var(--theme-blue-color);
}

.pgal__count {
  font-size: 13px;
  font-weight: 500;
  color: #9aa1b4;
  font-variant-numeric: tabular-nums;
}

.pgal__close,
.pgal__nav {
  position: absolute;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--theme-blue-color);
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(10, 14, 32, 0.28);
  transition: transform 0.3s var(--easing), background 0.3s var(--easing);
}

.pgal__close {
  top: -18px;
  right: -18px;
  width: 40px;
  height: 40px;
}

.pgal__close svg {
  width: 18px;
  height: 18px;
}

.pgal__nav {
  top: 50%;
  width: 46px;
  height: 46px;
  margin-top: -23px;
}

.pgal__nav svg {
  width: 20px;
  height: 20px;
}

.pgal__nav--prev {
  left: -23px;
}

.pgal__nav--next {
  right: -23px;
}

.pgal__close:hover,
.pgal__nav:hover,
.pgal__close:focus-visible,
.pgal__nav:focus-visible {
  transform: scale(1.08);
  background: #f4f6fb;
}

.pgal__close:focus-visible,
.pgal__nav:focus-visible {
  outline: 2px solid var(--primary-red);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .pgal__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 34px;
  }

  /* the controls would hang off the screen where the dialog fills the width */
  .pgal__close {
    top: 10px;
    right: 10px;
  }

  .pgal__nav--prev {
    left: 10px;
  }

  .pgal__nav--next {
    right: 10px;
  }
}

@media (max-width: 575px) {
  .pgal__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pgal__figure img {
    max-height: 58vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pgal__item,
  .pgal__item img,
  .pgal__zoom,
  .pgal__close,
  .pgal__nav {
    transition: none;
  }

  .pgal__item:hover,
  .pgal__item:focus-visible,
  .pgal__item:hover img,
  .pgal__item:focus-visible img {
    transform: none;
  }
}

/*----------------------------------------*/
/*  Cross-sell to the other controller
/*  Two columns on a navy panel: the case on the left, the unit on the right.
/*----------------------------------------*/
.pcross {
  padding: 0 0 90px;
  background: #ffffff;
}

.pcross__panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 36px;
  overflow: hidden;
  padding: 52px 54px;
  border-radius: 26px;
  background: linear-gradient(135deg, #1b2270 0%, #2a3390 52%, #171d5e 100%);
  box-shadow: 0 26px 60px rgba(20, 26, 52, 0.24);
  /* the glows below paint above the gradient but under the copy */
  isolation: isolate;
}

/* ----- decoration ----- */
.pcross__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.pcross__glow--a {
  top: -30%;
  left: -6%;
  width: 46%;
  aspect-ratio: 1;
  background: rgba(97, 122, 255, 0.5);
}

.pcross__glow--b {
  right: -8%;
  bottom: -46%;
  width: 44%;
  aspect-ratio: 1;
  background: rgba(237, 27, 36, 0.34);
}

.pcross__dots {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(120% 90% at 12% 0%, #000 8%, transparent 66%);
  mask-image: radial-gradient(120% 90% at 12% 0%, #000 8%, transparent 66%);
  pointer-events: none;
}

/* ----- copy ----- */
.pcross__body {
  min-width: 0;
}

.pcross__eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 16px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
}

.pcross__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.3vw, 36px);
  font-weight: 700;
  line-height: 1.18;
  color: #ffffff;
}

.pcross__text {
  margin: 14px 0 0;
  max-width: 42em;
  font-size: 15px;
  line-height: 25px;
  color: rgba(255, 255, 255, 0.8);
}

.pcross__points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.pcross__points li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
}

.pcross__tick {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  color: #1b2270;
  background: #ffffff;
}

.pcross__tick svg {
  display: block;
  width: 11px;
  height: 11px;
  stroke-width: 3;
}

.pcross__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.pcross__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-blue-color);
  text-decoration: none;
  background: #ffffff;
  border-radius: 50px;
  box-shadow: 0 14px 30px rgba(10, 14, 40, 0.32);
  transition: transform 0.35s var(--easing), box-shadow 0.35s var(--easing);
}

.pcross__btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.35s var(--easing);
}

.pcross__btn:hover,
.pcross__btn:focus-visible {
  color: var(--theme-blue-color);
  transform: translateY(-3px);
  box-shadow: 0 20px 38px rgba(10, 14, 40, 0.4);
}

.pcross__btn:hover svg,
.pcross__btn:focus-visible svg {
  transform: translateX(4px);
}

/* the secondary of two: outlined rather than solid, so the primary still leads */
.pcross__btn--ghost {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow: none;
}

.pcross__btn--ghost:hover,
.pcross__btn--ghost:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

/* ----- the unit ----- */
.pcross__media {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* the current picture is a full-bleed illustration rather than a cut-out, so
   it needs a frame - without one it reads as a rectangle pasted on the navy */
/* sized by both limits at once so the picture keeps its own shape - a fixed
   max-height with width:100% letterboxed it inside its own frame */
.pcross__media img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 300px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 44px rgba(6, 9, 30, 0.42);
}

@media (max-width: 1199px) {
  .pcross__panel {
    gap: 26px;
    padding: 42px 36px;
  }

  .pcross__media img {
    max-height: 250px;
  }
}

@media (max-width: 991px) {
  .pcross {
    padding-bottom: 62px;
  }

  /* the copy carries the message; the unit follows it */
  .pcross__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
    padding: 36px 26px;
    text-align: center;
  }

  .pcross__text {
    margin-inline: auto;
  }

  .pcross__points,
  .pcross__actions {
    justify-content: center;
  }

  .pcross__media img {
    max-height: 220px;
  }
}

@media (max-width: 575px) {
  .pcross__points {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pcross__btn,
  .pcross__btn svg {
    transition: none;
  }

  .pcross__btn:hover,
  .pcross__btn:focus-visible {
    transform: none;
  }

  .pcross__btn:hover svg,
  .pcross__btn:focus-visible svg {
    transform: none;
  }
}

/*----------------------------------------*/
/*  Wireless page additions
/*  Numbered and accent feature cards, the wired-vs-wireless comparison,
/*  benefit icons and the specifications-on-request panel. All opt-in from
/*  config/products.php.
/*----------------------------------------*/

/* ---------- feature cards: number, line glyph, accent card ---------- */
.pd-feature-card {
  position: relative;
}

.pd-feature-card__num {
  position: absolute;
  top: 24px;
  right: 26px;
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  color: rgba(33, 40, 119, 0.1);
  font-variant-numeric: tabular-nums;
  transition: color 0.45s var(--easing);
}

.pd-feature-card__icon svg {
  width: 30px;
  height: 30px;
  color: var(--primary-red);
  stroke-width: 1.7;
  transition: color 0.45s var(--easing);
}

.pd-features--sweep .pd-feature-card:hover .pd-feature-card__num {
  color: rgba(255, 255, 255, 0.24);
}

.pd-features--sweep .pd-feature-card:hover .pd-feature-card__icon svg {
  color: #ffffff;
  transition-delay: 0.14s;
}

/* the headline feature sits already filled */
.pd-feature-card--accent,
.pd-features--sweep .pd-feature-card--accent {
  background: linear-gradient(150deg, #2b3490 0%, var(--theme-blue-color) 58%, #161b52 100%);
  border-color: transparent;
  box-shadow: 0 20px 38px rgba(33, 40, 119, 0.24);
}

.pd-feature-card--accent .pd-feature-card__icon {
  background: rgba(255, 255, 255, 0.14);
}

.pd-feature-card--accent .pd-feature-card__icon svg {
  color: #ffffff;
}

.pd-feature-card--accent .pd-feature-card__title {
  color: #ffffff;
}

.pd-feature-card--accent .pd-feature-card__text {
  color: rgba(255, 255, 255, 0.84);
}

.pd-feature-card--accent .pd-feature-card__num {
  color: rgba(255, 255, 255, 0.24);
}

/* ---------- why go wireless ---------- */
.pwhy {
  padding: 90px 0;
  background: #ffffff;
}

.pwhy__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) auto minmax(0, 1.18fr);
  align-items: center;
  gap: 0 26px;
  max-width: 1060px;
  margin: 50px auto 0;
}

.pwhy__card {
  position: relative;
  padding: 34px 32px;
  border-radius: 26px;
}

.pwhy__card--wired {
  background: #f4f5f8;
  border: 1px solid rgba(33, 40, 119, 0.08);
}

.pwhy__card--wireless {
  isolation: isolate;
  overflow: hidden;
  padding: 46px 44px;
  color: #ffffff;
  background: linear-gradient(150deg, #2b3490 0%, var(--theme-blue-color) 55%, #161b52 100%);
  box-shadow: 0 30px 60px rgba(33, 40, 119, 0.28);
}

.pwhy__card--wireless::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -90px;
  bottom: -140px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(237, 27, 36, 0.3) 0%, rgba(237, 27, 36, 0) 66%);
}

.pwhy__waves {
  position: absolute;
  z-index: -1;
  top: -80px;
  right: -80px;
  width: 280px;
  height: 280px;
  pointer-events: none;
}

.pwhy__waves span {
  position: absolute;
  inset: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  opacity: 0;
  animation: pwhy-wave 4.5s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
}

.pwhy__waves span:nth-child(2) {
  animation-delay: 1.5s;
}

.pwhy__waves span:nth-child(3) {
  animation-delay: 3s;
}

@keyframes pwhy-wave {
  0% {
    transform: scale(0.2);
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 0;
  }
}

.pwhy__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.pwhy__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #7a8296;
  background: #e5e8ef;
  border-radius: 14px;
}

.pwhy__icon svg {
  width: 24px;
  height: 24px;
}

.pwhy__card--wireless .pwhy__icon {
  width: 56px;
  height: 56px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.pwhy__card--wireless .pwhy__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.8;
}

.pwhy__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  color: #5d6578;
}

.pwhy__card--wireless .pwhy__title {
  flex: 1 1 200px;
  font-size: 24px;
  color: #ffffff;
}

.pwhy__badge {
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #ffffff;
  background: var(--primary-red);
  border-radius: 50px;
  box-shadow: 0 8px 18px rgba(237, 27, 36, 0.35);
}

.pwhy__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pwhy__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15.5px;
  line-height: 1.4;
  color: #6b7285;
}

.pwhy__card--wireless .pwhy__list {
  gap: 16px;
}

.pwhy__card--wireless .pwhy__list li {
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;
}

.pwhy__mark {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  color: #8a91a3;
  background: #e3e6ed;
  border-radius: 50%;
}

.pwhy__mark svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.4;
}

.pwhy__card--wireless .pwhy__mark {
  width: 30px;
  height: 30px;
  color: #ffffff;
  background: var(--primary-red);
  box-shadow: 0 6px 14px rgba(237, 27, 36, 0.35);
}

.pwhy__card--wireless .pwhy__mark svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.6;
}

.pwhy__vs {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--theme-blue-color);
  background: #ffffff;
  border: 1px solid rgba(33, 40, 119, 0.12);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(20, 26, 52, 0.1);
}

@media (max-width: 991px) {
  .pwhy {
    padding: 60px 0;
  }

  .pwhy__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    max-width: 560px;
    margin-top: 40px;
  }

  .pwhy__vs {
    justify-self: center;
  }
}

@media (max-width: 575px) {
  .pwhy__card {
    padding: 26px 22px;
    border-radius: 22px;
  }

  .pwhy__card--wireless {
    padding: 32px 24px;
  }

  .pwhy__card--wireless .pwhy__title {
    font-size: 21px;
  }

  .pwhy__card--wireless .pwhy__list li {
    font-size: 16px;
  }
}

/* ---------- benefits: icon cards ---------- */
.pd-benefits {
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fc 100%);
}

.pd-benefit-card {
  padding: 30px 26px 28px;
  border-radius: 20px;
  box-shadow: 0 12px 30px rgba(20, 26, 52, 0.05);
}

.pd-benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 44px rgba(20, 26, 52, 0.1);
}

.pd-benefit-card__icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  color: var(--primary-red);
  background: rgba(237, 27, 36, 0.08);
  border-radius: 16px;
  transition: color 0.4s var(--easing), background-color 0.4s var(--easing);
}

.pd-benefit-card__icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}

.pd-benefit-card:hover .pd-benefit-card__icon {
  color: #ffffff;
  background-color: var(--primary-red);
}

.pd-benefit-card__icon + .pd-benefit-card__num {
  position: absolute;
  top: 26px;
  right: 24px;
  margin: 0;
  font-size: 28px;
  color: rgba(33, 40, 119, 0.1);
}

/* ---------- specifications: on-request panel ---------- */
.pd-spec-panel--request {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  overflow: hidden;
  color: #ffffff;
  background: linear-gradient(150deg, #2b3490 0%, var(--theme-blue-color) 58%, #161b52 100%);
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(33, 40, 119, 0.22);
}

.pd-spec-panel--request:hover {
  box-shadow: 0 26px 52px rgba(33, 40, 119, 0.28);
}

.pd-spec-panel--request .pd-spec-panel__title {
  font-size: 20px;
  color: #ffffff;
}

.pd-spec-panel__request-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 14px;
}

.pd-spec-panel__request-icon svg {
  width: 24px;
  height: 24px;
}

.pd-spec-panel__request-text {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.86);
}

.pd-spec-panel__request-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 12px 20px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: var(--theme-blue-color);
  background: #ffffff;
  border-radius: 50px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.pd-spec-panel__request-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.pd-spec-panel__request-btn:hover,
.pd-spec-panel__request-btn:focus-visible {
  color: #ffffff;
  background: var(--primary-red);
}

.pd-spec-panel__request-btn:hover svg,
.pd-spec-panel__request-btn:focus-visible svg {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .pwhy__waves span {
    animation: none;
  }

  .pd-benefit-card__icon,
  .pd-spec-panel__request-btn,
  .pd-spec-panel__request-btn svg {
    transition: none;
  }
}

/*----------------------------------------*/
/*  The problem - 'slider' layout
/*  Photo cards on the left, the solution panel on the right. On wide
/*  screens the section is one screen tall.
/*  Opt in with problem.layout = 'slider' in config/products.php.
/*----------------------------------------*/
.pslide {
  --pslide-blue: #1f6fe0;
  --pslide-blue-deep: #1450c4;
  --pslide-navy: var(--theme-blue-color, #212877);
  --pslide-green: #22a45d;
  --pslide-gap: 18px;
  --pslide-header: 80px;

  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* one screen, less the fixed header that sits over it once scrolled */
  min-height: calc(100vh - var(--pslide-header));
  min-height: calc(100svh - var(--pslide-header));
  padding: 40px 0 20px;
  /* the card row reaches a little past its column so the card shadows are
     not clipped; this keeps that from ever widening the page */
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
}

.pslide > .container {
  width: 100%;
}

/* soft colour behind each column */
.pslide__glow {
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.pslide__glow--a {
  top: -120px;
  left: -140px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(31, 111, 224, 0.08) 0%, rgba(31, 111, 224, 0) 70%);
}

.pslide__glow--b {
  right: -160px;
  bottom: -180px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(31, 111, 224, 0.12) 0%, rgba(31, 111, 224, 0) 70%);
}

.pslide__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 44px;
  align-items: stretch;
}

.pslide__problems {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- headings ---------- */
.pslide__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.pslide__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pslide-blue);
}

.pslide__eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(31, 111, 224, 0.16);
}

.pslide__title,
.pslide__solution-title {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--pslide-navy);
}

.pslide__title {
  font-size: clamp(30px, 2.9vw, 44px);
}

.pslide__solution-title {
  font-size: clamp(26px, 2.3vw, 34px);
}

.pslide__title-line {
  display: block;
}

/* ---------- arrows ---------- */
.pslide__nav {
  flex: 0 0 auto;
  display: flex;
  gap: 10px;
  padding-bottom: 4px;
}

.pslide__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #8a94a6;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(20, 40, 90, 0.07);
  transition: color 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease,
    opacity 0.3s ease, transform 0.3s ease;
}

.pslide__arrow svg {
  width: 18px;
  height: 18px;
}

.pslide__arrow--next {
  color: #ffffff;
  background: linear-gradient(135deg, #2f80ed 0%, var(--pslide-blue-deep) 100%);
  border-color: transparent;
  box-shadow: 0 10px 22px rgba(31, 111, 224, 0.35);
}

.pslide__arrow:hover:not(:disabled),
.pslide__arrow:focus-visible {
  color: #ffffff;
  background: var(--pslide-navy);
  border-color: var(--pslide-navy);
  outline: none;
  transform: translateY(-2px);
}

.pslide__arrow:disabled {
  opacity: 0.45;
  cursor: default;
}

/* ---------- card row ---------- */
.pslide__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2 * var(--pslide-gap)) / 3);
  gap: var(--pslide-gap);
  /* room for the lift and the shadows, which the scroll box would clip */
  margin: -12px -18px -30px;
  padding: 12px 18px 30px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 18px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.pslide__track::-webkit-scrollbar {
  display: none;
}

.pslide__track:focus-visible {
  outline: 2px solid rgba(31, 111, 224, 0.4);
  outline-offset: 2px;
  border-radius: 18px;
}

.pslide__card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
  background: #ffffff;
  border: 1px solid #e6ecf5;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(20, 40, 90, 0.07);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

/* a red-to-blue rule that draws in along the bottom on hover */
.pslide__card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--pslide-blue));
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.3, 1);
}

.pslide__card:hover {
  transform: translateY(-6px);
  border-color: rgba(31, 111, 224, 0.2);
  box-shadow: 0 16px 30px rgba(20, 40, 90, 0.14);
}

.pslide__card:hover::after {
  transform: scaleX(1);
}

.pslide__media {
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eef3f9;
}

.pslide__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pslide__card:hover .pslide__media img {
  transform: scale(1.06);
}

.pslide__card-body {
  padding: 14px 16px 18px;
}

.pslide__card-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--pslide-navy);
}

.pslide__card-text {
  margin: 5px 0 0;
  font-size: 13.5px;
  line-height: 20px;
  color: #5e6778;
}

/* ---------- solution panel ----------
   Heading, text and the ticked list over faint water waves. The bottom
   padding leaves the waves room below the last tick. */
.pslide__solution {
  position: relative;
  align-self: center;
  padding: 36px 40px 52px;
  background: linear-gradient(145deg, #f3f7ff 0%, #e5eeff 100%);
  border: 1px solid rgba(31, 111, 224, 0.14);
  border-radius: 28px;
  box-shadow: 0 22px 50px rgba(31, 111, 224, 0.12);
}

/* faint water waves along the bottom of the panel */
.pslide__wave {
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 120' preserveAspectRatio='none'%3E%3Cpath d='M0 60 C 100 30 200 90 300 60 S 500 30 600 60 V120 H0Z' fill='%231f6fe0' fill-opacity='0.04'/%3E%3Cpath d='M0 80 C 120 55 220 105 330 80 S 520 55 600 78 V120 H0Z' fill='%231f6fe0' fill-opacity='0.05'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 100% 110px;
}

.pslide__solution-body {
  position: relative;
  z-index: 1;
}

.pslide__solution-text {
  margin: 14px 0 0;
  font-size: 16px;
  line-height: 26px;
  color: #5e6778;
}

.pslide__checks {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.pslide__checks li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--pslide-navy);
}

.pslide__check {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  color: #ffffff;
  background: var(--pslide-green);
  border-radius: 50%;
}

.pslide__check svg {
  width: 13px;
  height: 13px;
  stroke-width: 3;
}

/* short laptop screens: shorter photos and tighter spacing so the section
   still fits one screen */
@media (min-width: 992px) and (max-height: 760px) {
  .pslide {
    padding: 26px 0 14px;
  }

  .pslide__title {
    font-size: clamp(26px, 2.4vw, 34px);
  }

  .pslide__solution-title {
    font-size: clamp(22px, 2vw, 28px);
  }

  .pslide__head {
    margin-bottom: 16px;
  }

  .pslide__media {
    aspect-ratio: 16 / 10;
  }

  .pslide__solution {
    padding: 26px 30px 40px;
  }

  .pslide__solution-text {
    font-size: 14px;
    line-height: 21px;
  }

  .pslide__checks {
    gap: 8px;
    margin-top: 14px;
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .pslide__inner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 36px;
  }

  /* two cards and a glimpse of the third */
  .pslide__track {
    grid-auto-columns: calc((100% - var(--pslide-gap)) / 2.25);
  }

  .pslide__solution {
    padding: 30px 28px 46px;
  }
}

/* stacked: the section is taller than a screen here, so it is left at its
   natural height, and the bridge points down into the panel */
@media (max-width: 991px) {
  .pslide {
    display: block;
    min-height: 0;
    padding: 60px 0 40px;
  }

  .pslide__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .pslide__track {
    grid-auto-columns: calc((100% - 2 * var(--pslide-gap)) / 2.6);
  }

  .pslide__solution {
    align-self: stretch;
  }
}

@media (max-width: 575px) {
  .pslide {
    --pslide-gap: 14px;

    padding: 52px 0 36px;
  }

  .pslide__arrow {
    width: 40px;
    height: 40px;
  }

  /* one card and a glimpse of the next */
  .pslide__track {
    grid-auto-columns: 74%;
  }

  .pslide__solution {
    padding: 28px 22px 44px;
    border-radius: 22px;
  }

  .pslide__solution-text,
  .pslide__checks li {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pslide__track {
    scroll-behavior: auto;
  }

  .pslide__card,
  .pslide__card::after,
  .pslide__media img,
  .pslide__arrow {
    transition: none;
  }

  .pslide__card:hover,
  .pslide__card:hover .pslide__media img {
    transform: none;
  }
}

/*----------------------------------------*/
/*  Applications - 'gallery' layout
/*  Centred heading over a row of photo cards, five across on wide screens.
/*  Opt in with 'applications_layout' => 'gallery' in config/products.php.
/*----------------------------------------*/
.papps {
  --papps-gap: 22px;

  padding: 80px 0 84px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.papps__head {
  max-width: 720px;
  margin: 0 auto 42px;
  text-align: center;
}

.papps__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--theme-blue-color);
}

.papps__title-accent {
  color: #1f6fe0;
}

.papps__lead {
  margin: 12px 0 0;
  font-size: 15.5px;
  line-height: 25px;
  color: #5e6778;
}

/* flex rather than grid so a short last row sits centred */
.papps__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px var(--papps-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.papps__card {
  flex: 0 1 calc((100% - 4 * var(--papps-gap)) / 5);
  text-align: center;
  opacity: 0;
  transform: translateY(24px);
}

/* cards rise in one after another when the section is reached */
.papps.is-inview .papps__card {
  animation: papps-in 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.1s);
}

@keyframes papps-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.papps__media {
  margin: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #eef3f9;
  border-radius: 16px;
  box-shadow: 0 12px 26px rgba(20, 40, 90, 0.12);
  transition: transform 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.4s ease;
}

.papps__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.papps__name {
  margin: 16px 0 0;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--theme-blue-color);
  transition: color 0.3s ease;
}

.papps__card:hover .papps__media {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(20, 40, 90, 0.2);
}

.papps__card:hover .papps__media img {
  transform: scale(1.07);
}

.papps__card:hover .papps__name {
  color: #1f6fe0;
}

@media (max-width: 1199px) {
  .papps {
    --papps-gap: 16px;
  }

  .papps__name {
    font-size: 15.5px;
  }
}

@media (max-width: 991px) {
  .papps {
    padding: 60px 0 64px;
  }

  .papps__head {
    margin-bottom: 32px;
  }

  .papps__card {
    flex-basis: calc((100% - 2 * var(--papps-gap)) / 3);
  }
}

@media (max-width: 575px) {
  .papps {
    --papps-gap: 14px;

    padding: 52px 0 56px;
  }

  .papps__grid {
    row-gap: 22px;
  }

  .papps__card {
    flex-basis: calc((100% - var(--papps-gap)) / 2);
  }

  .papps__media {
    border-radius: 12px;
  }

  .papps__name {
    margin-top: 10px;
    font-size: 14.5px;
  }
}

/* no JS, or motion turned down: the cards are simply there */
@media (prefers-reduced-motion: reduce) {
  .papps__card,
  .papps.is-inview .papps__card {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .papps__media,
  .papps__media img,
  .papps__name {
    transition: none;
  }

  .papps__card:hover .papps__media,
  .papps__card:hover .papps__media img {
    transform: none;
  }
}

/*----------------------------------------*/
/*  Savings calculator
/*  Navy panel: sliders on the left, the estimate in the middle, a video card
/*  on the right. Opt in with 'savings' in config/products.php.
/*----------------------------------------*/
.psave {
  --psave-blue: #1f6fe0;
  --psave-navy: var(--theme-blue-color, #212877);
  --psave-green: #1e9e57;

  padding: 30px 0 80px;
}

.psave__panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 20px;
  overflow: hidden;
  padding: 30px;
  border-radius: 26px;
  background:
    radial-gradient(60% 90% at 12% 0%, rgba(47, 128, 237, 0.35) 0%, rgba(47, 128, 237, 0) 60%),
    radial-gradient(50% 80% at 100% 100%, rgba(47, 128, 237, 0.25) 0%, rgba(47, 128, 237, 0) 60%),
    linear-gradient(135deg, #12337f 0%, #0b2261 55%, #081a4c 100%);
  box-shadow: 0 30px 60px rgba(10, 31, 92, 0.28);
}

/* faint dot field over the navy */
.psave__panel::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  mask-image: linear-gradient(90deg, #000 0%, transparent 70%);
  pointer-events: none;
}

/* ---------- inputs ---------- */
.psave__intro {
  display: flex;
  flex-direction: column;
}

.psave__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.2vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
}

.psave__lead {
  margin: 8px 0 18px;
  font-size: 14.5px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.75);
}

.psave__controls {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: 22px 22px 18px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(3, 12, 40, 0.25);
}

.psave__field-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.psave__label {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--psave-navy);
}

.psave__pill {
  min-width: 72px;
  padding: 5px 10px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  color: var(--psave-navy);
  background: #f1f4fa;
  border: 1px solid #e1e7f1;
  border-radius: 8px;
  font-variant-numeric: tabular-nums;
}

/* ----- slider ----- */
.psave__range {
  --pct: 50%;

  display: block;
  width: 100%;
  height: 22px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.psave__range:focus {
  outline: none;
}

.psave__range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 6px;
  background: linear-gradient(90deg, var(--psave-blue) 0 var(--pct), #dfe6f1 var(--pct) 100%);
}

.psave__range::-moz-range-track {
  height: 6px;
  border-radius: 6px;
  background: #dfe6f1;
}

.psave__range::-moz-range-progress {
  height: 6px;
  border-radius: 6px;
  background: var(--psave-blue);
}

.psave__range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 5px solid var(--psave-blue);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(31, 111, 224, 0.4);
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.2s ease;
}

.psave__range::-moz-range-thumb {
  width: 12px;
  height: 12px;
  border: 5px solid var(--psave-blue);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 3px 8px rgba(31, 111, 224, 0.4);
}

.psave__range:hover::-webkit-slider-thumb,
.psave__range:focus-visible::-webkit-slider-thumb {
  transform: scale(1.15);
}

.psave__range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 5px rgba(31, 111, 224, 0.25);
}

.psave__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 12px;
  color: #7a8396;
}

/* ---------- result ---------- */
.psave__result {
  display: flex;
  flex-direction: column;
  padding: 18px 20px 14px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(3, 12, 40, 0.25);
}

.psave__result-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.psave__badge {
  padding: 9px 16px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  background: linear-gradient(135deg, #22b066 0%, var(--psave-green) 100%);
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(30, 158, 87, 0.3);
}

.psave__pager {
  display: flex;
  gap: 2px;
}

.psave__page {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  padding: 0;
  color: var(--psave-blue);
  background: none;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.psave__page svg {
  width: 15px;
  height: 15px;
}

.psave__page:hover:not(:disabled),
.psave__page:focus-visible {
  background: #eef4ff;
  outline: none;
}

.psave__page:disabled {
  opacity: 0.35;
  cursor: default;
}

.psave__rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.psave__row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid #eef1f6;
}

.psave__row:last-child {
  border-bottom: 0;
}

.psave__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.psave__icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.9;
}

.psave__icon--water {
  color: var(--psave-blue);
  background: #e8f1ff;
}

.psave__icon--water svg {
  fill: rgba(31, 111, 224, 0.2);
}

.psave__icon--power {
  color: #f59e0b;
  background: #fff4de;
}

.psave__icon--power svg {
  fill: #f59e0b;
}

.psave__icon--money {
  color: var(--psave-green);
  background: #e6f6ed;
}

.psave__figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.psave__value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--psave-navy);
  font-variant-numeric: tabular-nums;
}

.psave__caption {
  font-size: 13px;
  line-height: 1.35;
  color: #6b7385;
}

/* the second view: what the estimate assumes */
.psave__how-title {
  margin: 8px 0 8px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--psave-navy);
}

.psave__how-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.psave__how-list li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.4;
  color: #4d5566;
}

.psave__how-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--psave-blue);
}

.psave__note {
  margin: auto 0 0;
  padding-top: 8px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #8a92a3;
}

/* ---------- video card ---------- */
.psave__video {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 260px;
  overflow: hidden;
  padding: 20px;
  text-decoration: none;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(3, 12, 40, 0.3);
}

.psave__video-img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.psave__video::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 26, 76, 0.35) 0%, rgba(8, 26, 76, 0.05) 45%, rgba(8, 26, 76, 0.55) 100%);
}

.psave__video-title {
  font-family: var(--font-heading);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  line-height: 1.2;
  text-align: right;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.psave__video-title span {
  display: block;
}

.psave__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--psave-blue);
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
  transform: translate(-50%, -50%);
  transition: transform 0.35s ease;
}

.psave__play svg {
  position: relative;
  width: 24px;
  height: 24px;
  margin-left: 3px;
}

.psave__play-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  animation: psave-ring 2.4s cubic-bezier(0.2, 0.6, 0.35, 1) infinite;
}

@keyframes psave-ring {
  from {
    transform: scale(1);
    opacity: 0.9;
  }

  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

.psave__video-btn {
  align-self: center;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 8px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  color: #ffffff;
  white-space: nowrap;
  background: rgba(8, 26, 76, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  transition: background-color 0.3s ease;
}

.psave__video-btn-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--psave-navy);
  background: #ffffff;
  border-radius: 50%;
}

.psave__video-btn-icon svg {
  width: 11px;
  height: 11px;
  margin-left: 2px;
}

.psave__video:hover .psave__video-img {
  transform: scale(1.06);
}

.psave__video:hover .psave__play,
.psave__video:focus-visible .psave__play {
  transform: translate(-50%, -50%) scale(1.08);
}

.psave__video:hover .psave__video-btn,
.psave__video:focus-visible .psave__video-btn {
  background: var(--psave-blue);
}

.psave__video:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.8);
  outline-offset: 3px;
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .psave__panel {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .psave__intro {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  .psave {
    padding: 20px 0 60px;
  }

  .psave__panel {
    grid-template-columns: minmax(0, 1fr);
    padding: 22px 16px;
    border-radius: 22px;
  }

  .psave__controls {
    padding: 18px 16px 14px;
  }

  .psave__video {
    min-height: 230px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .psave__play-ring {
    animation: none;
    opacity: 0;
  }

  .psave__video-img,
  .psave__play,
  .psave__range::-webkit-slider-thumb {
    transition: none;
  }

  .psave__video:hover .psave__video-img {
    transform: none;
  }
}

/*----------------------------------------*/
/*  Applications - 'tiles' layout
/*  Left-aligned heading over photo tiles, each with a white icon and name on
/*  a dark fade along its bottom edge. Opt in with
/*  'applications_layout' => 'tiles' in config/products.php.
/*----------------------------------------*/
.ptiles {
  --ptiles-gap: 18px;

  padding: 76px 0 80px;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
}

.ptiles__head {
  max-width: 720px;
  margin-bottom: 30px;
}

.ptiles__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.6vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--theme-blue-color);
}

.ptiles__title-accent {
  color: var(--primary-red);
}

.ptiles__lead {
  margin: 10px 0 0;
  font-size: 15.5px;
  line-height: 25px;
  color: #5e6778;
}

/* flex so a short last row sits centred */
.ptiles__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ptiles-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.ptiles__tile {
  position: relative;
  isolation: isolate;
  flex: 0 1 calc((100% - 4 * var(--ptiles-gap)) / 5);
  aspect-ratio: 16 / 11;
  overflow: hidden;
  border-radius: 14px;
  background: #1c2c6b;
  box-shadow: 0 12px 26px rgba(20, 40, 90, 0.14);
  opacity: 0;
  transform: translateY(22px);
  transition: box-shadow 0.4s ease;
}

.ptiles.is-inview .ptiles__tile {
  animation: ptiles-in 0.7s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 0) * 0.09s);
}

@keyframes ptiles-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ptiles__img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* the dark fade the label sits on */
.ptiles__tile::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 22, 64, 0) 38%, rgba(8, 22, 64, 0.82) 100%);
  transition: background 0.4s ease;
}

/* no photograph yet: a navy panel with the icon drawn large */
.ptiles__tile--plain {
  background:
    radial-gradient(80% 90% at 85% 10%, rgba(47, 128, 237, 0.45) 0%, rgba(47, 128, 237, 0) 60%),
    linear-gradient(145deg, #1d3a8f 0%, #122664 100%);
}

.ptiles__art {
  position: absolute;
  z-index: -2;
  top: 12%;
  right: 8%;
  width: 46%;
  color: rgba(255, 255, 255, 0.16);
  transition: transform 0.6s ease;
}

.ptiles__art svg {
  display: block;
  width: 100%;
  height: auto;
  stroke-width: 1.2;
}

.ptiles__label {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ptiles__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: background-color 0.35s ease, border-color 0.35s ease;
}

.ptiles__icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.9;
}

.ptiles__name {
  min-width: 0;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.ptiles__tile:hover {
  box-shadow: 0 20px 36px rgba(20, 40, 90, 0.24);
}

.ptiles__tile:hover .ptiles__img,
.ptiles__tile:hover .ptiles__art {
  transform: scale(1.07);
}

.ptiles__tile:hover .ptiles__icon {
  background: var(--primary-red);
  border-color: var(--primary-red);
}

@media (max-width: 1199px) {
  .ptiles__tile {
    flex-basis: calc((100% - 2 * var(--ptiles-gap)) / 3);
  }
}

@media (max-width: 991px) {
  .ptiles {
    padding: 60px 0 64px;
  }
}

@media (max-width: 575px) {
  .ptiles {
    --ptiles-gap: 12px;

    padding: 52px 0 56px;
  }

  .ptiles__tile {
    flex-basis: calc((100% - var(--ptiles-gap)) / 2);
    border-radius: 12px;
  }

  .ptiles__label {
    left: 10px;
    right: 10px;
    bottom: 10px;
    gap: 8px;
  }

  .ptiles__icon {
    width: 28px;
    height: 28px;
  }

  .ptiles__icon svg {
    width: 16px;
    height: 16px;
  }

  .ptiles__name {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ptiles__tile,
  .ptiles.is-inview .ptiles__tile {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .ptiles__img,
  .ptiles__art,
  .ptiles__icon {
    transition: none;
  }

  .ptiles__tile:hover .ptiles__img,
  .ptiles__tile:hover .ptiles__art {
    transform: none;
  }
}

/*----------------------------------------*/
/*  Key features - 'compact' layout
/*  Left-aligned heading with a button on the right, then small cards four
/*  across: icon in a circle beside a title and one short line. Opt in with
/*  'features_layout' => 'compact' in config/products.php.
/*----------------------------------------*/
.pfeat {
  --pfeat-gap: 18px;

  padding: 72px 0 76px;
  background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 100%);
  /* land below the fixed header when jumped to from the hero */
  scroll-margin-top: 90px;
}

/* the Why Go Wireless section is a jump target too */
.pwhy {
  scroll-margin-top: 90px;
}

.pfeat__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

/* the red rule down the heading's left edge */
.pfeat__heading {
  position: relative;
  padding-left: 18px;
}

.pfeat__heading::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--primary-red) 0%, #f26a1b 100%);
}

.pfeat__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--theme-blue-color);
}

.pfeat__lead {
  margin: 8px 0 0;
  font-size: 15.5px;
  line-height: 24px;
  color: #5e6778;
}

.pfeat__cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: var(--theme-blue-color);
  background: #ffffff;
  border: 1.5px solid rgba(33, 40, 119, 0.22);
  border-radius: 50px;
  box-shadow: 0 6px 16px rgba(20, 40, 90, 0.06);
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.pfeat__cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.pfeat__cta:hover,
.pfeat__cta:focus-visible {
  color: #ffffff;
  background: var(--theme-blue-color);
  border-color: var(--theme-blue-color);
  outline: none;
}

.pfeat__cta:hover svg,
.pfeat__cta:focus-visible svg {
  transform: translateX(3px);
}

/* ---------- cards ---------- */
.pfeat__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--pfeat-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.pfeat__card {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 104px;
  padding: 18px 18px;
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(20, 40, 90, 0.06);
  /* `translate`, not `transform`: the reveal animation owns transform here */
  transition: translate 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.pfeat__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--primary-red);
  background: #fdeced;
  border-radius: 50%;
  transition: color 0.35s ease, background-color 0.35s ease;
}

.pfeat__icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.8;
}

.pfeat__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pfeat__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--theme-blue-color);
}

.pfeat__text {
  margin: 4px 0 0;
  font-size: 13.5px;
  line-height: 1.4;
  color: #5e6778;
}

.pfeat__card:hover {
  translate: 0 -4px;
  border-color: rgba(237, 27, 36, 0.2);
  box-shadow: 0 16px 30px rgba(20, 40, 90, 0.12);
}

.pfeat__card:hover .pfeat__icon {
  color: #ffffff;
  background: var(--primary-red);
}

/* the headline feature, filled navy */
.pfeat__card--accent {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(47, 128, 237, 0.35) 0%, rgba(47, 128, 237, 0) 60%),
    linear-gradient(145deg, #243a9e 0%, var(--theme-blue-color) 60%, #161b52 100%);
  border-color: transparent;
  box-shadow: 0 16px 32px rgba(33, 40, 119, 0.28);
}

.pfeat__card--accent .pfeat__icon,
.pfeat__card--accent:hover .pfeat__icon {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
}

.pfeat__card--accent .pfeat__name {
  font-size: 16.5px;
  color: #ffffff;
}

.pfeat__card--accent .pfeat__text {
  color: rgba(255, 255, 255, 0.8);
}

.pfeat__card--accent:hover {
  border-color: transparent;
  box-shadow: 0 22px 40px rgba(33, 40, 119, 0.34);
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .pfeat__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .pfeat {
    padding: 60px 0 64px;
  }
}

@media (max-width: 767px) {
  .pfeat__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
}

@media (max-width: 575px) {
  .pfeat {
    --pfeat-gap: 12px;

    padding: 52px 0 56px;
  }

  .pfeat__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pfeat__card {
    min-height: 0;
    padding: 15px 16px;
  }

  .pfeat__icon {
    width: 44px;
    height: 44px;
  }

  .pfeat__icon svg {
    width: 21px;
    height: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pfeat__card,
  .pfeat__icon,
  .pfeat__cta,
  .pfeat__cta svg {
    transition: none;
  }

  .pfeat__card:hover {
    translate: none;
  }
}

/*----------------------------------------*/
/*  FAQ
/*  Heading and a contact prompt on the left, the questions as an accordion
/*  on the right. Built on <details>, so it works without JS.
/*----------------------------------------*/
.pfaq {
  padding: 80px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f8fd 100%);
  scroll-margin-top: 90px;
}

.pfaq__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 56px;
  align-items: start;
}

/* the intro stays in view while the list scrolls past */
.pfaq__intro {
  position: sticky;
  top: 110px;
}

.pfaq__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--primary-red);
  background: rgba(237, 27, 36, 0.08);
  border-radius: 50px;
}

.pfaq__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.7vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--theme-blue-color);
}

.pfaq__title-accent {
  display: block;
  color: var(--primary-red);
}

.pfaq__lead {
  margin: 14px 0 0;
  font-size: 15.5px;
  line-height: 25px;
  color: #5e6778;
}

/* ----- contact prompt ----- */
.pfaq__help {
  position: relative;
  overflow: hidden;
  margin-top: 30px;
  padding: 26px 26px 24px;
  color: #ffffff;
  border-radius: 20px;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(47, 128, 237, 0.4) 0%, rgba(47, 128, 237, 0) 60%),
    linear-gradient(145deg, #243a9e 0%, var(--theme-blue-color) 60%, #161b52 100%);
  box-shadow: 0 20px 40px rgba(33, 40, 119, 0.24);
}

.pfaq__help-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 12px;
}

.pfaq__help-icon svg {
  width: 22px;
  height: 22px;
}

.pfaq__help-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.pfaq__help-text {
  margin: 6px 0 18px;
  font-size: 14.5px;
  line-height: 22px;
  color: rgba(255, 255, 255, 0.8);
}

.pfaq__help-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 20px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: var(--theme-blue-color);
  background: #ffffff;
  border-radius: 50px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.pfaq__help-btn svg {
  width: 17px;
  height: 17px;
  transition: transform 0.3s ease;
}

.pfaq__help-btn:hover,
.pfaq__help-btn:focus-visible {
  color: #ffffff;
  background: var(--primary-red);
  outline: none;
}

.pfaq__help-btn:hover svg,
.pfaq__help-btn:focus-visible svg {
  transform: translateX(3px);
}

/* ----- the questions ----- */
.pfaq__list {
  display: grid;
  gap: 14px;
}

.pfaq__item {
  background: #ffffff;
  border: 1px solid #e6ebf4;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(20, 40, 90, 0.05);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.pfaq__item[open] {
  border-color: rgba(31, 111, 224, 0.28);
  box-shadow: 0 16px 34px rgba(20, 40, 90, 0.1);
}

.pfaq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}

.pfaq__q::-webkit-details-marker {
  display: none;
}

.pfaq__q:focus-visible {
  outline: 2px solid rgba(31, 111, 224, 0.45);
  outline-offset: -2px;
  border-radius: 16px;
}

.pfaq__num {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: rgba(33, 40, 119, 0.3);
  font-variant-numeric: tabular-nums;
  transition: color 0.3s ease;
}

.pfaq__q-text {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--theme-blue-color);
}

/* plus that turns into a minus */
.pfaq__toggle {
  position: relative;
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef3fb;
  transition: background-color 0.3s ease, transform 0.35s ease;
}

.pfaq__toggle::before,
.pfaq__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--theme-blue-color);
  transition: transform 0.35s ease, background-color 0.3s ease;
}

.pfaq__toggle::after {
  transform: rotate(90deg);
}

.pfaq__item[open] .pfaq__num {
  color: var(--primary-red);
}

.pfaq__item[open] .pfaq__toggle {
  background: var(--primary-red);
  transform: rotate(180deg);
}

.pfaq__item[open] .pfaq__toggle::before,
.pfaq__item[open] .pfaq__toggle::after {
  background: #ffffff;
}

.pfaq__item[open] .pfaq__toggle::after {
  transform: rotate(0deg);
}

.pfaq__q:hover .pfaq__toggle {
  background: #dfe8f7;
}

.pfaq__item[open] .pfaq__q:hover .pfaq__toggle {
  background: var(--primary-red);
}

.pfaq__a {
  padding: 0 22px 20px 56px;
}

.pfaq__item[open] .pfaq__a {
  animation: pfaq-open 0.35s ease;
}

@keyframes pfaq-open {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.pfaq__a p {
  margin: 0;
  font-size: 15px;
  line-height: 25px;
  color: #5e6778;
}

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .pfaq {
    padding: 60px 0 70px;
  }

  .pfaq__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  /* stacked: heading, then the questions, then the contact prompt */
  .pfaq__intro {
    display: contents;
  }

  .pfaq__intro > .pd-reveal {
    order: 1;
  }

  .pfaq__list {
    order: 2;
  }

  .pfaq__help {
    order: 3;
    margin-top: 0;
  }
}

@media (max-width: 575px) {
  .pfaq__q {
    gap: 12px;
    padding: 16px 16px;
  }

  .pfaq__q-text {
    font-size: 15.5px;
  }

  .pfaq__toggle {
    width: 28px;
    height: 28px;
  }

  .pfaq__a {
    padding: 0 16px 16px 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pfaq__item,
  .pfaq__toggle,
  .pfaq__toggle::before,
  .pfaq__toggle::after,
  .pfaq__help-btn,
  .pfaq__help-btn svg {
    transition: none;
  }

  .pfaq__item[open] .pfaq__a {
    animation: none;
  }
}

/*----------------------------------------*/
/*  Applications - 'split' layout
/*  Heading, copy and a button on the left; photo cards three to a row on the
/*  right, each with its icon and name on a white strip under the photo.
/*  Opt in with 'applications_layout' => 'split' in config/products.php. The
/*  product's 'accent' colours the eyebrow, the heading accent and the icons.
/*----------------------------------------*/
.puses {
  --puses-accent: var(--primary-red, #ed1b24);
  --puses-gap: 18px;

  padding: 84px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  scroll-margin-top: 90px;
}

.puses__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.36fr) minmax(0, 0.64fr);
  gap: 52px;
  align-items: center;
}

/* ----- intro ----- */
.puses__eyebrow {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--puses-accent);
  /* a shade deeper, so text this small still reads against white */
  color: color-mix(in srgb, var(--puses-accent) 80%, #000);
}

.puses__title {
  margin: 0;
  font-family: var(--font-heading);
  /* holds "Water Management Needs" on one line beside the cards */
  font-size: clamp(26px, 2.15vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--theme-blue-color);
}

.puses__title-accent {
  display: block;
  color: var(--puses-accent);
}

.puses__lead {
  margin: 16px 0 0;
  max-width: 400px;
  font-size: 15.5px;
  line-height: 26px;
  color: #5e6778;
}

.puses__btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 8px 8px 8px 24px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: #ffffff;
  background: var(--theme-blue-color);
  border-radius: 50px;
  box-shadow: 0 14px 28px rgba(20, 26, 52, 0.2);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.puses__btn:hover,
.puses__btn:focus-visible {
  color: #ffffff;
  background: #2a3390;
  box-shadow: 0 18px 32px rgba(20, 26, 52, 0.26);
  outline: none;
}

.puses__btn:focus-visible {
  outline: 2px solid var(--theme-blue-color);
  outline-offset: 3px;
}

.puses__btn-arrow {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--theme-blue-color);
  background: #ffffff;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.puses__btn-arrow svg {
  width: 17px;
  height: 17px;
}

.puses__btn:hover .puses__btn-arrow,
.puses__btn:focus-visible .puses__btn-arrow {
  transform: translateX(3px);
}

/* ----- cards -----
   Six tracks, two per card. When the last row is short, its cards stretch:
   two cards take three tracks each, a single card takes all six. */
.puses__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--puses-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.puses__card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(20, 40, 90, 0.07);
  /* the reveal animates transform, so the lift uses translate */
  transition: translate 0.4s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.4s ease,
    border-color 0.4s ease;
}

.puses__card:nth-child(3n + 1):nth-last-child(2),
.puses__card:nth-child(3n + 1):nth-last-child(2) + .puses__card {
  grid-column: span 3;
}

.puses__card:nth-child(3n + 1):last-child {
  grid-column: span 6;
}

/* a fixed height rather than a ratio, so a stretched card in a short last
   row shows a wider view instead of making its row taller */
.puses__media {
  margin: 0;
  height: clamp(120px, 11vw, 158px);
  overflow: hidden;
  background: #eef3f9;
}

.puses__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.puses__label {
  display: flex;
  flex: 1 0 auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
}

.puses__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--puses-accent);
  background: #fdf1e8;
  background: color-mix(in srgb, var(--puses-accent) 11%, #ffffff);
  border-radius: 50%;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.puses__icon svg {
  width: 19px;
  height: 19px;
}

.puses__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--theme-blue-color);
}

.puses__card:hover {
  translate: 0 -5px;
  border-color: transparent;
  box-shadow: 0 20px 36px rgba(20, 40, 90, 0.14);
}

.puses__card:hover .puses__media img {
  transform: scale(1.06);
}

.puses__card:hover .puses__icon {
  color: #ffffff;
  background: var(--puses-accent);
}

/* ---------- responsive ---------- */
@media (max-width: 1199px) {
  .puses__inner {
    gap: 36px;
  }

  .puses {
    --puses-gap: 14px;
  }

  .puses__label {
    gap: 10px;
    padding: 10px 12px;
  }

  .puses__icon {
    width: 32px;
    height: 32px;
  }

  .puses__icon svg {
    width: 17px;
    height: 17px;
  }

  .puses__name {
    font-size: 14px;
  }
}

/* stacked: the intro above the cards */
@media (max-width: 991px) {
  .puses {
    padding: 64px 0;
  }

  .puses__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .puses__lead {
    max-width: 560px;
  }

  .puses__btn {
    margin-top: 22px;
  }

  .puses__media {
    height: clamp(120px, 20vw, 170px);
  }
}

/* two to a row; an odd card out takes the full width */
@media (max-width: 767px) {
  .puses__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .puses__card,
  .puses__card:nth-child(3n + 1):nth-last-child(2),
  .puses__card:nth-child(3n + 1):nth-last-child(2) + .puses__card,
  .puses__card:nth-child(3n + 1):last-child {
    grid-column: auto;
  }

  /* .puses__grid lifts it over the three-to-a-row resets above */
  .puses__grid .puses__card:nth-child(odd):last-child {
    grid-column: span 2;
  }

  .puses__media {
    height: clamp(104px, 30vw, 170px);
  }
}

@media (max-width: 575px) {
  .puses {
    --puses-gap: 12px;

    padding: 52px 0 56px;
  }

  .puses__label {
    gap: 8px;
    padding: 10px;
  }

  .puses__icon {
    width: 30px;
    height: 30px;
  }

  .puses__icon svg {
    width: 16px;
    height: 16px;
  }

  .puses__name {
    font-size: 13.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .puses__card,
  .puses__media img,
  .puses__icon,
  .puses__btn,
  .puses__btn-arrow {
    transition: none;
  }

  .puses__card:hover {
    translate: none;
  }

  .puses__card:hover .puses__media img,
  .puses__btn:hover .puses__btn-arrow {
    transform: none;
  }
}

/*----------------------------------------*/
/*  How it works - in steps
/*  A dark panel: heading, copy and a button on the left, the steps across the
/*  right with an arrow between each. Each step draws its tank (see
/*  _steps.blade.php). The number badges pulse one after another, so the eye
/*  walks the cycle. Opt in with 'steps' in config/products.php.
/*----------------------------------------*/
.psteps {
  --psteps-accent: var(--primary-red, #ed1b24);
  --psteps-gap: 34px;

  padding: 0 0 84px;
  /* carries on from the applications section's closing tint */
  background: linear-gradient(180deg, #f6f9ff 0%, #ffffff 100%);
  scroll-margin-top: 90px;
}

.psteps__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.27fr) minmax(0, 0.73fr);
  gap: 44px;
  align-items: center;
  padding: 48px 48px 44px;
  color: #ffffff;
  border-radius: 24px;
  background:
    radial-gradient(55% 90% at 100% 0%, rgba(47, 128, 237, 0.24) 0%, rgba(47, 128, 237, 0) 62%),
    radial-gradient(40% 80% at 0% 100%, rgba(234, 108, 16, 0.14) 0%, rgba(234, 108, 16, 0) 70%),
    linear-gradient(135deg, #171e48 0%, #0d1331 100%);
  box-shadow: 0 30px 60px rgba(13, 19, 49, 0.26);
}

/* ----- intro ----- */
.psteps__eyebrow {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--psteps-accent);
}

.psteps__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: #ffffff;
}

.psteps__title-line {
  display: block;
}

.psteps__title-accent {
  color: var(--psteps-accent);
}

.psteps__lead {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 24px;
  color: rgba(255, 255, 255, 0.72);
}

.psteps__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
  padding: 7px 7px 7px 20px;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 50px;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.psteps__btn-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #0d1331;
  background: #ffffff;
  border-radius: 50%;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.psteps__btn-icon svg {
  width: 15px;
  height: 15px;
}

.psteps__btn:hover,
.psteps__btn:focus-visible {
  color: #0d1331;
  background: #ffffff;
  border-color: #ffffff;
  outline: none;
}

.psteps__btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

.psteps__btn:hover .psteps__btn-icon,
.psteps__btn:focus-visible .psteps__btn-icon {
  color: #ffffff;
  background: var(--psteps-accent);
  transform: translateX(2px);
}

/* ----- steps ----- */
.psteps__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--psteps-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.psteps__step {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* a fixed height, so the tanks line up whatever the titles wrap to */
.psteps__head {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-height: 44px;
}

.psteps__num {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 30px;
  height: 30px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  background: var(--psteps-accent);
  border-radius: 8px;
  animation: psteps-turn 8s ease-out infinite;
  animation-delay: calc(var(--n, 0) * 2s);
}

@keyframes psteps-turn {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }

  14% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }

  15%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.psteps__name {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
}

.psteps__state {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
}

.psteps__figure {
  position: relative;
  margin: 14px 0 12px;
}

.psteps__tank {
  display: block;
  width: 100%;
  max-width: 172px;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

/* the glow under the tank brightens on the step's turn */
.psteps__glow {
  opacity: 0.45;
  animation: psteps-glow 8s ease-in-out infinite;
  animation-delay: calc(var(--n, 0) * 2s);
}

@keyframes psteps-glow {
  0%,
  26%,
  100% {
    opacity: 0.45;
  }

  8%,
  18% {
    opacity: 1;
  }
}

.psteps__glass {
  fill: rgba(170, 215, 255, 0.1);
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 1.4;
}

.psteps__rim-back {
  fill: rgba(255, 255, 255, 0.06);
  stroke: rgba(255, 255, 255, 0.35);
  stroke-width: 1.2;
}

.psteps__surface {
  fill: #a6e3ff;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1;
  animation: psteps-shimmer 3.4s ease-in-out infinite;
}

@keyframes psteps-shimmer {
  0%,
  100% {
    opacity: 0.7;
  }

  50% {
    opacity: 0.95;
  }
}

/* drawn light rather than black, so it reads on the dark panel */
.psteps__cable {
  fill: none;
  stroke: #cfd5e3;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.psteps__clamp {
  fill: #3a4157;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 1;
}

.psteps__rim-front {
  fill: none;
  stroke: rgba(255, 255, 255, 0.8);
  stroke-width: 1.6;
}

.psteps__shine {
  fill: none;
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 3;
  stroke-linecap: round;
}

/* a float on the water rides it gently */
.psteps__bob {
  animation: psteps-bob 3.2s ease-in-out infinite;
}

@keyframes psteps-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1.4px);
  }
}

.psteps__arrow {
  position: absolute;
  top: 50%;
  right: calc(var(--psteps-gap) / -2);
  width: 22px;
  height: 22px;
  color: rgba(255, 255, 255, 0.75);
  transform: translate(50%, -50%);
}

.psteps__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.psteps__text {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.psteps__text strong {
  font-weight: 700;
  color: #ffffff;
}

/* ---------- responsive ---------- */
/* the intro goes above the steps */
@media (max-width: 1199px) {
  .psteps__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
    padding: 44px 40px 40px;
  }

  .psteps__lead {
    max-width: 520px;
  }
}

/* two steps to a row; only the arrow inside a row stays */
@media (max-width: 991px) {
  .psteps {
    padding-bottom: 64px;
  }

  .psteps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 36px;
  }

  .psteps__step:nth-child(2n) .psteps__arrow {
    display: none;
  }
}

@media (max-width: 575px) {
  .psteps {
    --psteps-gap: 22px;

    padding-bottom: 52px;
  }

  .psteps__panel {
    padding: 32px 20px 28px;
    border-radius: 20px;
  }

  .psteps__list {
    row-gap: 28px;
  }

  .psteps__head {
    min-height: 48px;
  }

  .psteps__num {
    width: 26px;
    height: 26px;
    font-size: 13.5px;
  }

  .psteps__name {
    font-size: 13.5px;
  }

  .psteps__state {
    font-size: 12px;
  }

  .psteps__arrow {
    width: 18px;
    height: 18px;
  }

  .psteps__text {
    font-size: 12.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .psteps__num,
  .psteps__glow,
  .psteps__surface,
  .psteps__bob {
    animation: none;
  }

  .psteps__btn,
  .psteps__btn-icon {
    transition: none;
  }
}

/*----------------------------------------*/
/*  Specification icons
/*  One icon per row of the panels layout, drawn from the 'glyph' on each
/*  specification in config/products.php. The icon sits on the label line and
/*  the value lines up under the label. --pd-spec-accent carries the product's
/*  accent colour, where it sets one.
/*----------------------------------------*/
.pd-specs--panels {
  --pd-spec-accent: #1f6fe0;
}

.pd-spec-panel__rows dt {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-spec-panel__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--pd-spec-accent);
  background: #eef4fc;
  background: color-mix(in srgb, var(--pd-spec-accent) 10%, #ffffff);
  border-radius: 9px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.pd-spec-panel__icon svg {
  width: 16px;
  height: 16px;
}

/* the value lines up with the label, past the icon */
.pd-spec-panel__rows dd {
  padding-left: 38px;
}

.pd-spec-panel__rows > div:hover .pd-spec-panel__icon {
  color: #ffffff;
  background: var(--pd-spec-accent);
}

@media (max-width: 575px) {
  .pd-spec-panel__icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
  }

  .pd-spec-panel__icon svg {
    width: 15px;
    height: 15px;
  }

  .pd-spec-panel__rows dd {
    padding-left: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-spec-panel__icon {
    transition: none;
  }
}
/*----------------------------------------*/
/*  Dealership enquiry
/*  A photograph across the section: the pitch on the left over a white wash,
/*  the form card on the right. Sized so the whole band fits one screen on a
/*  laptop. Opt in with 'dealership' in config/products.php; the product's
/*  'accent' colours the eyebrow and the heading where it sets one.
/*----------------------------------------*/
.pdeal {
  --pdeal-accent: var(--primary-red, #ed1b24);
  --pdeal-blue: #1f6fe0;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0;
  background: linear-gradient(180deg, #ffffff 0%, #eef4fd 55%, #ffffff 100%);
  scroll-margin-top: 90px;
}

/* ----- the photograph ----- */
.pdeal__photo {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.pdeal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* a white wash, heaviest on the left, so the copy stays readable */
.pdeal__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.86) 34%,
    rgba(255, 255, 255, 0.55) 52%,
    rgba(255, 255, 255, 0.4) 100%
  );
}

.pdeal__panel {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.54fr);
  gap: 40px;
  align-items: center;
}

/* ----- intro ----- */
.pdeal__eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 18px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pdeal-accent);
  background: rgba(237, 27, 36, 0.1);
  background: color-mix(in srgb, var(--pdeal-accent) 10%, transparent);
  border-radius: 50px;
}

.pdeal__title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--theme-blue-color);
}

.pdeal__title-accent {
  display: block;
  color: var(--pdeal-accent);
}

.pdeal__lead {
  margin: 14px 0 0;
  max-width: 400px;
  font-size: 15.5px;
  line-height: 26px;
  color: #4b5563;
}

/* ----- contact details ----- */
.pdeal__contact {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(33, 40, 119, 0.14);
}

.pdeal__contact-label {
  display: block;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7280;
}

/* side by side where the column is wide enough */
.pdeal__contact .pdeal__points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.pdeal-point__link {
  display: block;
  margin-top: 1px;
  font-size: 14px;
  line-height: 1.4;
  color: #5e6778;
  text-decoration: none;
  transition: color 0.25s ease;
  overflow-wrap: anywhere;
}

.pdeal-point__link:hover,
.pdeal-point__link:focus-visible {
  color: var(--pdeal-accent);
}

/* ----- selling points ----- */
.pdeal__points {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.pdeal-point {
  display: flex;
  align-items: center;
  gap: 14px;
}

.pdeal-point__icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--pdeal-blue);
  background: #e8f0fd;
  border-radius: 50%;
}

.pdeal-point__icon--red {
  color: var(--pdeal-accent);
  background: rgba(237, 27, 36, 0.1);
  background: color-mix(in srgb, var(--pdeal-accent) 10%, #ffffff);
}

.pdeal-point__icon svg {
  width: 21px;
  height: 21px;
}

.pdeal-point__body {
  display: block;
  min-width: 0;
}

.pdeal-point__title {
  display: block;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--theme-blue-color);
}

.pdeal-point__text {
  display: block;
  margin-top: 1px;
  font-size: 13.5px;
  line-height: 1.4;
  color: #6b7280;
}

/* ----- the form card ----- */
.pdeal__card {
  padding: 22px 24px 24px;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(20, 26, 52, 0.16);
}

.pdeal__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}

.pdeal__field--wide {
  grid-column: 1 / -1;
}

.pdeal__field label {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: var(--theme-blue-color);
}

.pdeal__field label span {
  color: var(--pdeal-accent);
}

/* ----- inputs, each led by its icon ----- */
.pdeal__input {
  position: relative;
}

.pdeal__input-icon {
  position: absolute;
  top: 50%;
  left: 13px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  transform: translateY(-50%);
  color: #9aa1b4;
  pointer-events: none;
  transition: color 0.25s ease;
}

.pdeal__input-icon svg {
  width: 100%;
  height: 100%;
}

.pdeal__input input,
.pdeal__input select,
.pdeal__input textarea {
  width: 100%;
  /* main.css gives every input a 75px height; these set their own */
  height: 44px;
  padding: 9px 14px 9px 42px;
  font-family: inherit;
  font-size: 14px;
  line-height: 1.4;
  color: var(--theme-blue-color);
  background: #f7f9fd;
  border: 1px solid #e3e9f4;
  border-radius: 12px;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.pdeal__input textarea {
  resize: vertical;
  height: 62px;
  padding-top: 11px;
}

.pdeal__input--area .pdeal__input-icon {
  top: 13px;
  transform: none;
}

.pdeal__input select {
  /* the caret is drawn in the markup instead */
  appearance: none;
  padding-right: 36px;
  cursor: pointer;
}

.pdeal__input--plain input,
.pdeal__input--plain select,
.pdeal__input--plain textarea {
  padding-left: 14px;
}

.pdeal__input-caret {
  position: absolute;
  top: 50%;
  right: 12px;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  color: #9aa1b4;
  pointer-events: none;
}

.pdeal__input-caret svg {
  width: 100%;
  height: 100%;
}

.pdeal__input input:focus,
.pdeal__input select:focus,
.pdeal__input textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--pdeal-accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--pdeal-accent) 14%, transparent);
}

.pdeal__input:focus-within .pdeal__input-icon {
  color: var(--pdeal-accent);
}

.pdeal__error {
  display: block;
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--primary-red, #ed1b24);
}

/* the honeypot: off-screen rather than hidden, so bots still fill it in */
.pdeal__trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* the widget is a fixed 304px; let it shrink with the card rather than spill */
.pdeal__field--robot {
  overflow: hidden;
}

.pdeal__field--robot .g-recaptcha {
  transform-origin: 0 0;
}

/* ----- submit -----
   The hero's shiny button (.pdh__buy in product-hero.css, loaded on every
   page that carries this section); only its placement is set here. */
.pdeal__submit {
  margin-top: 14px;
}

/* ---------- responsive ---------- */
/* short laptop screens: tighten so the band still fits one view */
@media (min-width: 992px) and (max-height: 940px) {
  .pdeal {
    padding: 26px 0;
  }

  .pdeal__points {
    gap: 10px;
    margin-top: 16px;
  }

  .pdeal__contact {
    margin-top: 20px;
    padding-top: 16px;
  }

  .pdeal__contact-label {
    margin-bottom: 10px;
  }

  .pdeal__lead {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 23px;
  }

  .pdeal__card {
    padding: 18px 20px 20px;
  }

  .pdeal__grid {
    gap: 8px 14px;
  }

  .pdeal__field label {
    margin-bottom: 4px;
    font-size: 14px;
  }

  .pdeal__input input,
  .pdeal__input select {
    font-size: 13.5px;
  }

  .pdeal__input textarea {
    height: 52px;
    font-size: 13.5px;
  }


  .pdeal__submit {
    margin-top: 10px;
  }
}

/* a laptop screen with room for even less */
@media (min-width: 992px) and (max-height: 760px) {
  .pdeal {
    padding: 22px 0;
  }

  .pdeal__points {
    gap: 8px;
  }

  .pdeal-point__icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 1199px) {
  .pdeal__panel {
    gap: 28px;
  }

  .pdeal__contact .pdeal__points {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .pdeal-point__icon {
    width: 40px;
    height: 40px;
  }

  .pdeal-point__title {
    font-size: 14px;
  }

  .pdeal-point__text {
    font-size: 12.5px;
  }
}

/* stacked: the card below the pitch */
@media (max-width: 991px) {
  .pdeal {
    padding: 56px 0;
  }

  .pdeal__panel {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .pdeal__lead {
    max-width: 560px;
  }

  .pdeal__photo::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.86) 100%);
  }
}

@media (max-width: 575px) {
  .pdeal {
    padding: 44px 0;
  }

  .pdeal__card {
    padding: 20px 16px 22px;
    border-radius: 18px;
  }

  .pdeal__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  /* the placeholder runs to three lines at this width */
  .pdeal__input textarea {
    height: 80px;
  }

  .pdeal__submit {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* the reCAPTCHA widget is wider than a small phone screen */
  .pdeal__field--robot .g-recaptcha {
    transform: scale(0.86);
    height: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pdeal__input input,
  .pdeal__input select,
  .pdeal__input textarea,
  .pdeal__input-icon,
  .pdeal-point__link {
    transition: none;
  }
}
