/* JPBE footer layout — extracted .aia-ft rules. Scoped to 8059 chrome.
   Markup classes stay platnoe BEM so jpbe-pravo-chrome.css matches. */

body.jpbe-pravo-page .aabe-plt-footer,
body.jpbe-pravo-page .aabe-plt-footer * {
  box-sizing: border-box;
}

body.jpbe-pravo-page .elementor-widget-jpbe_pravo_footer,
body.jpbe-pravo-page .elementor-widget-jpbe_pravo_footer > .elementor-widget-container {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.jpbe-pravo-page .aabe-plt-footer {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft {
  max-width: 100%;
  min-width: 0;
  overflow-x: visible;
  background: transparent;
  padding: clamp(36px, 4vw, 56px) 0 20px;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__shell {
  --plt-plate-opacity: 1;
  --plt-glass-blur: 7px;
  --plt-glass-saturate: 65%;
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  overflow: visible;
  width: 100%;
  max-width: min(1400px, 100%);
  margin: 0 auto;
  padding: var(--plt-ft-shell-pad, clamp(20px, 2.4vw, 32px));
  border: 0;
  border-radius: 32px;
  background: transparent;
  background-clip: padding-box;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(var(--plt-glass-blur, 0px)) saturate(var(--plt-glass-saturate, 100%));
  -webkit-backdrop-filter: blur(var(--plt-glass-blur, 0px)) saturate(var(--plt-glass-saturate, 100%));
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__shell > :not(.aabe-plt-overlay) {
  position: relative;
  z-index: 1;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  pointer-events: none;
  opacity: var(--plt-plate-opacity, 1);
  background-color: var(--jpbe-chrome-footer-bg, #552F13);
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 42%);
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__shell.aabe-plt-overlaid > .aabe-plt-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: inherit;
  background-image: var(--plt-ov-image, none);
  background-size: var(--plt-ov-size, cover);
  background-position: var(--plt-ov-pos, center);
  background-repeat: no-repeat;
  opacity: var(--plt-ov-opacity, 0);
  mix-blend-mode: var(--plt-ov-blend, overlay);
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__shell.aabe-plt-overlaid > .aabe-plt-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--plt-ov-wash, transparent);
  opacity: var(--plt-ov-wash-opacity, 0);
  mix-blend-mode: var(--plt-ov-wash-blend, multiply);
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__shell::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 4;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    var(--plt-ft-shell-border-a, var(--plt-ft-shell-border, var(--xbc-line, rgba(255, 220, 142, 0.28)))),
    var(--plt-ft-shell-border-b, var(--plt-ft-shell-border-a, var(--plt-ft-shell-border, var(--xbc-line, rgba(255, 220, 142, 0.28)))))
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 24px;
  padding-bottom: clamp(22px, 2.6vw, 32px);
  border-bottom: 1px solid var(--plt-ft-cta-line, var(--xbc-line, rgba(255, 220, 142, 0.28)));
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cta > span {
  grid-column: 1 / -1;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cta h2 {
  max-width: 16ch;
  margin: 0;
  font-size: clamp(22px, 4cqi, 56px);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cta > a {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 20px;
  padding: 0 22px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2.5cqi, 32px);
  padding: clamp(22px, 2.8vw, 32px) 0;
  min-width: 0;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cols nav,
body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cols > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cols nav > span,
body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cols > div > span {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cols a {
  font-size: clamp(12px, 1.4cqi, 15px);
  line-height: 1.4;
  text-decoration: none;
  max-width: 100%;
  overflow-wrap: anywhere;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__eco a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__eco strong {
  font-size: 15px;
  font-weight: 700;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__eco small {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__contacts > a:nth-of-type(2) {
  overflow-wrap: anywhere;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__soc {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__soc-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__soc-link svg {
  width: 20px;
  height: 20px;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__contacts .aia-ft__app-link {
  margin-top: 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__bottom {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--plt-ft-bottom-line, var(--xbc-line, rgba(255, 220, 142, 0.28)));
  font-size: clamp(10px, 1.2cqi, 12px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  flex-wrap: wrap;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-ft__bottom a {
  text-decoration: none;
}

body.jpbe-pravo-page .aabe-plt-footer .aia-note {
  margin: 16px 0 0;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: clamp(9px, 1cqi, 10px);
  line-height: 1.35;
  text-align: left;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

@container (max-width: 900px) {
  body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body.jpbe-pravo-page .aabe-plt-footer .aia-note {
    white-space: normal;
  }

  body.jpbe-pravo-page .aabe-plt-footer .aia-ft__contacts .aia-ft__app-link {
    white-space: normal;
  }

  body.jpbe-pravo-page .aabe-plt-footer .aia-ft__shell {
    padding: var(--plt-ft-shell-pad, 16px 14px 10px);
    border-radius: 22px;
  }
  body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cta,
  body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cols {
    grid-template-columns: 1fr;
  }
  body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cta > span {
    grid-column: 1;
  }
  body.jpbe-pravo-page .aabe-plt-footer .aia-ft__cta > a {
    justify-self: start;
  }
  body.jpbe-pravo-page .aabe-plt-footer .aia-ft__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 0 0;
  }
}

/* Two layers, independent. Ribbon = band under the plate. Plate = rounded card fill. */
body.jpbe-pravo-page .elementor-widget-jpbe_pravo_footer:has(.jpbe-pravo-footer--ribbon-transparent),
body.jpbe-pravo-page .elementor-widget-jpbe_pravo_footer:has(.jpbe-pravo-footer--ribbon-transparent) > .elementor-widget-container,
body.jpbe-pravo-page .aabe-plt-footer.jpbe-pravo-footer--ribbon-transparent,
body.jpbe-pravo-page .aabe-plt-footer.jpbe-pravo-footer--ribbon-transparent .aia-ft {
  background: transparent !important;
  background-image: none !important;
}
body.jpbe-pravo-page .aabe-plt-footer.jpbe-pravo-footer--plate-transparent .aia-ft__shell {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
body.jpbe-pravo-page .aabe-plt-footer.jpbe-pravo-footer--plate-transparent .aia-ft__shell::before {
  opacity: 0 !important;
  background: transparent !important;
  background-image: none !important;
}
