.ukg-home-brand-banner {
  --banner-gradient: linear-gradient(90deg, rgba(8, 17, 37, .93), rgba(8, 17, 37, .76) 46%, rgba(8, 17, 37, .12));
  padding-block: clamp(3rem, 8vw, 7rem);
  background: var(--banner-gradient), url("/assets/img/ukg-hero-bigben.jpg?v=4.9.89") center / cover no-repeat, #101a36;
  color: #fff;
}

html[dir="rtl"] .ukg-home-brand-banner {
  --banner-gradient: linear-gradient(270deg, rgba(8, 17, 37, .94), rgba(8, 17, 37, .78) 47%, rgba(8, 17, 37, .16));
}

.ukg-home-banner-copy {
  max-inline-size: 34rem;
}

html[lang] body main .ukg-home-brand-banner h1 {
  margin: .45rem 0 .75rem;
  color: #fff;
  font-size: clamp(1.9rem, 5vw, 3.625rem);
  font-weight: 700;
  line-height: 1.18 !important;
  text-wrap: balance;
}

.ukg-home-brand-banner p {
  color: #fff;
  margin: 0 0 1rem;
}

.ukg-home-banner-name {
  text-align: start;
  font-size: .875rem;
  font-weight: 600;
}

html[dir="rtl"] .ukg-home-banner-name {
  text-align: right;
}

/* Keep the landmark exposed on the side opposite the copy. */
html[dir] body .home-sections > .ukg-home-brand-banner {
  --banner-gradient: linear-gradient(90deg, rgba(8, 17, 37, .93) 0%, rgba(8, 17, 37, .78) 35%, rgba(8, 17, 37, .10) 70%, transparent);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--banner-gradient), url("/assets/img/ukg-hero-bigben.jpg?v=4.9.89") center 38% / cover no-repeat, #101a36 !important;
}

html[dir="rtl"] body .home-sections > .ukg-home-brand-banner {
  --banner-gradient: linear-gradient(270deg, rgba(8, 17, 37, .93) 0%, rgba(8, 17, 37, .78) 35%, rgba(8, 17, 37, .10) 70%, transparent);
}

.home-sections > .ukg-home-brand-banner { order: -3 !important; }
.home-sections > .trust-strip { order: -2 !important; }
.home-sections > .ukg-marketing-routes { order: -1 !important; }

.ukg-home-banner-copy {
  max-inline-size: min(30rem, 48%);
  text-shadow: 0 2px 8px rgba(5, 13, 27, .85);
}

.ukg-home-banner-copy .btn { text-shadow: none; }

@media (max-width: 760px) {
  html[dir] body .home-sections > .ukg-home-brand-banner {
    --banner-gradient: linear-gradient(0deg, rgba(8, 17, 37, .97) 4%, rgba(8, 17, 37, .84) 56%, rgba(8, 17, 37, .07) 90%);
    padding-block-start: clamp(8rem, 33vw, 13rem);
    background-position: center, center top !important;
  }

  .ukg-home-banner-copy { max-inline-size: 32rem; }
}

.ukg-home-brand-banner::before,
.ukg-home-brand-banner::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: auto -15% -8rem;
  height: 15rem;
  border-radius: 48% 52% 0 0;
  background: rgba(132, 190, 252, .21);
  animation: ukg-banner-wave 13s ease-in-out infinite alternate;
}

.ukg-home-brand-banner::after {
  bottom: -10rem;
  background: rgba(216, 234, 255, .24);
  animation: ukg-banner-wave 17s ease-in-out infinite alternate-reverse;
}

@keyframes ukg-banner-wave {
  from { transform: translate3d(-5%, 0, 0) rotate(-4deg); }
  to { transform: translate3d(5%, -1.5rem, 0) rotate(4deg); }
}

html[lang] body main .ukg-home-brand-banner .ukg-home-banner-copy :is(h1, p) {
  color: #fff !important;
}

html[lang] body main .ukg-home-brand-banner .ukg-home-banner-copy .btn.primary {
  background: #fff !important;
  color: #14254a !important;
}

html[lang] body main .ukg-home-brand-banner .ukg-home-banner-copy .btn.primary:hover {
  background: #e3edff !important;
}

@media (prefers-reduced-motion: reduce) {
  .ukg-home-brand-banner::before,
  .ukg-home-brand-banner::after {
    animation: none;
  }
}

.home-sections > .ukg-trustpilot-bar {
  order: 35;
}

.home-sections .ukg-marketing-route-media {
  aspect-ratio: 1.95;
}

.home-sections .ukg-marketing-route-body {
  gap: .5rem;
}

.home-sections .ukg-marketing-route-body a {
  margin-block-start: auto;
}

.home-sections .ukg-home-journey-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1rem, 4vw, 3rem);
}

.ukg-home-journey-intro img {
  inline-size: 100%;
  block-size: auto;
  aspect-ratio: 2;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 1rem;
}

@media (max-width: 700px) {
  .home-sections .ukg-home-journey-intro {
    grid-template-columns: 1fr;
  }
}

/* Visual hierarchy for the public home page. */
.home-sections > .ukg-trustpilot-bar { order: 32; }
.home-sections > .ukg-home-more { order: 55; }

.home-sections > .section[data-home-section],
.home-sections > .ukg-marketing-routes {
  padding-block: clamp(2.5rem, 6vw, 5rem);
}

.home-sections > [data-home-section="certifications"],
.home-sections > [data-home-section="proof"] {
  background-color: #f5f8fc;
}

.home-sections .ukg-marketing-routes h2 {
  max-inline-size: 26ch;
  margin: 0 auto clamp(1.25rem, 3vw, 2.25rem);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.home-sections .ukg-marketing-route-card {
  padding: 0;
  overflow: hidden;
  border-radius: 1.125rem;
  box-shadow: 0 10px 26px rgba(19, 40, 74, .07);
}

.home-sections .ukg-marketing-route-body {
  width: 100%;
  padding: clamp(1rem, 2.4vw, 1.75rem);
}

.home-sections .ukg-marketing-route-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.3;
  margin-block-end: .25rem;
}

.home-sections .ukg-marketing-route-card p { margin-block-end: .5rem; }

.ukg-home-more {
  padding-block: clamp(1.25rem, 3vw, 2.5rem);
}

.ukg-home-more details {
  background: #f5f8fc;
  border: 1px solid #dce5f1;
  border-radius: 1rem;
}

.ukg-home-more summary {
  padding: 1rem 1.25rem;
  color: #19224c;
  font-weight: 600;
  cursor: pointer;
}

.ukg-home-more-content > .section {
  padding-block: clamp(1.5rem, 4vw, 3rem);
}

@media (min-width: 701px) and (max-width: 900px) {
  .home-sections .ukg-marketing-route-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
