/* SLIDER DE INICIO */
.bn-slider {
  --bn-slider-bg: #f5f2eb;
  --bn-slider-green: #103322;
  --bn-slider-text: #50534e;
  --bn-slider-gold: #a77d34;
  position: relative;
  width: 100%;
  margin: 0;
  background: var(--bn-slider-bg);
  color: var(--bn-slider-green);
  font-family: Arial, Helvetica, sans-serif;
  isolation: isolate;
}
.bn-slider, .bn-slider * { box-sizing: border-box; }
.bn-slider [hidden] { display: none !important; }
.bn-slider .bn-slider__viewport { position: relative; }
.bn-slider .bn-slider__slide { position: relative; width: 100%; }
.bn-slider .bn-slider__picture,
.bn-slider .bn-slider__image { display: block; width: 100%; margin: 0; }
.bn-slider .bn-slider__image { height: 100%; object-fit: cover; object-position: var(--bn-slide-position, center center); border-radius: 0; }
.bn-slider .bn-slider__slide--side > .bn-slider__picture {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.bn-slider .bn-slider__slide--side::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, #f5f2eb 0%, #f5f2eb 50%, rgba(245,242,235,.88) 55%, rgba(245,242,235,.42) 62%, rgba(245,242,235,0) 70%, rgba(245,242,235,0) 100%);
}
.bn-slider .bn-slider__inner {
  position: relative; z-index: 2; display: flex; align-items: center;
  width: 100%; max-width: 1440px; min-height: clamp(420px, 42.2vw, 620px);
  margin: 0 auto; padding: 48px clamp(24px, 5.9vw, 85px);
}
.bn-slider .bn-slider__content { width: 56%; max-width: 620px; }
.bn-slider .bn-slider__eyebrow {
  display: flex; align-items: center; gap: 14px; margin: 0 0 16px;
  color: var(--bn-slider-gold); font-size: 14px; line-height: 1.4;
  letter-spacing: .035em; text-transform: uppercase; overflow-wrap: anywhere;
}
.bn-slider .bn-slider__eyebrow::before { content: ""; flex: 0 0 32px; height: 1px; background: currentColor; }
.bn-slider .bn-slider__title {
  margin: 0; color: var(--bn-slider-green); font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(48px, 5.1vw, 82px); font-style: normal; font-weight: 700; line-height: .96;
  letter-spacing: -.055em; text-transform: none; overflow-wrap: anywhere;
}
.bn-slider .bn-slider__accent { color: var(--bn-slide-accent, #990f24); }
.bn-slider .bn-slider__description {
  max-width: 490px; margin: 22px 0 0; color: var(--bn-slider-text);
  font-size: clamp(15px, 1.2vw, 18px); line-height: 1.4; overflow-wrap: anywhere;
}
.bn-slider .bn-slider__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 22px; }
.bn-slider .bn-slider__button {
  display: inline-flex; justify-content: center; align-items: center; gap: 14px;
  min-height: 50px; max-width: 100%; margin: 0; padding: 13px 24px;
  border: 1px solid var(--bn-slide-button, #990f24); border-radius: 7px;
  background: var(--bn-slide-button, #990f24); color: var(--bn-slide-button-text, #fff);
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.4;
  text-align: center; text-decoration: none; overflow-wrap: anywhere;
}
.bn-slider a.bn-slider__button:hover,
.bn-slider a.bn-slider__full-link:hover .bn-slider__button { filter: brightness(.92); }
.bn-slider a.bn-slider__button--secondary,
.bn-slider a.bn-slider__button--secondary:visited {
  border-color: var(--bn-slider-green); background: transparent; color: var(--bn-slider-green);
}
.bn-slider a.bn-slider__button--secondary:hover {
  background: var(--bn-slider-green); color: #fff; filter: none;
}
.bn-slider .bn-slider__slide--full .bn-slider__picture { aspect-ratio: 8 / 3; }
.bn-slider .bn-slider__full-link { position: relative; display: block; color: inherit; }
.bn-slider .bn-slider__full-button { position: absolute; left: max(24px, calc((100% - 1270px) / 2)); bottom: 36px; margin: 0; }
.bn-slider .bn-slider__controls {
  position: relative; border-top: 1px solid var(--df-color-border, #e2e5e3);
  background: var(--bn-slider-bg);
}
.bn-slider .bn-slider__controls-inner {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px; max-width: 1440px; min-height: 58px; margin: 0 auto; padding: 7px 16px;
}
.bn-slider .bn-slider__arrow,
.bn-slider .bn-slider__pause,
.bn-slider .bn-slider__dot {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto; min-height: 40px; margin: 0; padding: 8px 12px;
  border: 1px solid transparent; border-radius: 5px;
  background: transparent; color: var(--bn-slider-green); font: inherit;
  font-size: 14px; line-height: 1; cursor: pointer;
}
.bn-slider .bn-slider__arrow { width: 40px; font-size: 21px; }
.bn-slider .bn-slider__arrow:hover,
.bn-slider .bn-slider__arrow:focus,
.bn-slider .bn-slider__pause:hover,
.bn-slider .bn-slider__pause:focus { background: rgba(16,51,34,.07); color: var(--bn-slider-green); border-color: transparent; }
.bn-slider .bn-slider__dots { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; }
.bn-slider .bn-slider__dot { width: 32px; padding: 0; }
.bn-slider .bn-slider__dot:hover,
.bn-slider .bn-slider__dot:focus,
.bn-slider .bn-slider__dot:active { background: transparent; color: var(--bn-slider-green); border-color: transparent; }
.bn-slider .bn-slider__dot::before { content: ""; width: 8px; height: 8px; border: 1px solid currentColor; border-radius: 50%; }
.bn-slider .bn-slider__dot[aria-current="true"]::before { background: currentColor; }
.bn-slider .bn-slider__status { min-width: 44px; text-align: center; color: var(--bn-slider-text); font-size: 12px; font-variant-numeric: tabular-nums; }
.bn-slider :is(a, button, [tabindex]):focus-visible { outline: 3px solid var(--bn-slider-gold); outline-offset: -3px; }
.bn-slider .bn-slider__viewport { touch-action: pan-y; }
.bn-slider .bn-slider__sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.bn-slider.is-ready .bn-slider__slide.is-active { animation: bn-slider-reveal .3s ease-out; }
@keyframes bn-slider-reveal { from { opacity: .65; } to { opacity: 1; } }
@media (min-width: 768px) and (max-width: 1024px) {
  .bn-slider .bn-slider__inner { min-height: 430px; padding: 36px; }
  .bn-slider .bn-slider__title { font-size: clamp(46px, 5.5vw, 58px); }
  .bn-slider .bn-slider__slide--side::after { background: linear-gradient(90deg, #f5f2eb 0%, #f5f2eb 56%, rgba(245,242,235,.9) 63%, rgba(245,242,235,.4) 72%, rgba(245,242,235,0) 84%); }
  .bn-slider .bn-slider__content { width: 55%; }
}
@media (max-width: 767px) {
  .bn-slider .bn-slider__slide--side { display: flex; flex-direction: column; }
  .bn-slider .bn-slider__slide--side::after { display: none; }
  .bn-slider .bn-slider__slide--side > .bn-slider__picture { position: relative; order: 2; inset: auto; width: 100%; height: auto; aspect-ratio: 4 / 3; }
  .bn-slider .bn-slider__inner { min-height: 0; padding: 32px 24px; }
  .bn-slider .bn-slider__content { width: 100%; max-width: none; }
  .bn-slider .bn-slider__title { font-size: clamp(36px, 10vw, 52px); }
  .bn-slider .bn-slider__eyebrow { font-size: 11px; margin-bottom: 14px; }
  .bn-slider .bn-slider__description { font-size: 15px; margin-top: 18px; }
  .bn-slider .bn-slider__actions { gap: 12px; margin-top: 20px; align-items: stretch; }
  .bn-slider .bn-slider__actions .bn-slider__button { flex: 1 1 auto; }
  .bn-slider .bn-slider__button { font-size: 14px; padding: 12px 20px; margin: 0; }
  .bn-slider .bn-slider__slide--full .bn-slider__picture { aspect-ratio: 9 / 11; }
  .bn-slider .bn-slider__full-button { left: 20px; right: 20px; bottom: 24px; margin: 0; }
  .bn-slider .bn-slider__controls-inner { gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .bn-slider.is-ready .bn-slider__slide.is-active { animation: none; }
}
