/* lot4b-ui-footer.css: consolidated from lot4b-ui09-footer.css (same order). Duplicate and overridden declarations removed. */

/* ---- from lot4b-ui09-footer.css ---- */
/* UI09 - CLOSING CTA AND FOOTER */
/* Visual refinements only. Existing links and logic remain unchanged. */
/* ========================================
   1. Closing registration CTA
   ======================================== */
html body #main#main#main section.lot4b-closing-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 38px 20px 44px !important;
  background: #0A1F44 !important;
  background-image: none !important;
  box-sizing: border-box !important;
}
html body #main#main#main
section.lot4b-closing-section .wrap.cta {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
  max-width: 1120px !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 26px 32px !important;
  background: rgba(255,255,255,.065) !important;
  background-image: none !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
html body #main#main#main
.lot4b-closing-section .cta > div {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  min-width: 0 !important;
  text-align: start !important;
}
html body #main#main#main
.lot4b-closing-section .cta h2 {
  margin: 0 !important;
  padding: 0 !important;
  text-align: start !important;
}
html body #main#main#main
.lot4b-closing-section .cta p {
  margin: 0 !important;
  padding: 0 !important;
  opacity: .83 !important;
  text-align: start !important;
}
/* White button on navy background */
html body #main#main#main
.lot4b-closing-section .cta > a.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
  background-image: none !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
  transform: none !important;
}
html body #main#main#main
.lot4b-closing-section .cta > a.btn:hover {
  box-shadow: none !important;
  transform: none !important;
}
html body #main#main#main
.lot4b-closing-section .cta > a.btn:focus-visible {
  outline: 3px solid #93C5FD !important;
  outline-offset: 4px !important;
}
/* ========================================
   2. Footer structure
   ======================================== */
html body footer#footer#footer {
  background: #0A1F44 !important;
  background-image: none !important;
  color: #FFFFFF !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  margin: 0 !important;
}
html body footer#footer#footer .footer-shell {
  margin-inline: auto !important;
  padding: 38px 0 0 !important;
  box-sizing: border-box !important;
}
html body footer#footer#footer .footer-main-grid {
  display: grid !important;
  width: 100% !important;
  padding: 0 0 32px !important;
  background: transparent !important;
  box-shadow: none !important;
}
/* ========================================
   3. Logo and brand description
   ======================================== */
html body footer#footer#footer .footer-brand-column {
  min-width: 0 !important;
  background: transparent !important;
}
html body footer#footer#footer
.footer-brand-lockup.lot4b-footer-brand {
  text-decoration: none !important;
}
html body footer#footer#footer .footer-brand-column > p {
  margin: 0 0 18px !important;
  padding: 0 !important;
  opacity: .78 !important;
  font-weight: 400 !important;
  text-align: start !important;
}
/* ========================================
   4. Footer headings and links
   ======================================== */
html body footer#footer#footer .footer-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  min-width: 0 !important;
  gap: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
html body footer#footer#footer .footer-column-details {
  width: 100% !important;
  min-width: 0 !important;
}
html body footer#footer#footer
.footer-column-details > summary h3 {
  line-height: 1.5 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: start !important;
}
/* Remove old coloured heading underlines */
html body footer#footer#footer
.footer-column h3::after {
  display: none !important;
  content: none !important;
}
html body footer#footer#footer .footer-column-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  padding: 0 !important;
}
html body footer#footer#footer
.footer-column-links > a {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-height: 32px !important;
  padding: 4px 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: .77 !important;
  text-align: start !important;
  white-space: normal !important;
  text-decoration: none !important;
  overflow-wrap: break-word !important;
}
html body footer#footer#footer
.footer-column-links > a:hover {
  transform: none !important;
}
/* ========================================
   5. Social icons
   ======================================== */
html body footer#footer#footer
.footer-social-compact {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
}
html body footer#footer#footer
.footer-social-compact .social-link {
  display: grid !important;
  place-items: center !important;
  padding: 0 !important;
  opacity: 1 !important;
  transform: none !important;
}
html body footer#footer#footer
.footer-social-compact .social-link:hover {
  transform: none !important;
}
html body footer#footer#footer
.footer-social-compact .social-link svg {
  color: inherit !important;
}
/* ========================================
   6. Bottom copyright row
   ======================================== */
html body footer#footer#footer
.footer-bottom-modern {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 10px 24px !important;
  margin: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12.5px !important;
  line-height: 1.6 !important;
}
html body footer#footer#footer
.footer-bottom-modern > span {
  opacity: .75 !important;
}
html body footer#footer#footer
.footer-bottom-modern .footer-bottom-meta {
  margin-inline-start: auto !important;
  opacity: .65 !important;
}
/* Keyboard navigation */
html body footer#footer#footer
:is(a,summary):focus-visible {
  outline: 3px solid #93C5FD !important;
  outline-offset: 3px !important;
  border-radius: 5px !important;
}
/* ========================================
   7. Tablet responsive
   ======================================== */
@media (min-width: 681px) and (max-width: 1020px) {
  html body footer#footer#footer .footer-main-grid {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
    gap: 28px 32px !important;
  }
  html body footer#footer#footer .footer-brand-column {
    grid-column: 1 / -1 !important;
  }
}
/* ========================================
   8. Mobile responsive
   ======================================== */
@media (max-width: 680px) {
  html body #main#main#main
    section.lot4b-closing-section {
    padding: 26px 14px 32px !important;
  }
  html body #main#main#main
    .lot4b-closing-section .wrap.cta {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px !important;
    padding: 23px 18px !important;
    border-radius: 15px !important;
    text-align: center !important;
  }
  html body #main#main#main
    .lot4b-closing-section .cta > div {
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
  }
  html body #main#main#main
    .lot4b-closing-section .cta h2 {
    font-size: 23px !important;
    text-align: center !important;
  }
  html body #main#main#main
    .lot4b-closing-section .cta p {
    font-size: 13.5px !important;
    text-align: center !important;
  }
  html body #main#main#main
    .lot4b-closing-section .cta > a.btn {
    width: 100% !important;
    max-width: 300px !important;
    min-height: 48px !important;
  }
  html body footer#footer#footer .footer-shell {
    width: calc(100% - 32px) !important;
    padding-top: 28px !important;
  }
  html body footer#footer#footer .footer-main-grid {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 18px !important;
    padding-bottom: 22px !important;
  }
  html body footer#footer#footer .footer-brand-column,
    html body footer#footer#footer .footer-column {
    grid-column: auto !important;
    min-width: 0 !important;
  }
  /* Preserve functional mobile details accordions */
  html body footer#footer#footer .footer-column {
    padding: 0 0 7px !important;
    border-bottom: 1px solid rgba(255,255,255,.12) !important;
  }
  html body footer#footer#footer
    .footer-column-details > summary {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    min-height: 48px !important;
    padding: 7px 0 !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
  }
  html body footer#footer#footer .footer-column-links {
    margin-top: 0 !important;
    padding-bottom: 8px !important;
    gap: 1px !important;
  }
  html body footer#footer#footer
    .footer-column-links > a {
    width: 100% !important;
    min-height: 44px !important;
    padding: 10px 0 !important;
  }
  html body footer#footer#footer
    .footer-bottom-modern {
    align-items: flex-start !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    gap: 6px !important;
    padding: 16px 0 20px !important;
  }
  html body footer#footer#footer
    .footer-bottom-meta {
    margin-inline-start: 0 !important;
  }
}
/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html body #main#main#main
    .lot4b-closing-section .btn,
    html body footer#footer#footer
    :is(a,summary) {
    transition: none !important;
    animation: none !important;
  }
}
/* =========================================================
   UI09B - DARKER NAVY FOOTER TUNE
   Refine closing CTA + footer to match Lot4B navy identity
   ========================================================= */
html body #main#main#main section.lot4b-closing-section,
html body footer#footer#footer {
  background: #0A1F44 !important;
  background-image: none !important;
}
/* Slightly stronger visual separation between CTA section and footer body */
html body #main#main#main section.lot4b-closing-section {
  padding-top: 34px !important;
  padding-bottom: 36px !important;
  border-top: 1px solid rgba(255,255,255,.05) !important;
}
html body #main#main#main .lot4b-closing-section .wrap.cta {
  max-width: 1160px !important;
  min-height: 158px !important;
  padding: 26px 34px !important;
  background: #0A1F44 !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  border-radius: 24px !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04) !important;
}
html body #main#main#main .lot4b-closing-section .cta > div {
  gap: 6px !important;
}
html body #main#main#main .lot4b-closing-section .cta h2 {
  color: #FFFFFF !important;
  font-size: clamp(34px, 3.3vw, 58px) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}
html body #main#main#main .lot4b-closing-section .cta p {
  color: rgba(255,255,255,.82) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}
html body #main#main#main .lot4b-closing-section .cta > a.btn {
  min-width: 210px !important;
  min-height: 52px !important;
  padding: 12px 26px !important;
  background: #FFFFFF !important;
  border: 1px solid #FFFFFF !important;
  color: #0A1F44 !important;
  border-radius: 14px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  box-shadow: none !important;
}
html body #main#main#main .lot4b-closing-section .cta > a.btn:hover {
  background: #F8FAFC !important;
  border-color: #F8FAFC !important;
  color: #0A1F44 !important;
}
/* Footer main shell */
html body footer#footer#footer .footer-shell {
  width: calc(100% - 54px) !important;
  max-width: 1240px !important;
  padding-top: 34px !important;
}
html body footer#footer#footer .footer-main-grid {
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, .88fr)) !important;
  gap: 38px 42px !important;
  padding-bottom: 28px !important;
  align-items: start !important;
}
/* Brand / logo area */
html body footer#footer#footer .footer-brand-column {
  max-width: 100% !important;
}
html body footer#footer#footer .footer-brand-lockup.lot4b-footer-brand {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 0 18px !important;
}
html body footer#footer#footer .footer-brand-lockup.lot4b-footer-brand img {
  object-fit: contain !important;
  image-rendering: auto !important;
}
html[lang="en"] body footer#footer#footer .footer-brand-lockup.lot4b-footer-brand img {
  height: 64px !important;
}
html body footer#footer#footer .footer-brand-column > p {
  max-width: 430px !important;
  color: rgba(255,255,255,.80) !important;
  font-size: 13.5px !important;
  line-height: 1.9 !important;
}
/* Footer headings */
html body footer#footer#footer .footer-column-details > summary h3 {
  color: #FFFFFF !important;
  font-size: 15px !important;
  font-weight: 900 !important;
}
html body footer#footer#footer .footer-column-links {
  gap: 7px !important;
  margin-top: 14px !important;
}
html body footer#footer#footer .footer-column-links > a {
  color: rgba(255,255,255,.78) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
}
html body footer#footer#footer .footer-column-links > a:hover {
  color: #93C5FD !important;
  opacity: 1 !important;
}
/* Social icons */
html body footer#footer#footer .footer-social-compact {
  gap: 10px !important;
}
html body footer#footer#footer .footer-social-compact .social-link {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  background: rgba(255,255,255,.05) !important;
  color: #FFFFFF !important;
  box-shadow: none !important;
}
html body footer#footer#footer .footer-social-compact .social-link:hover {
  background: rgba(147,197,253,.12) !important;
  border-color: #93C5FD !important;
  color: #93C5FD !important;
}
html body footer#footer#footer .footer-social-compact .social-link svg {
  width: 22px !important;
  height: 22px !important;
}
/* Copyright row */
html body footer#footer#footer .footer-bottom-modern {
  min-height: 54px !important;
  padding: 15px 0 18px !important;
  border-top: 1px solid rgba(255,255,255,.10) !important;
  color: rgba(255,255,255,.72) !important;
}
html body footer#footer#footer .footer-bottom-modern > span {
  color: rgba(255,255,255,.75) !important;
}
html body footer#footer#footer .footer-bottom-modern .footer-bottom-meta {
  color: rgba(255,255,255,.60) !important;
}
/* Mobile refinement */
@media (max-width: 780px) {
  html body #main#main#main section.lot4b-closing-section {
    padding: 24px 14px 30px !important;
  }
  html body #main#main#main .lot4b-closing-section .wrap.cta {
    padding: 22px 18px !important;
    min-height: 0 !important;
    border-radius: 18px !important;
  }
  html body #main#main#main .lot4b-closing-section .cta h2 {
    font-size: clamp(28px, 7vw, 38px) !important;
    text-align: center !important;
  }
  html body #main#main#main .lot4b-closing-section .cta p {
    text-align: center !important;
    font-size: 13.5px !important;
  }
  html body #main#main#main .lot4b-closing-section .cta > a.btn {
    width: 100% !important;
    max-width: 290px !important;
    min-width: 0 !important;
  }
  html body footer#footer#footer .footer-shell {
    width: calc(100% - 30px) !important;
    padding-top: 28px !important;
  }
  html body footer#footer#footer .footer-main-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding-bottom: 20px !important;
  }
  html body footer#footer#footer .footer-brand-lockup.lot4b-footer-brand {
    padding: 8px 14px !important;
    border-radius: 16px !important;
  }
  html body footer#footer#footer .footer-column-links > a {
    min-height: 44px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body #main#main#main .lot4b-closing-section .cta > a.btn,
    html body footer#footer#footer :is(a, summary) {
    transition: none !important;
    animation: none !important;
  }
}
/* =========================================================
   UI09C - REMOVE LOGO WHITE BACKGROUND
   ========================================================= */
html body footer#footer#footer .footer-brand-lockup.lot4b-footer-brand {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
html body footer#footer#footer .footer-brand-lockup.lot4b-footer-brand:hover,
html body footer#footer#footer .footer-brand-lockup.lot4b-footer-brand:focus,
html body footer#footer#footer .footer-brand-lockup.lot4b-footer-brand:focus-visible {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  outline: none !important;
}
html body footer#footer#footer .footer-brand-lockup.lot4b-footer-brand img {
  width: 190px !important;
  height: auto !important;
  max-width: 100% !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  display: block !important;
}
@media (max-width: 780px) {
  html body footer#footer#footer .footer-brand-lockup.lot4b-footer-brand img {
    width: 170px !important;
    height: auto !important;
  }
}
/* Back-to-top sits above the floating contact button wherever that button
   stays in the corner (it moves up only at <=700px, customer-presentation.css:20). */
@media (min-width: 701px) {
  body:has(> .general-contact) .back-top {
    bottom: 84px;           /* 24px chat offset + 48px chat + 12px gap */
    inset-inline-end: 22px; /* centres the 44px button on the 48px chat (20 + 2) */
  }
}
