/* Shared SmartStructure gold footer. Keep this aligned with the homepage footer. */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.footer-logo img {
  object-fit: cover;
}

.footer-logo-reg {
  position: relative;
  top: -.9em;
  left: -.15em;
  margin-left: -6px;
  color: #0A3BA8;
  font-size: 10px;
  font-weight: 700;
  vertical-align: baseline;
}

footer {
  --foot-navy: #061A42;
  --foot-navy-soft: rgba(6, 26, 66, .85);
  --foot-navy-faint: rgba(6, 26, 66, .3);
  background-color: #F6B93B;
  background-image: url('../../FUT2.png'), url('../../DUT3.png'), url('../../FUT1.png');
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: top left, top right, bottom center;
  background-size: 320px auto, 420px auto, 100% auto;
  padding: 0;
  text-align: left;
  position: relative;
  overflow: hidden;
  color: var(--foot-navy);
}

.footer-top {
  position: relative;
  z-index: 1;
  max-width: 1760px;
  margin: 0 auto;
  padding: 56px 48px 40px;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr;
  gap: 32px;
}

.footer-brand .footer-logo {
  justify-content: flex-start;
  margin-bottom: 4px;
}

.footer-logo {
  text-decoration: none;
}

.footer-logo img {
  height: 46px;
  width: 46px;
  border-radius: 8px;
}

.footer-logo span {
  font-family: 'Anton', 'Plus Jakarta Sans', sans-serif;
  font-size: 34px;
  font-weight: 400;
  text-transform: uppercase;
  color: #0A3BA8;
  letter-spacing: .5px;
  line-height: 1;
}

.footer-logo em {
  color: #0A3BA8;
  font-style: normal;
}

.footer-motto {
  font-size: 17px;
  font-weight: 700;
  color: #1B4BD1;
  margin: 0 0 14px 56px;
}

.footer-tagline-bar {
  display: block;
  width: 40px;
  height: 3px;
  border-radius: 2px;
  background: var(--foot-navy);
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 16px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.6;
  margin-bottom: 10px;
  max-width: 360px;
}

.footer-tagline strong {
  color: #123B96;
  font-weight: 800;
}

.footer-desc {
  font-size: 15px;
  color: rgba(20, 20, 20, .75);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 360px;
}

.footer-brand .footer-socials {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-socials a {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: var(--foot-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all .2s ease;
}

.footer-socials a svg {
  width: 25px;
  height: 25px;
  display: block;
}

.footer-socials a:hover {
  background: #123B96;
  color: #fff !important;
  transform: translateY(-3px);
}

.footer-col {
  border-left: 1px solid rgba(10, 46, 110, .18);
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.footer-col-title {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: var(--foot-navy);
  margin-bottom: 10px;
}

.footer-col-bar {
  display: block;
  width: 24px;
  height: 3px;
  border-radius: 2px;
  background: var(--foot-navy);
  margin-bottom: 18px;
}

.footer-col a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  color: rgba(15, 30, 70, .88);
  text-decoration: none;
  margin-bottom: 15px;
  transition: color .2s ease, transform .2s ease;
  max-width: 100%;
}

.footer-col a .ficon {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  color: var(--foot-navy);
  opacity: .85;
}

.footer-col a:hover {
  color: #08245C;
  transform: translateX(4px);
}

.footer-col a:hover .ficon {
  opacity: 1;
}

.footer-newsletter-desc {
  font-size: 14.5px;
  color: rgba(15, 30, 70, .8);
  line-height: 1.6;
  margin-bottom: 16px;
}

.footer-subscribe {
  display: flex;
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .55);
  border: 1px solid rgba(10, 46, 110, .3);
  margin-bottom: 18px;
}

.footer-subscribe input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  padding: 13px 14px;
  font-size: 16px;
  color: #0A2E6E;
  font-family: inherit;
}

.footer-subscribe input::placeholder {
  color: rgba(10, 46, 110, .55);
}

.footer-subscribe button {
  border: none;
  background: var(--foot-navy);
  color: #fff;
  font-weight: 800;
  font-size: 13.5px;
  letter-spacing: .4px;
  padding: 0 18px;
  cursor: pointer;
  transition: background .2s ease;
  font-family: inherit;
}

.footer-subscribe button:hover {
  background: #123B96;
}

.footer-divider {
  height: 1px;
  background: rgba(10, 46, 110, .25);
  margin: 4px 0 18px;
}

.footer-app-badges {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-app-badge {
  display: flex !important;
  align-items: center;
  gap: 9px;
  background: var(--foot-navy);
  border: 1px solid rgba(10, 46, 110, .3);
  border-radius: 9px;
  padding: 8px 13px;
  margin-bottom: 0 !important;
  width: auto;
  transition: transform .2s ease, background .2s ease;
}

.footer-app-badge:hover {
  background: #123B96;
  transform: translateY(-2px);
}

.footer-app-badge svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #fff;
}

.footer-app-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  font-size: 9.5px;
  color: #cfd6e6;
  text-transform: uppercase;
  letter-spacing: .3px;
}

.footer-app-badge span strong {
  font-size: 15px;
  color: #fff;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.footer-bottom {
  position: relative;
  z-index: 1;
  max-width: 1760px;
  margin: 0 auto;
  padding: 20px 48px;
  border-top: 1px solid rgba(10, 46, 110, .22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-copy {
  font-size: 14.5px;
  color: rgba(15, 30, 70, .8);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links a {
  font-size: 14.5px;
  color: rgba(15, 30, 70, .8);
  text-decoration: none;
  position: relative;
  transition: color .2s ease;
}

.footer-bottom-links a:hover {
  color: var(--foot-navy);
}

.footer-bottom-links a:not(:last-child)::after {
  content: '|';
  position: absolute;
  right: -10px;
  color: rgba(10, 46, 110, .35);
}

@media (max-width: 980px) {
  .footer-top {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
    border-left: none;
    padding-left: 0;
    margin-bottom: 8px;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
    border-left: none;
    padding-left: 0;
    margin-top: 8px;
  }

  .footer-subscribe {
    max-width: 420px;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    padding: 48px 20px 32px;
    gap: 28px 20px;
  }

  .footer-col {
    border-left: none;
    padding-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 76px 82px 20px;
  }

  .footer-bottom-links {
    gap: 12px 16px;
  }

}


.footer-app-badge.footer-app-badge--img {
  background: none !important;
  border: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

.footer-app-badge.footer-app-badge--img:hover {
  background: none !important;
}

.footer-app-badge.footer-app-badge--img img {
  height: 40px;
  width: auto;
  display: block;
}


/* Shared mobile footer accordions. Navigation stays expanded without JS. */
.footer-col-details { display: contents; }
.footer-col-details summary { display: contents; list-style: none; }
.footer-col-details summary::-webkit-details-marker,
.footer-col-details summary::marker { display: none; content: ''; }
.footer-col-summary { display: flex; align-items: center; justify-content: space-between; }
.footer-col-chevron { display: none; width: 20px; height: 20px; flex: 0 0 auto; transition: transform .2s ease; }
.footer-col-details[open] .footer-col-chevron { transform: rotate(180deg); }
.footer-col-body { display: contents; }

@media (max-width: 640px) {
  .footer-col-details { display: block; }
  .footer-col-details summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; }
  .footer-col-summary { width: 100%; padding: 6px 0; }
  .footer-col-chevron { display: block; }
  .footer-col-body { display: block; padding-top: 2px; }
}


/* Use the WhatsApp brand mark instead of text/emoji substitutes. */
.floating-wa::before { content: none !important; }
.floating-wa-icon {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: #fff;
}


/* Compact legal card for the phone footer. */
@media (max-width: 640px) {
  footer .footer-bottom {
    box-sizing: border-box;
    width: auto;
    margin: 0 12px;
    padding: 22px 14px calc(84px + env(safe-area-inset-bottom)) !important;
    gap: 16px !important;
    align-items: center !important;
    border: 1px solid rgba(10, 46, 110, .13);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(255, 255, 255, .18);
    box-shadow: 0 -8px 28px rgba(10, 46, 110, .06);
    text-align: center;
  }

  footer .footer-copy {
    width: 100%;
    color: rgba(10, 32, 75, .82);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.45;
    text-align: center;
  }

  footer .footer-bottom-links {
    width: 100%;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
  }

  footer .footer-bottom-links a {
    min-height: 42px;
    padding: 8px 9px;
    justify-content: center;
    border: 1px solid rgba(10, 46, 110, .12);
    border-radius: 11px;
    background: rgba(255, 255, 255, .34);
    color: #0a2e6e;
    font-size: 12.5px;
    font-weight: 650;
    line-height: 1.25;
    text-align: center;
  }

  footer .footer-bottom-links a::after {
    display: none !important;
  }

  footer .footer-bottom-links a:last-child:nth-child(odd) {
    width: min(100%, 180px);
    grid-column: 1 / -1;
    justify-self: center;
  }

  footer .footer-bottom-links a:hover,
  footer .footer-bottom-links a:focus-visible {
    border-color: rgba(10, 46, 110, .28);
    background: rgba(255, 255, 255, .58);
    color: #061f52;
  }
}


/* Mobile keeps only the copyright; legal links remain available on desktop. */
@media (max-width: 640px) {
  footer .footer-bottom {
    min-height: 70px;
    margin: 0;
    padding: 18px 76px calc(18px + env(safe-area-inset-bottom)) 18px !important;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, .12);
    box-shadow: none;
  }

  footer .footer-copy {
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
  }

  footer .footer-bottom-links {
    display: none !important;
  }
}
