:root {
  --jf-blue: #09568d;
  --jf-blue-light: #0d7ac2;
  --jf-text: #eaf2f9;
  --jf-dark: #050b12;
}

body.jafita-managed-page {
  margin: 0;
  background: #dfe5ec;
}

body.jafita-managed-page .site-main,
body.jafita-managed-page .page-content,
body.jafita-managed-page .entry-content,
body.jafita-managed-page .elementor-location-header,
body.jafita-managed-page .elementor-location-footer,
body.jafita-managed-page .elementor,
body.jafita-managed-page .elementor-section-wrap,
body.jafita-managed-page .elementor-widget-wrap,
body.jafita-managed-page .elementor-widget-shortcode,
body.jafita-managed-page .elementor-widget-shortcode > .elementor-widget-container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.jafita-managed-page .page-header,
body.jafita-managed-page .entry-title,
body.jafita-managed-page #site-header,
body.jafita-managed-page #site-footer {
  display: none !important;
}

.jf-header,
.jf-footer {
  width: 100%;
  max-width: none;
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

.jf-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(6, 15, 26, 0.9);
  color: var(--jf-text);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-bar .jf-header {
  top: 32px;
}

.jf-header__inner {
  width: 100%;
  max-width: 1440px;
  height: 88px;
  margin: 0 auto;
  padding: 0 78px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.jf-brand {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  color: inherit;
  text-decoration: none;
}

.jf-brand img {
  width: 176px;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.jf-brand__line {
  width: 1px;
  height: 28px;
  flex: 0 0 1px;
  background: rgba(255, 255, 255, 0.22);
}

.jf-brand__tagline {
  white-space: nowrap;
  font-size: 13px;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.jf-primary-nav {
  margin-left: auto;
}

.jf-menu,
.jf-footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.jf-menu {
  display: flex;
  align-items: center;
  gap: 31px;
}

.jf-menu li {
  margin: 0;
  padding: 0;
}

.jf-menu a {
  display: block;
  white-space: nowrap;
  color: rgba(234, 242, 249, 0.76);
  font-size: 14px;
  line-height: 1;
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.jf-menu a:hover,
.jf-menu .current-menu-item > a,
.jf-menu .current_page_item > a {
  color: #fff;
}

.jf-quote {
  width: 128px;
  height: 44px;
  flex: 0 0 128px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--jf-blue);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 180ms ease, transform 180ms ease;
}

.jf-quote:hover {
  background: var(--jf-blue-light);
}

.jf-quote:active,
.jf-footer__contact:active {
  transform: translateY(1px);
}

.jf-footer {
  background: var(--jf-dark);
  color: var(--jf-text);
}

.jf-footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 70px 86px 44px;
}

.jf-footer__grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr 1fr;
  gap: 48px;
}

.jf-footer__brand img {
  width: 176px;
  display: block;
  margin-bottom: 24px;
  filter: brightness(0) invert(1);
}

.jf-footer p {
  max-width: 340px;
  margin: 0;
  color: rgba(234, 242, 249, 0.62);
  font-size: 14px;
  line-height: 1.75;
}

.jf-footer h2 {
  margin: 0 0 20px;
  color: #fff;
  font-family: Manrope, Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
}

.jf-footer-menu li {
  margin: 0 0 12px;
}

.jf-footer-menu a,
.jf-footer__contact {
  color: rgba(234, 242, 249, 0.68);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;
  transition: color 180ms ease;
}

.jf-footer-menu a:hover,
.jf-footer__contact:hover {
  color: #fff;
}

.jf-footer__contact {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-weight: 700;
}

.jf-footer__copyright {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: rgba(234, 242, 249, 0.48);
  font-size: 12px;
  line-height: 1.6;
}

.jafita-managed-page .news-card > a {
  display: block;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.jafita-managed-page .strip-image > a {
  display: block;
  height: 100%;
}

.jafita-managed-page .strip-image > a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 1180px) {
  .jf-header__inner {
    padding: 0 42px;
  }

  .jf-menu {
    gap: 18px;
  }

  .jf-menu a {
    font-size: 13px;
  }

  .jf-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .admin-bar .jf-header {
    top: 46px;
  }

  .jf-header__inner {
    min-height: 76px;
    height: auto;
    padding: 14px 20px;
    gap: 14px;
  }

  .jf-brand img {
    width: 138px;
  }

  .jf-brand__line,
  .jf-brand__tagline,
  .jf-primary-nav {
    display: none;
  }

  .jf-quote {
    width: 108px;
    height: 38px;
    flex-basis: 108px;
    margin-left: auto;
    font-size: 12px;
  }

  .jf-footer__inner {
    padding: 58px 20px 34px;
  }

  .jf-footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .jf-footer__copyright {
    display: block;
    line-height: 1.8;
  }

  .jf-footer__copyright span {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
