/* Stage 2: branding is scoped to the original header and hero. */
#banricom-header,
#banricom-hero {
  color: #00061a;
}
#banricom-hero .text-darken {
  color: #00061a;
}
#banricom-header .bc-primary,
#banricom-hero .bc-primary {
  background-color: #ff0e75;
  color: #00061a;
}
#banricom-hero .bc-hero-copy .text-yellow-500 {
  color: #00061a;
  background-color: #f6ec4f;
}
#banricom-hero .bc-hero-copy svg path {
  fill: #00061a;
}
.bc-brand {
  display: inline-block;
  width: 145px;
  height: 28px;
  vertical-align: top;
}
.bc-brand img {
  position: absolute;
  top: -8px;
  left: 0;
  width: 145px;
  height: 44px;
  padding: 5px 9px;
  object-fit: contain;
  background: #00061a;
  border-radius: 6px;
}
.bc-hero-copy > [data-aos='fade-up'] > .bc-primary {
  display: inline-block;
}
#banricom-header a:focus-visible,
#banricom-header button:focus-visible,
#banricom-hero .bc-hero-copy a:focus-visible {
  outline: 3px solid #00061a;
  outline-offset: 4px;
}
/* Necessary copy fitting; original containers, illustration and breakpoints remain unchanged. */
@media (min-width: 1280px) {
  .bc-hero-copy h1 {
    font-size: 46px;
    line-height: 60px;
  }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .bc-nav > a {
    padding-left: 12px;
    padding-right: 12px;
    margin-left: 4px;
  }
  .bc-nav > .bc-nav-action {
    padding-left: 24px;
    padding-right: 24px;
    margin-left: 8px;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .bc-nav > a {
    padding-left: 8px;
    padding-right: 8px;
    margin-left: 0;
    font-size: 12px;
  }
  .bc-nav > .bc-nav-action {
    padding-left: 12px;
    padding-right: 12px;
    margin-left: 4px;
  }
}
/* Fluid phone copy fitting stays within the original sm breakpoint. */
@media (max-width: 639px) {
  .bc-hero-copy {
    --phone-copy-fit: clamp(0px, calc(100vw - 320px), 70px);
  }
  .bc-hero-copy h1 {
    font-size: calc(36px + var(--phone-copy-fit) * 0.0857142857);
    line-height: 60px;
  }
  .bc-hero-copy > p {
    font-size: 20px;
    line-height: calc(30px - var(--phone-copy-fit) * 0.0171428571);
    min-height: 144px;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .bc-hero-copy > p {
    font-size: 20px;
    line-height: 36px;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .bc-hero-copy h1 {
    font-size: 35.5px;
    line-height: 60px;
  }
  .bc-hero-copy > p {
    font-size: 20px;
    line-height: 36px;
    max-width: calc(100% - 24px);
  }
}
/* Leave anchor headings visible after their existing AOS transform settles. */
#services,
#about {
  scroll-margin-top: 64px;
}
