/* ==================================================
   LADY IN WHITE — UNIVERSAL PAGE HEADER
   ================================================== */

.liw-page-header {
  position: relative;
  isolation: isolate;

  width: 100%;
  min-height: 390px;
  margin: 0;
  padding: 70px 0;

  display: flex;
  align-items: center;

  overflow: hidden;

  background: #1239ac;

  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Helvetica, Arial, sans-serif;
}

.liw-page-header *,
.liw-page-header *::before,
.liw-page-header *::after {
  box-sizing: border-box;
}

.liw-page-header .container {
  position: relative;
  z-index: 5;

  width: 100%;
}

/* ==================================================
   BACKGROUND IMAGE
   IMAGE IS CONTROLLED THROUGH HTML
   ================================================== */

.liw-page-header__background {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  overflow: hidden;
}

.liw-page-header__background img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center 45%;

  transform: scale(1.025);

  animation: liwHeaderImageReveal 1.4s ease-out both;
}

/* ==================================================
   BLUE GRADIENT OVERLAY
   ================================================== */

.liw-page-header__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;

  background: linear-gradient(
    90deg,
    rgba(7, 27, 83, 0.95) 0%,
    rgba(10, 38, 112, 0.88) 25%,
    rgba(18, 57, 172, 0.56) 46%,
    rgba(18, 57, 172, 0.14) 70%,
    rgba(18, 57, 172, 0.02) 100%
  );

  pointer-events: none;
}

/* ==================================================
   CONTENT LAYOUT
   ================================================== */

.liw-page-header__inner {
  position: relative;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 35px;
}

.liw-page-header__content {
  position: relative;

  width: 100%;
  max-width: 690px;
  min-width: 0;

  animation: liwHeaderContentReveal 850ms ease-out both;
}

/* ==================================================
   EYEBROW
   ================================================== */

.liw-page-header__eyebrow {
  margin-bottom: 15px;

  display: inline-flex;
  align-items: center;

  gap: 11px;

  color: #ffd45a;

  font-size: 11px;
  font-weight: 850;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.liw-page-header__eyebrow-line {
  width: 28px;
  min-width: 28px;
  height: 2px;

  display: inline-block;

  border-radius: 999px;

  background: #ffb400;
}

/* ==================================================
   PAGE TITLE
   ================================================== */

.liw-page-header__title {
  margin: 0;

  color: #ffffff;

  font-size: clamp(44px, 4.5vw, 68px);
  font-weight: 850;
  line-height: 1.08;
  letter-spacing: -0.045em;

  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.12);
}

.liw-page-header__title span {
  color: #ffb400;
}

/* ==================================================
   DESCRIPTION
   ================================================== */

.liw-page-header__description {
  max-width: 610px;
  margin: 19px 0 0;

  color: rgba(255, 255, 255, 0.9);

  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
}

/* ==================================================
   BREADCRUMBS
   ================================================== */

.liw-page-header__breadcrumbs {
  margin-top: 25px;
}

.liw-page-header__breadcrumbs ol {
  margin: 0;
  padding: 0;

  display: flex;
  align-items: center;
  flex-wrap: wrap;

  gap: 12px;

  list-style: none;
}

.liw-page-header__breadcrumbs li {
  color: #ffffff;

  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
}

.liw-page-header__breadcrumbs a {
  display: inline-flex;
  align-items: center;

  gap: 7px;

  color: rgba(255, 255, 255, 0.76);
  text-decoration: none;

  transition: color 200ms ease;
}

.liw-page-header__breadcrumbs a:hover {
  color: #ffb400;
}

.liw-page-header__breadcrumbs a i {
  font-size: 11px;
}

.liw-page-header__separator {
  color: rgba(255, 255, 255, 0.5) !important;

  font-size: 10px !important;
}

/* ==================================================
   EXPERIENCE BADGE
   ================================================== */

.liw-page-header__trust {
  position: relative;

  min-width: 185px;
  padding: 19px 22px;

  display: flex;
  align-items: center;

  gap: 12px;

  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 17px;

  background: rgba(9, 35, 105, 0.82);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.14);

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  animation: liwHeaderContentReveal 1s ease-out both;
}

.liw-page-header__trust-number {
  color: #ffb400;

  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
}

.liw-page-header__trust-text {
  color: #ffffff;

  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
}

/* ==================================================
   DECORATIVE GOLD ACCENT
   ================================================== */

.liw-page-header__accent {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 6;

  width: 100%;
  height: 4px;

  background: linear-gradient(90deg, #ffb400 0%, #ffb400 18%, rgba(255, 180, 0, 0) 55%);

  pointer-events: none;
}

/* ==================================================
   ANIMATED BUBBLES
   ================================================== */

.liw-page-header__bubbles {
  position: absolute;
  inset: 0;
  z-index: 3;

  overflow: hidden;

  pointer-events: none;
}

.liw-page-header__bubble {
  position: absolute;
  bottom: -90px;

  display: block;

  width: var(--bubble-size, 30px);
  height: var(--bubble-size, 30px);

  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;

  background: radial-gradient(
    circle at 30% 25%,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.04) 50%,
    rgba(255, 255, 255, 0.12) 100%
  );

  box-shadow:
    inset -4px -5px 10px rgba(255, 255, 255, 0.045),
    inset 3px 3px 8px rgba(255, 255, 255, 0.1);

  opacity: 0;

  animation: liwHeaderBubbleFloat var(--bubble-duration, 12s) linear infinite;

  animation-delay: var(--bubble-delay, 0s);

  will-change: transform, opacity;
}

.liw-page-header__bubble::after {
  content: "";

  position: absolute;
  top: 17%;
  left: 23%;

  width: 23%;
  height: 13%;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.5);

  filter: blur(2px);

  transform: rotate(-30deg);
}

/* ==================================================
   ANIMATIONS
   ================================================== */

@keyframes liwHeaderBubbleFloat {
  0% {
    opacity: 0;

    transform: translate3d(0, 0, 0) scale(0.8);
  }

  12% {
    opacity: 0.5;
  }

  75% {
    opacity: 0.35;
  }

  100% {
    opacity: 0;

    transform: translate3d(var(--bubble-drift, 30px), -550px, 0) scale(1.1);
  }
}

@keyframes liwHeaderImageReveal {
  from {
    opacity: 0.75;
    transform: scale(1.08);
  }

  to {
    opacity: 1;
    transform: scale(1.025);
  }
}

@keyframes liwHeaderContentReveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

/* ==================================================
   SMALL DESKTOP
   ================================================== */

@media (max-width: 1200px) {
  .liw-page-header {
    min-height: 360px;
    padding: 62px 0;
  }

  .liw-page-header__content {
    max-width: 620px;
  }

  .liw-page-header__background img {
    object-position: 56% center;
  }

  .liw-page-header__trust {
    min-width: 170px;
    padding: 17px 19px;
  }
}

/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 991px) {
  .liw-page-header {
    min-height: 340px;
    padding: 55px 0;
  }

  .liw-page-header__background img {
    object-position: 60% center;
  }

  .liw-page-header__overlay {
    background: linear-gradient(
      90deg,
      rgba(7, 27, 83, 0.96) 0%,
      rgba(10, 38, 112, 0.85) 42%,
      rgba(18, 57, 172, 0.35) 100%
    );
  }

  .liw-page-header__trust {
    display: none;
  }

  .liw-page-header__title {
    font-size: clamp(42px, 6vw, 58px);
  }
}

/* ==================================================
   MOBILE
   ================================================== */

@media (max-width: 640px) {
  .liw-page-header {
    min-height: 310px;
    padding: 43px 0;
  }

  .liw-page-header .container {
    padding-right: 20px;
    padding-left: 20px;
  }

  .liw-page-header__inner {
    gap: 0;
  }

  .liw-page-header__background img {
    object-position: 62% center;
  }

  .liw-page-header__overlay {
    background: linear-gradient(
      90deg,
      rgba(7, 27, 83, 0.96) 0%,
      rgba(10, 38, 112, 0.9) 55%,
      rgba(18, 57, 172, 0.55) 100%
    );
  }

  .liw-page-header__eyebrow {
    margin-bottom: 12px;

    gap: 9px;

    font-size: 9px;
    letter-spacing: 0.11em;
  }

  .liw-page-header__eyebrow-line {
    width: 21px;
    min-width: 21px;
  }

  .liw-page-header__title {
    font-size: clamp(37px, 9vw, 47px);
    line-height: 1.1;
  }

  .liw-page-header__description {
    max-width: 420px;
    margin-top: 14px;

    font-size: 13.5px;
    line-height: 1.65;
  }

  .liw-page-header__breadcrumbs {
    margin-top: 20px;
  }

  .liw-page-header__breadcrumbs ol {
    gap: 9px;
  }

  .liw-page-header__breadcrumbs li {
    font-size: 11px;
  }

  .liw-page-header__bubble:nth-child(n + 8) {
    display: none;
  }
}

/* ==================================================
   VERY SMALL MOBILE
   ================================================== */

@media (max-width: 390px) {
  .liw-page-header {
    min-height: 300px;
    padding: 37px 0;
  }

  .liw-page-header__title {
    font-size: 35px;
  }

  .liw-page-header__description {
    font-size: 13px;
  }
}

/* ==================================================
   REDUCED MOTION
   ================================================== */

@media (prefers-reduced-motion: reduce) {
  .liw-page-header__background img,
  .liw-page-header__content,
  .liw-page-header__trust,
  .liw-page-header__bubble {
    animation: none !important;
    transform: none !important;
  }

  .liw-page-header__bubble {
    display: none !important;
  }
}

/* ==================================================
   LADY IN WHITE — UNIVERSAL PAGE HEADER END
   ================================================== */
