.p-web-portal {
  background: #fff;
}

.p-web-portal .breadcrumb {
  background: #fff;
}

.web-portal-hero {
  position: relative;
  overflow: hidden;
  padding: 7.2rem 0 8.8rem;
  border-bottom: 1px solid #e2ebf0;
  background: #fff;
}

.web-portal-hero__grid {
  display: grid;
  grid-template-columns: minmax(42rem, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(4rem, 5vw, 6rem);
}

.web-portal-eyebrow {
  margin-bottom: 1.6rem;
  color: #079bd3;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.web-portal-hero__copy h1 {
  max-width: none;
  margin: 0;
  color: #001f36;
  font-size: clamp(4rem, 3.5vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.web-portal-hero__description {
  max-width: 61rem;
  margin-top: 2.4rem;
  color: #536779;
  font-size: 1.8rem;
  line-height: 1.65;
}

.web-portal-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem 2rem;
  margin: 3.2rem 0 0;
  padding: 0;
  list-style: none;
}

.web-portal-highlights li {
  position: relative;
  padding-left: 3rem;
  color: #183b52;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.45;
}

.web-portal-highlights li::before {
  content: "";
  position: absolute;
  top: 0.1rem;
  left: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: #079bd3;
  box-shadow: inset 0 0 0 0.6rem #d9f3fc;
}

.web-portal-hero__visual {
  position: relative;
  min-width: 0;
  padding: 4.8rem 3.6rem;
  overflow: hidden;
  border: 1px solid #d8e7ef;
  border-radius: 3.2rem;
  background: linear-gradient(155deg, #fbfdfe 0%, #eef6fa 100%);
  box-shadow: 0 2.4rem 6rem rgba(0, 46, 79, 0.12);
}

.web-portal-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: webPortalOrbIdle 8s ease-in-out infinite;
}

.web-portal-orb--one {
  top: 1.8rem;
  right: 3rem;
  width: 14rem;
  height: 14rem;
  background: rgba(39, 197, 235, 0.12);
}

.web-portal-orb--two {
  bottom: 2rem;
  left: 2rem;
  width: 9rem;
  height: 9rem;
  background: rgba(102, 219, 244, 0.1);
  animation-delay: -3.5s;
}

.web-portal-browser,
.web-portal-shot {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid #d7e3ea;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 2rem 4rem rgba(0, 42, 73, 0.14);
}

.web-portal-browser--hero {
  animation: webPortalHeroIdle 7s ease-in-out infinite;
  transition: box-shadow 0.4s ease;
}

.web-portal-browser__bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  height: 3rem;
  padding: 0 1.2rem;
  border-bottom: 1px solid #e7eef2;
  background: #fafbfc;
}

.web-portal-browser__bar span {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #c9d4db;
}

.web-portal-browser__bar span:first-child {
  background: #079bd3;
}

.web-portal-browser__screen {
  display: block;
  overflow: hidden;
  background: #fff;
}

.web-portal-browser__screen img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.55s cubic-bezier(0.2, 0.75, 0.25, 1), filter 0.55s ease;
}

.web-portal-features {
  padding: 8.8rem 0;
  background: #f5f8fa;
}

.web-portal-section-heading {
  max-width: 100rem;
  margin: 0 auto 5.6rem;
  text-align: center;
}

.web-portal-section-heading h2 {
  margin: 0;
  color: #001f36;
  font-size: clamp(3.4rem, 3.6vw, 4.8rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

@media (min-width: 981px) {
  .web-portal-section-heading h2 {
    white-space: nowrap;
  }
}

.web-portal-section-heading p {
  margin-top: 1.8rem;
  color: #607385;
  font-size: 1.8rem;
  line-height: 1.65;
}

.web-portal-feature-list {
  display: grid;
  gap: 2.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.web-portal-feature-card {
  display: grid;
  grid-template-columns: minmax(23rem, 0.64fr) minmax(0, 1.36fr);
  align-items: center;
  gap: clamp(3rem, 5vw, 7rem);
  min-width: 0;
  padding: 4rem;
  overflow: hidden;
  border: 1px solid #dbe6ed;
  border-radius: 2.4rem;
  background: #fff;
  box-shadow: 0 1.6rem 4rem rgba(0, 42, 73, 0.07);
}

.web-portal-feature-card:nth-child(even) .web-portal-feature-card__copy {
  order: 2;
}

.web-portal-feature-card:nth-child(even) .web-portal-shots {
  order: 1;
}

.web-portal-feature-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.36fr) minmax(23rem, 0.64fr);
}

.web-portal-feature-card__number {
  display: block;
  margin-bottom: 1.8rem;
  color: #079bd3;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.web-portal-feature-card__copy h3 {
  margin: 0;
  color: #002945;
  font-size: clamp(2.6rem, 2.8vw, 3.6rem);
  line-height: 1.2;
}

.web-portal-feature-card__copy p {
  margin-top: 1.6rem;
  color: #617486;
  font-size: 1.65rem;
  line-height: 1.65;
}

.web-portal-shots {
  display: grid;
  min-width: 0;
}

.web-portal-shots--multiple {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.web-portal-shot {
  animation: webPortalShotIdle 8.5s ease-in-out infinite;
  animation-delay: var(--shot-delay, 0s);
  box-shadow: 0 1.4rem 3rem rgba(0, 42, 73, 0.12);
}

.web-portal-shot__trigger {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: inherit;
  cursor: zoom-in;
}

.web-portal-shot__hint {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 2;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(0, 41, 69, 0.86);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.web-portal-shot:hover .web-portal-shot__hint,
.web-portal-shot__trigger:focus-visible .web-portal-shot__hint {
  opacity: 1;
  transform: translateY(0);
}

.web-portal-lightbox {
  width: min(140rem, calc(100% - 3.2rem));
  max-width: none;
  max-height: calc(100vh - 3.2rem);
  margin: auto;
  padding: 1.6rem;
  overflow: hidden;
  border: 0;
  border-radius: 2rem;
  background: #fff;
  box-shadow: 0 3rem 9rem rgba(0, 31, 54, 0.34);
}

.web-portal-lightbox::backdrop {
  background: rgba(0, 31, 54, 0.78);
  backdrop-filter: blur(0.4rem);
}

.web-portal-lightbox__close {
  position: absolute;
  top: 2.4rem;
  right: 2.4rem;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 4.4rem;
  height: 4.4rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #006fa8;
  color: #fff;
  font-size: 2.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 1rem 2.4rem rgba(0, 42, 73, 0.2);
}

.web-portal-lightbox__figure {
  display: grid;
  gap: 1rem;
  margin: 0;
}

.web-portal-lightbox__image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 9rem);
  object-fit: contain;
  border-radius: 1.2rem;
  background: #f6f8fa;
}

.web-portal-lightbox__caption {
  color: #29475c;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
}

.web-portal-cta {
  padding: 8.8rem 0 10rem;
}

.web-portal-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 5.6rem 6.4rem;
  border-radius: 3.2rem;
  background: linear-gradient(135deg, #079bd3, #00689d 72%);
  box-shadow: 0 2.2rem 5.6rem rgba(0, 85, 128, 0.2);
}

.web-portal-cta__inner h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(3.2rem, 3.8vw, 5rem);
  line-height: 1.12;
}

.web-portal-cta__inner p {
  max-width: 68rem;
  margin-top: 1.4rem;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.7rem;
  line-height: 1.6;
}

.web-portal-cta__button {
  flex: 0 0 auto;
  padding: 1.4rem 2.4rem;
  border-radius: 999px;
  background: #fff;
  color: #00689d;
  font-size: 1.6rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 861px) {
  .web-portal-browser--hero:hover {
    animation-play-state: paused;
    box-shadow: 0 2.8rem 5.4rem rgba(0, 42, 73, 0.2);
  }

  .web-portal-browser:hover img,
  .web-portal-shot:hover img {
    transform: scale(1.025);
    filter: saturate(1.04) contrast(1.015);
  }

  .web-portal-shot:hover {
    animation-play-state: paused;
  }

  .web-portal-cta__button:hover,
  .web-portal-cta__button:focus-visible {
    transform: translateY(-0.3rem);
    box-shadow: 0 1.2rem 2.8rem rgba(0, 42, 73, 0.18);
  }
}

@keyframes webPortalHeroIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.7rem); }
}

@keyframes webPortalShotIdle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-0.35rem); }
}

@keyframes webPortalOrbIdle {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-0.6rem, 0.8rem, 0) scale(1.04); }
}

@media (max-width: 980px) {
  .web-portal-hero__grid,
  .web-portal-feature-card {
    grid-template-columns: 1fr;
  }

  .web-portal-feature-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .web-portal-hero__copy {
    text-align: center;
  }

  .web-portal-hero__description,
  .web-portal-highlights {
    margin-inline: auto;
  }

  .web-portal-hero__visual {
    width: min(80rem, 100%);
    margin: 0 auto;
  }

  .web-portal-feature-card:nth-child(even) .web-portal-feature-card__copy,
  .web-portal-feature-card:nth-child(even) .web-portal-shots {
    order: initial;
  }
}

@media (max-width: 575px) {
  .web-portal-hero {
    padding: 4rem 0 5.6rem;
  }

  .web-portal-hero__grid {
    gap: 4rem;
  }

  .web-portal-hero__copy h1 {
    font-size: 4rem;
  }

  .web-portal-hero__description,
  .web-portal-section-heading p {
    font-size: 1.6rem;
  }

  .web-portal-highlights {
    grid-template-columns: 1fr;
    max-width: 36rem;
    text-align: left;
  }

  .web-portal-hero__visual {
    padding: 2.4rem 1.6rem;
    border-radius: 2.4rem;
  }

  .web-portal-browser__bar {
    height: 2.4rem;
  }

  .web-portal-features {
    padding: 7.2rem 0;
  }

  .web-portal-section-heading {
    margin-bottom: 3.6rem;
  }

  .web-portal-section-heading h2 {
    font-size: 3.4rem;
  }

  .web-portal-feature-card {
    gap: 2.8rem;
    padding: 2.4rem 2rem;
    border-radius: 2.2rem;
  }

  .web-portal-feature-card__copy h3 {
    font-size: 2.7rem;
  }

  .web-portal-shots--multiple {
    grid-template-columns: 1fr;
  }

  .web-portal-orb,
  .web-portal-browser--hero,
  .web-portal-shot {
    animation: none;
  }

  .web-portal-shot__hint {
    display: none;
  }

  .web-portal-lightbox {
    width: calc(100% - 1.6rem);
    max-height: calc(100vh - 1.6rem);
    padding: 0.8rem;
    border-radius: 1.4rem;
  }

  .web-portal-lightbox__close {
    top: 1.4rem;
    right: 1.4rem;
    width: 4rem;
    height: 4rem;
  }

  .web-portal-cta {
    padding: 6rem 0;
  }

  .web-portal-cta__inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 3.6rem 2.4rem;
    border-radius: 2.4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .web-portal-orb,
  .web-portal-browser--hero,
  .web-portal-shot {
    animation: none;
  }

  .web-portal-browser__screen img,
  .web-portal-cta__button {
    transition: none;
  }
}
