/*
Theme Name: Beaver Builder Child Theme
Theme URI: https://urbanjunglellc.com
Version: 1.2.2
Description: Urban Jungle LLC child theme with native header and footer (no Beaver Themer). Adapted from the lending child theme for Management, Operations, Consulting, and Construction.
Author: Urban Jungle LLC
Author URI: https://urbanjunglellc.com
Template: bb-theme
*/

/* ===== UJL native header (replaces Beaver Themer header) ===== */
:root {
  --ujl-navy: #2D3A4B;
  --ujl-sky: #50A9D3;
  --ujl-pink: #E25599;
  --ujl-gold: #EAAA00;
  --ujl-sage: #82BF96;
  --ujl-black: #000000;
  --ujl-menu-muted: #8E99A8;
  --ujl-white: #ffffff;
}

/* Hide stock BB theme header + any leftover Themer chrome */
body.ujl-native-header .fl-page-header,
body.ujl-native-header .fl-page-bar,
body.ujl-native-header header.fl-builder-content[data-type="header"],
body.ujl-native-header .fl-theme-builder-header {
  display: none !important;
}

.ujl-site-header {
  background: var(--ujl-navy);
  color: var(--ujl-white);
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid #464E58;
}

.ujl-site-header__accent {
  height: 6px;
  width: 100%;
  background: linear-gradient(90deg, var(--ujl-gold) 0%, var(--ujl-sky) 50%, var(--ujl-sage) 100%);
}

.ujl-site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px 10px;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px;
  position: relative;
}

.ujl-site-header__logo {
  flex: 0 0 auto;
  line-height: 1.05;
  text-decoration: none !important;
}
.ujl-site-header__logo img {
  display: block;
  width: 110px;
  height: auto;
  max-width: 100%;
}
@media (min-width: 1200px) {
  .ujl-site-header__logo img { width: 120px; }
}

.ujl-site-header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  min-width: 0;
  overflow: visible;
}
.ujl-site-header__actions {
  flex: 0 0 auto;
}
.ujl-site-header__logo {
  flex: 0 0 auto;
}

.ujl-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap !important;
  gap: 0 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.ujl-menu > li {
  margin: 0;
  position: relative;
}
.ujl-menu a {
  color: var(--ujl-menu-muted) !important;
  font-size: 14px !important;
  font-weight: 500;
  text-decoration: none !important;
  letter-spacing: 0.02em;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.ujl-menu a:hover,
.ujl-menu a:focus {
  color: var(--ujl-white) !important;
}
.ujl-menu .current-menu-item > a,
.ujl-menu .current_page_item > a {
  color: var(--ujl-white) !important;
}

/* Submenus if present */
.ujl-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 180px;
  background: var(--ujl-navy);
  border: 1px solid #464E58;
  padding: 8px 0;
  z-index: 1100;
  list-style: none;
  margin: 0;
}
.ujl-menu > li:hover > .sub-menu,
.ujl-menu > li:focus-within > .sub-menu {
  display: block;
}
.ujl-menu .sub-menu a {
  display: block;
  padding: 8px 14px;
}

.ujl-site-header__actions {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-left: auto;
}

.ujl-site-header__phone {
  color: var(--ujl-white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none !important;
  white-space: nowrap;
}
.ujl-site-header__phone:hover {
  color: var(--ujl-sky) !important;
}

.ujl-site-header__apply-wrap {
  position: relative;
  padding-left: 18px;
}
.ujl-site-header__apply-wrap::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 32px;
  background: var(--ujl-gold);
}

.ujl-site-header__apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 9px 14px;
  background: var(--ujl-sky);
  color: var(--ujl-white) !important;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  border-radius: 2px;
  border: 1px solid var(--ujl-sky);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.ujl-site-header__apply:hover,
.ujl-site-header__apply:focus {
  background: transparent;
  color: var(--ujl-sky) !important;
}

.ujl-site-header__license {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ujl-sage);
  letter-spacing: 0.01em;
}

/* Mobile toggle */
.ujl-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.ujl-nav-toggle__bars {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ujl-white);
  position: relative;
}
.ujl-nav-toggle__bars::before,
.ujl-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--ujl-white);
}
.ujl-nav-toggle__bars::before { top: -7px; }
.ujl-nav-toggle__bars::after { top: 7px; }
.ujl-nav-toggle[aria-expanded="true"] .ujl-nav-toggle__bars {
  background: transparent;
}
.ujl-nav-toggle[aria-expanded="true"] .ujl-nav-toggle__bars::before {
  top: 0;
  transform: rotate(45deg);
}
.ujl-nav-toggle[aria-expanded="true"] .ujl-nav-toggle__bars::after {
  top: 0;
  transform: rotate(-45deg);
}

@media (max-width: 1024px) {
  .ujl-site-header__inner {
    flex-wrap: wrap;
    gap: 12px 16px;
  }
  .ujl-nav-toggle {
    display: inline-flex;
    align-items: center;
    order: 2;
  }
  .ujl-site-header__logo { order: 1; }
  .ujl-site-header__actions {
    order: 3;
    margin-left: 0;
  }
  .ujl-site-header__nav {
    order: 4;
    flex: 1 1 100%;
    display: none;
    justify-content: stretch;
  }
  .ujl-site-header__nav.is-open {
    display: block;
  }
  .ujl-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    padding: 8px 0 4px;
  }
  .ujl-menu > li {
    border-top: 1px solid #464E58;
  }
  .ujl-menu a {
    display: block;
    padding: 14px 4px;
    font-size: 18px !important;
    text-align: center;
    color: var(--ujl-white) !important;
  }
  .ujl-menu .current-menu-item > a,
  .ujl-menu .current_page_item > a {
    color: var(--ujl-sky) !important;
  }
  .ujl-menu .sub-menu {
    position: static;
    display: block;
    border: 0;
    padding: 0 0 8px;
  }
  .ujl-site-header__phone {
    font-size: 14px;
  }
  .ujl-site-header__apply {
    min-width: 0;
    padding: 8px 12px;
  }
}

@media (max-width: 480px) {
  .ujl-site-header__actions {
    gap: 10px;
  }
  .ujl-site-header__apply-wrap {
    padding-left: 12px;
  }
  .ujl-site-header__phone {
    font-size: 13px;
  }
}

@media (min-width: 1025px) {
  #ujl-header-menu.ujl-menu {
    flex-wrap: nowrap !important;
    flex-direction: row !important;
  }
  .ujl-site-header__inner {
    flex-wrap: nowrap !important;
  }
  .ujl-menu > li {
    flex: 0 0 auto;
  }
}
@media (max-width: 1024px) {
  #ujl-header-menu.ujl-menu {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
  }
}

/* ===== UJL native footer (replaces Beaver Themer footer) ===== */
body.ujl-native-footer .fl-page-footer-widgets,
body.ujl-native-footer .fl-page-footer,
body.ujl-native-footer footer.fl-builder-content[data-type="footer"],
body.ujl-native-footer .fl-theme-builder-footer {
  display: none !important;
}

.ujl-footer-wrap {
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
}

.ujl-site-footer {
  background: #ffffff;
  color: #000000;
  padding: 40px 0 10px;
}

.ujl-site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 10px;
}

.ujl-site-footer__cols {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 24px 20px;
}

.ujl-site-footer__col--brand { flex: 1 1 40%; max-width: 46%; }
.ujl-site-footer__col--contact { flex: 1 1 30%; max-width: 36%; }
.ujl-site-footer__col--nav { flex: 1 1 24%; max-width: 30%; }
.ujl-site-footer__col--social { flex: 0 0 13%; max-width: 13%; }

.ujl-site-footer__logo {
  display: inline-block;
  line-height: 0;
  margin-bottom: 16px;
}
.ujl-site-footer__logo img {
  display: block;
  width: 208px;
  max-width: 100%;
  height: auto;
}

.ujl-site-footer__nmls {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ujl-site-footer__nmls-icon {
  width: 40px;
  height: auto;
  flex: 0 0 auto;
}
.ujl-site-footer__nmls-text {
  color: #74787B;
  font-size: 14px;
  line-height: 1.45;
}
.ujl-site-footer__nmls-text p {
  margin: 0 0 2px;
}

.ujl-site-footer__heading {
  margin: 0 0 14px;
  padding: 0;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.ujl-site-footer__info {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ujl-site-footer__info li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
  color: #000000;
  font-size: 14px;
  line-height: 1.3;
}
.ujl-site-footer__info img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}
.ujl-site-footer__info a {
  color: #000000 !important;
  text-decoration: none !important;
}
.ujl-site-footer__info a:hover {
  color: #50A9D3 !important;
}

.ujl-site-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ujl-site-footer__nav li {
  margin: 0 0 8px;
}
.ujl-site-footer__nav a {
  color: #74787B !important;
  font-size: 14px;
  text-decoration: none !important;
}
.ujl-site-footer__nav a:hover {
  color: #50A9D3 !important;
  text-decoration: underline !important;
}

.ujl-site-footer__social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}
.ujl-site-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 31px;
  height: 31px;
  background: #272F3A;
  color: #ffffff !important;
  border: 1px solid #272F3A;
  text-decoration: none !important;
  transition: background 0.15s ease, color 0.15s ease;
}
.ujl-site-footer__social a:hover,
.ujl-site-footer__social a:focus {
  background: #ffffff;
  color: #272F3A !important;
}
.ujl-site-footer__social svg {
  display: block;
}

.ujl-site-footer__rule {
  border: 0;
  border-top: 1px solid #BABABA;
  margin: 20px 0 14px;
  height: 0;
}

.ujl-site-footer__copy {
  margin: 0;
  text-align: center;
  color: #74787B;
  font-size: 14px;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .ujl-site-footer__cols {
    flex-wrap: wrap;
  }
  .ujl-site-footer__col--brand,
  .ujl-site-footer__col--contact,
  .ujl-site-footer__col--nav,
  .ujl-site-footer__col--social {
    flex: 1 1 45%;
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .ujl-site-footer {
    padding: 28px 0 8px;
  }
  .ujl-site-footer__cols {
    flex-direction: column;
    gap: 22px;
  }
  .ujl-site-footer__col--brand,
  .ujl-site-footer__col--contact,
  .ujl-site-footer__col--nav,
  .ujl-site-footer__col--social {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .ujl-site-footer__copy {
    font-size: 12px;
  }
}

/* ===== Urban Jungle LLC presentation (same chrome, company facts) ===== */

.ujl-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 3000;
  background: var(--ujl-white);
  color: var(--ujl-black);
  padding: 8px 12px;
  font-weight: 700;
  text-decoration: none;
}
.ujl-skip:focus {
  top: 8px;
  outline: 2px solid var(--ujl-pink);
  outline-offset: 2px;
}

.ujl-wordmark__name {
  display: block;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ujl-site-header__logo .ujl-wordmark__name {
  color: var(--ujl-white);
  font-size: 14px;
}
.ujl-site-header__logo .ujl-wordmark__sub {
  display: block;
  color: var(--ujl-sky);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ujl-site-footer__logo.ujl-wordmark {
  display: inline-block;
  margin-bottom: 16px;
  line-height: 1.15;
  text-decoration: none !important;
}
.ujl-site-footer__logo .ujl-wordmark__name {
  color: var(--ujl-navy);
  font-size: 22px;
}
.ujl-site-footer__logo .ujl-wordmark__sub {
  display: block;
  margin-top: 4px;
  color: #74787B;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 500;
}

.ujl-site-footer__license {
  color: #74787B;
  font-size: 14px;
  line-height: 1.45;
  max-width: 28em;
}
.ujl-site-footer__license p {
  margin: 0 0 2px;
}

.ujl-site-footer__info svg {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  color: var(--ujl-navy);
}
.ujl-site-footer__email {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.ujl-site-footer__email a {
  color: #000000 !important;
  text-decoration: none !important;
}
.ujl-site-footer__email a:hover,
.ujl-site-footer__email a:focus {
  color: var(--ujl-sky) !important;
}

.ujl-site-header a:focus-visible,
.ujl-site-footer a:focus-visible,
.ujllc-service:focus-visible,
.wp-block-button__link:focus-visible,
.ujl-nav-toggle:focus-visible {
  outline: 2px solid var(--ujl-pink);
  outline-offset: 3px;
}

.fl-page-content {
  background: var(--ujl-white);
}

.fl-post-content .ujllc-page {
  padding: 8px 0 36px;
}

.ujllc-hero {
  margin: 8px auto 20px;
  padding: 16px 12px;
  max-width: 680px;
  text-align: center;
  background-color: #f7f7f7;
  background-image: url("images/checkeredbackground.png");
}
.ujllc-hero img {
  display: block;
  width: 640px;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  background: #ffffff;
}

.ujllc-page h1 {
  margin: 0 0 8px;
  color: var(--ujl-navy);
  font-size: 2rem;
  line-height: 1.2;
}
.ujllc-lead {
  margin: 0 0 12px;
  color: var(--ujl-navy);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.4;
}
.ujllc-page p,
.ujllc-page li {
  font-size: 1.02rem;
  line-height: 1.55;
  color: #1c1c1c;
}
.ujllc-page a {
  color: var(--ujl-navy);
}
.ujllc-page a:hover,
.ujllc-page a:focus {
  color: var(--ujl-pink);
}

hr.ujllc-gold-divider,
.ujllc-gold-divider {
  border: 0;
  border-top: 3px solid var(--ujl-gold);
  height: 0;
  opacity: 1;
  margin: 1.25rem 0 1.4rem;
  background: transparent;
}

.ujllc-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 8px 0 22px;
}
.ujllc-service {
  display: block;
  padding: 14px 16px 16px;
  background: #ffffff;
  border-top: 3px solid var(--ujl-gold);
  box-shadow: 0 0 0 1px #e6e6e6;
  text-decoration: none !important;
  color: var(--ujl-navy) !important;
}
.ujllc-service h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  color: var(--ujl-navy);
}
.ujllc-service p {
  margin: 0;
  color: #333333;
  font-size: 0.98rem;
}
.ujllc-service:hover h3,
.ujllc-service:focus h3 {
  color: var(--ujl-pink);
}

.ujllc-inpage {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 18px;
}
.ujllc-inpage a {
  color: var(--ujl-navy);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--ujl-gold);
}
.ujllc-inpage a:hover,
.ujllc-inpage a:focus {
  color: var(--ujl-pink);
}

.ujllc-contact-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}
.ujllc-contact-list li {
  margin: 0 0 10px;
}
.ujllc-page p.ujllc-contact-list a,
.ujllc-contact-list a {
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.3;
}

.wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 8px;
}
.wp-block-button__link,
.ujllc-page .wp-block-button__link {
  background: var(--ujl-sky);
  color: var(--ujl-white) !important;
  border: 1px solid var(--ujl-sky);
  border-radius: 2px;
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none !important;
}
.wp-block-button__link:hover,
.wp-block-button__link:focus {
  background: var(--ujl-navy);
  border-color: var(--ujl-navy);
  color: var(--ujl-white) !important;
}

@media (max-width: 700px) {
  .ujllc-services {
    grid-template-columns: 1fr;
  }
  .ujllc-page h1 {
    font-size: 1.7rem;
  }
  .ujl-site-header__logo .ujl-wordmark__name {
    font-size: 13px;
    letter-spacing: 0.05em;
  }
}
