@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700;800&display=swap");

/* =============================================================================
   BecA Hero Banner — 100vw image hero with content inside a centered 1240px container
   Height: 60vh | Image: full viewport width | Copy: positioned inside the 1240px inner container
   ============================================================================= */

.beca-hero-banner,
.beca-hero-banner * {
  box-sizing: border-box;
}

.beca-hero-banner {
  --beca-hero-primary: #135AD5;
  --beca-hero-accent: #07A5F6;
  --beca-container-max: 1240px;
  --beca-section-pad-top: 4rem;
  --beca-section-pad-bottom: 4rem;
  
  --beca-hero-height: 60vh;
  --beca-hero-panel-width: clamp(330px, 38vw, 560px);
  --beca-hero-panel-radius: 1.35rem;
  --beca-hero-panel-padding: clamp(0.75rem, 1.5vh, 1.25rem) clamp(1.25rem, 2.5vw, 2.25rem);
  --beca-hero-glass-blur: 22px;
  --beca-hero-glass-opacity: 0.28;
  --beca-hero-image-overlay-opacity: 0.26;
  --beca-hero-side-gap: clamp(1rem, 5vw, 5.5rem);
  position: relative;
  top: 0;
  left: 50%;
  right: 50%;
  width: 100vw;
  height: var(--beca-hero-height);
  min-height: 0;
  margin-top: 0 !important;
  margin-left: -50vw;
  margin-right: -50vw;
  isolation: isolate;
  overflow: hidden;
  background: #0b1320;
  color: #ffffff;
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.beca-hero-banner__viewport,
.beca-hero-banner__slide,
.beca-hero-banner__media,
.beca-hero-banner__image,
.beca-hero-banner__overlay {
  width: 100%;
  height: 100%;
}

.beca-hero-banner__viewport {
  position: relative;
}

.beca-hero-banner__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 720ms cubic-bezier(0.4, 0, 0.2, 1),
    visibility 720ms cubic-bezier(0.4, 0, 0.2, 1);
}

.beca-hero-banner__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.beca-hero-banner__media {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 72% 46%, rgba(7, 165, 246, 0.16), transparent 34%),
    linear-gradient(120deg, #101827 0%, #22364f 50%, #0f1827 100%);
}

.beca-hero-banner__image {
  display: block;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.08);
  transform-origin: center center;
  will-change: transform;
}

.beca-hero-banner__slide.is-active .beca-hero-banner__image {
  animation: beca-hero-banner-zoom-out 7800ms ease-out forwards;
}

@keyframes beca-hero-banner-zoom-out {
  0% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.beca-hero-banner__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 10, 22, var(--beca-hero-image-overlay-opacity)) 0%, rgba(3, 10, 22, calc(var(--beca-hero-image-overlay-opacity) * 0.38)) 44%, rgba(3, 10, 22, var(--beca-hero-image-overlay-opacity)) 100%),
    linear-gradient(180deg, rgba(3, 10, 22, calc(var(--beca-hero-image-overlay-opacity) * 0.35)) 0%, rgba(3, 10, 22, var(--beca-hero-image-overlay-opacity)) 100%);
}

.beca-hero-banner__overlay {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: min(calc(100% - 2rem), var(--beca-container-max));
  height: 100%;
  margin-inline: auto;
  padding: 0 0 3rem;
}

/* Instance-level vertical positioning for the header content. */
.beca-hero-banner--valign-top .beca-hero-banner__overlay {
  align-items: flex-start;
  padding-top: clamp(2rem, 6vh, 4rem);
  padding-bottom: 0;
}

.beca-hero-banner--valign-middle .beca-hero-banner__overlay {
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

/* Optical centring: place the header slightly below the geometric midpoint. */
.beca-hero-banner--valign-middle .beca-hero-banner__content {
  transform: translateY(clamp(1.75rem, 7vh, 4.5rem));
}

.beca-hero-banner--valign-bottom .beca-hero-banner__overlay {
  align-items: flex-end;
  padding-top: 0;
  padding-bottom: clamp(0.75rem, 2.5vh, 1.5rem);
}

.beca-hero-banner__content {
  width: 100%;
  max-width: none;
  flex: 1 1 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


.beca-hero-banner--header-left .beca-hero-banner__overlay {
  justify-content: flex-start;
}

.beca-hero-banner--header-left .beca-hero-banner__content {
  align-items: flex-start;
  text-align: left;
}

.beca-hero-banner--header-center .beca-hero-banner__overlay {
  justify-content: center;
}

.beca-hero-banner--header-center .beca-hero-banner__content {
  align-items: center;
  text-align: center;
}

.beca-hero-banner--header-right .beca-hero-banner__overlay {
  justify-content: flex-end;
}

.beca-hero-banner--header-right .beca-hero-banner__content {
  align-items: flex-end;
  text-align: right;
}

.beca-hero-banner--cta-left .beca-hero-banner__cta {
  align-self: flex-start;
}

.beca-hero-banner--cta-center .beca-hero-banner__cta {
  align-self: center;
}

.beca-hero-banner--cta-right .beca-hero-banner__cta {
  align-self: flex-end;
}

.beca-hero-banner__eyebrow,
.beca-hero-banner__heading,
.beca-hero-banner__subheading,
.beca-hero-banner__cta,
.beca-hero-banner__indicator {
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.beca-hero-banner__eyebrow {
  /*margin: 0 0 clamp(0.65rem, 1.2vh, 0.95rem);
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.72rem, 0.78vw, 0.86rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.35;
  text-transform: uppercase;*/
  margin: 0 0 0.65rem;
  display: inline-block;
  position: relative;
  padding-left: 15px;
  color: var(--beca-hero-accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

  .beca-hero-banner__eyebrow::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    border-radius: 2px;
    background: var(--beca-hero-accent);
  }

.beca-hero-banner__heading {
  /*margin: 0 0 clamp(0.8rem, 1.7vh, 1.15rem);
    color: #ffffff;
    font-size: clamp(2rem, 3.65vw, 4.2rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
    text-shadow: 0 2px 26px rgba(0, 0, 0, 0.26);*/

  margin: 0 0 clamp(0.55rem, 1vh, 0.85rem);
  color: #ffffff;
  font-size: clamp(1.65rem, 2.65vw, 2.55rem);
  font-weight: 500;
  line-height: 1.16;
  letter-spacing: -0.018em;
  text-wrap: balance;
  text-shadow: 0 2px 26px rgba(0, 0, 0, 0.26);
}

.beca-hero-banner__subheading {
  /*max-width: 44ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.96rem, 1.25vw, 1.18rem);
  font-weight: 500;
  line-height: 1.56;
  text-wrap: pretty;
  text-shadow: 0 1px 20px rgba(0, 0, 0, 0.24);*/
  width: 100%;
  max-width: none;
  flex: 0 0 100%;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  font-weight: 400;
  line-height: 1.62;
  text-wrap: pretty;
}

.beca-hero-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  margin-top: clamp(1rem, 2vh, 1.55rem);
  padding: 0 1.75rem 0 1.95rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: clamp(0.86rem, 0.94vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0.045em;
  line-height: 1;
  text-decoration: none;
  /*text-transform: uppercase;*/
  white-space: nowrap;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
  transition:
    background 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 200ms ease;
}

.beca-hero-banner__cta-icon {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  transition: transform 200ms ease;
}

.beca-hero-banner__cta:hover,
.beca-hero-banner__cta:focus-visible {
  background: var(--beca-hero-primary);
  border-color: var(--beca-hero-primary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow:
    0 16px 32px rgba(0, 0, 0, 0.18),
    0 10px 26px rgba(19, 90, 213, 0.26);
}

.beca-hero-banner__cta:hover .beca-hero-banner__cta-icon,
.beca-hero-banner__cta:focus-visible .beca-hero-banner__cta-icon {
  transform: translateX(4px);
}

.beca-hero-banner__cta:focus-visible,
.beca-hero-banner__indicator:focus-visible {
  outline: 3px solid rgba(7, 165, 246, 0.48);
  outline-offset: 3px;
}

.beca-hero-banner__controls {
  position: absolute;
  left: 50%;
  bottom: clamp(0.85rem, 2vh, 1.35rem);
  z-index: 4;
  transform: translateX(-50%);
}

.beca-hero-banner__indicators {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 38px;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
}

.beca-hero-banner__indicator {
  appearance: none;
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
  transition:
    width 240ms cubic-bezier(0.4, 0, 0.2, 1),
    background-color 240ms ease,
    transform 180ms ease;
}

.beca-hero-banner__indicator:hover,
.beca-hero-banner__indicator:focus-visible {
  background: #ffffff;
  transform: scale(1.12);
}

.beca-hero-banner__indicator.is-active {
  width: 1.75rem;
  background: var(--beca-hero-accent);
}

@media (max-width: 991px) {
  .beca-hero-banner__overlay {
    justify-content: center;
    width: min(calc(100% - 2rem), var(--beca-container-max));
    padding: clamp(1rem, 4vw, 2rem) 0 3.5rem;
  }

  .beca-hero-banner__content {
    width: 100%;
    max-width: none;
    align-items: center;
    text-align: center;
  }

  .beca-hero-banner__heading {
    font-size: clamp(2rem, 6vw, 3.4rem);
  }
}

@media (max-width: 991px) {
  .beca-hero-banner--valign-middle .beca-hero-banner__content {
    transform: translateY(clamp(1rem, 5vh, 2.75rem));
  }

  .beca-hero-banner--valign-bottom .beca-hero-banner__overlay {
    padding-bottom: clamp(0.75rem, 2vh, 1.25rem);
  }
}

@media (max-width: 640px) {
  .beca-hero-banner--valign-middle .beca-hero-banner__content {
    transform: translateY(clamp(0.75rem, 4vh, 1.75rem));
  }

  .beca-hero-banner--valign-bottom .beca-hero-banner__overlay {
    padding-bottom: 0.75rem;
  }

  .beca-hero-banner__overlay {
    width: calc(100% - 2rem);
    padding: 1rem 0 2rem;
  }

  .beca-hero-banner__content {
    width: 100%;
    max-width: none;
  }

  .beca-hero-banner__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .beca-hero-banner__heading {
    font-size: clamp(1.65rem, 8vw, 2.3rem);
    line-height: 1.12;
  }

  .beca-hero-banner__subheading {
    font-size: 0.94rem;
    line-height: 1.48;
  }

  .beca-hero-banner__cta {
    min-height: 44px;
    padding-inline: 1.35rem 1.2rem;
    font-size: 0.82rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .beca-hero-banner__slide,
  .beca-hero-banner__cta,
  .beca-hero-banner__cta-icon,
  .beca-hero-banner__indicator,
  .beca-hero-banner__image {
    animation: none !important;
    transition: none !important;
  }

  .beca-hero-banner__image {
    transform: scale(1);
  }
}

.beca-hero-banner__controls{display:none!important;}

/* Prevent text/content selection across the complete hero banner surface. */
.beca-hero-banner,
.beca-hero-banner * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Use the standard cursor on non-interactive banner surfaces. */
.beca-hero-banner,
.beca-hero-banner__viewport,
.beca-hero-banner__slide,
.beca-hero-banner__media,
.beca-hero-banner__image,
.beca-hero-banner__overlay,
.beca-hero-banner__content,
.beca-hero-banner__eyebrow,
.beca-hero-banner__heading,
.beca-hero-banner__subheading {
  cursor: default;
}

/* Preserve a hand cursor for actionable controls. */
.beca-hero-banner a,
.beca-hero-banner button,
.beca-hero-banner__cta,
.beca-hero-banner__indicator {
  cursor: pointer;
}
