/* Nex8 public footer — FOOTER-01, 2026-10-28.
   Shared public pages only. Icon SVGs are inline; no font or third-party dependency. */
.nex8-public-v2 .nex8-footer--premium{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  border-top:1px solid #234660;
  background:linear-gradient(130deg,#071b2d 0%,#061522 56%,#0b293e 100%);
  color:#f5faff;
}
.nex8-public-v2 .nex8-footer--premium::before{
  content:"";
  position:absolute;
  z-index:-1;
  width:640px;
  height:420px;
  top:-250px;
  right:-170px;
  border-radius:50%;
  background:radial-gradient(ellipse,#0d6ca83d,transparent 70%);
  pointer-events:none;
}
.nex8-public-v2 .nex8-footer--premium::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:2px;
  background:linear-gradient(90deg,#018dc6 0%,#147fa7 36%,#e97526 80%,transparent 100%);
  opacity:.85;
  pointer-events:none;
}
.nex8-public-v2 .nex8-footer-sprite{
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
  pointer-events:none;
}
.nex8-public-v2 .nex8-footer--premium svg:not(.nex8-footer-sprite),
.nex8-public-v2 .nex8-whatsapp-float--icon svg{
  display:block;
  width:20px;
  height:20px;
  flex:none;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.nex8-public-v2 .nex8-footer--premium :is(a,button):focus-visible,
.nex8-public-v2 .nex8-whatsapp-float--icon:focus-visible{
  outline:3px solid #ff9c42;
  outline-offset:4px;
}
.nex8-public-v2 .nex8-footer--premium .nex8-footer-grid{
  display:grid;
  grid-template-columns:minmax(210px,1.26fr) minmax(120px,.76fr) minmax(215px,1.16fr) minmax(195px,.97fr);
  align-items:start;
  gap:clamp(24px,3.8vw,58px);
  width:min(1300px,calc(100% - 56px));
  margin:0 auto;
  padding:69px 0 62px;
}
.nex8-public-v2 .nex8-footer-grid>*{min-width:0}
.nex8-public-v2 .nex8-footer-brand-link{
  display:inline-flex;
  align-items:center;
  max-width:100%;
  text-decoration:none;
}
.nex8-public-v2 .nex8-footer-brand-link .nex8-footer-logo{
  display:block;
  width:auto;
  max-width:min(100%,225px);
  max-height:78px;
  margin:0 0 19px;
  object-fit:contain;
}
.nex8-public-v2 .nex8-footer-brand-link .nex8-footer-fallback{
  display:inline-flex;
  align-items:center;
  gap:9px;
  margin:0 0 19px;
  color:#fff;
}
.nex8-public-v2 .nex8-footer-brand-link .nex8-footer-fallback img{
  width:56px;
  height:46px;
  object-fit:contain;
}
.nex8-public-v2 .nex8-footer-brand-link .nex8-footer-fallback strong{
  font-size:1.35rem;
  letter-spacing:-.045em;
}
.nex8-public-v2 .nex8-footer-brand-description{
  max-width:315px;
  margin:0 0 19px;
  color:#d0dee9;
  font-size:clamp(.94rem,1.1vw,1.02rem);
  font-weight:500;
  line-height:1.65;
}
.nex8-public-v2 .nex8-footer-brand-detail{
  display:flex;
  align-items:flex-start;
  gap:10px;
  max-width:320px;
  color:#8aaabc;
  font-size:.76rem;
  line-height:1.7;
}
.nex8-public-v2 .nex8-footer-brand-detail>span{
  width:21px;
  height:3px;
  flex:none;
  margin-top:10px;
  border-radius:8px;
  background:#f0792a;
}
.nex8-public-v2 .nex8-footer-col h2{
  margin:8px 0 22px;
  color:#fff;
  font-size:.95rem;
  line-height:1.25;
  font-weight:790;
  letter-spacing:-.015em;
}
.nex8-public-v2 .nex8-footer-links,
.nex8-public-v2 .nex8-footer-contact-list{
  list-style:none;
  margin:0;
  padding:0;
}
.nex8-public-v2 .nex8-footer-links{
  display:grid;
  gap:10px;
}
.nex8-public-v2 .nex8-footer-links li{min-width:0}
.nex8-public-v2 .nex8-footer-links a{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:3px 0;
  color:#a7bfd0;
  font-size:.86rem;
  line-height:1.45;
  font-weight:550;
  text-decoration:none;
  transition:color .2s ease,transform .2s ease;
}
.nex8-public-v2 .nex8-footer-links a:hover{
  color:#fff;
  transform:translateX(3px);
}
.nex8-public-v2 .nex8-footer-contact-list{
  display:grid;
  gap:10px;
}
.nex8-public-v2 .nex8-footer-contact-list a,
.nex8-public-v2 .nex8-footer-address{
  display:flex;
  align-items:center;
  min-width:0;
  gap:11px;
  padding:11px 12px;
  border:1px solid #25435a;
  border-radius:13px;
  background:#0d2b415c;
  text-decoration:none;
  color:#fff;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.nex8-public-v2 .nex8-footer-contact-list a:hover,
.nex8-public-v2 .nex8-footer-address:hover{
  background:#153952;
  border-color:#36769b;
  transform:translateY(-1px);
}
.nex8-public-v2 .nex8-footer-icon-box{
  display:grid;
  place-items:center;
  flex:none;
  width:37px;
  height:37px;
  border:1px solid #285b78;
  border-radius:11px;
  background:#133d56;
  color:#7ed1fa;
}
.nex8-public-v2 .nex8-footer-icon-box svg{width:18px;height:18px}
.nex8-public-v2 .nex8-footer-contact-list a>span:last-child,
.nex8-public-v2 .nex8-footer-address>span:last-child{
  display:flex;
  flex-direction:column;
  min-width:0;
  gap:3px;
}
.nex8-public-v2 .nex8-footer-contact-list strong,
.nex8-public-v2 .nex8-footer-address strong{
  font-size:.8rem;
  line-height:1.4;
  font-weight:730;
  color:#eef7fd;
  overflow-wrap:anywhere;
}
.nex8-public-v2 .nex8-footer-contact-list small,
.nex8-public-v2 .nex8-footer-address small{
  color:#aac4d5;
  font-size:.75rem;
  line-height:1.45;
  font-weight:500;
  overflow-wrap:anywhere;
}
.nex8-public-v2 .nex8-footer-address{
  align-items:flex-start;
  min-height:92px;
}
.nex8-public-v2 .nex8-footer-address .nex8-footer-icon-box{margin-top:1px}
.nex8-public-v2 .nex8-footer-map-cta{
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin-top:6px;
  color:#7fd6fb;
  font-size:.75rem;
  font-weight:730;
}
.nex8-public-v2 .nex8-footer--premium .nex8-footer-map-cta svg{
  width:14px;
  height:14px;
}
.nex8-public-v2 .nex8-footer-location-note{
  max-width:240px;
  color:#aac4d5;
  font-size:.84rem;
  line-height:1.65;
}
.nex8-public-v2 .nex8-footer-social-block{margin-top:28px}
.nex8-public-v2 .nex8-footer-social-block h3{
  margin:0 0 12px;
  color:#eaf5fb;
  font-size:.78rem;
  font-weight:720;
}
.nex8-public-v2 .nex8-footer-socials{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.nex8-public-v2 .nex8-footer-social-label{display:none}
.nex8-public-v2 .nex8-footer-socials a{
  display:grid;
  place-items:center;
  width:42px;
  height:42px;
  border:1px solid #2a536a;
  border-radius:12px;
  background:#143146;
  color:#d5edfb;
  text-decoration:none;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.nex8-public-v2 .nex8-footer-socials a:hover{
  background:#1d526e;
  border-color:#58a7c9;
  color:#fff;
  transform:translateY(-2px);
}
.nex8-public-v2 .nex8-footer--premium .nex8-footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:13px 24px;
  width:min(1300px,calc(100% - 56px));
  min-height:72px;
  margin:0 auto;
  padding:19px 0 26px;
  border-top:1px solid #2b485b;
  color:#91aabd;
  font-size:.77rem;
  line-height:1.5;
}
.nex8-public-v2 .nex8-footer-bottom-message{
  margin-left:auto;
  color:#8ca8bb;
}
.nex8-public-v2 .nex8-footer-back-to-top{
  display:grid;
  place-items:center;
  width:36px;
  height:36px;
  border:1px solid #356177;
  border-radius:10px;
  background:#102d41;
  color:#bfe7fc;
  text-decoration:none;
  transition:background .2s ease;
}
.nex8-public-v2 .nex8-footer-back-to-top:hover{
  background:#19516f;
}
.nex8-public-v2 .nex8-footer--premium .nex8-footer-back-to-top svg{
  width:17px;
  height:17px;
}
.nex8-public-v2 .nex8-whatsapp-float--icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:48px;
  min-width:0;
  padding:0 16px;
  border:1px solid #ffffff30;
  border-radius:100px;
  background:#129d72;
  color:#fff;
  font-size:.79rem;
  font-weight:760;
  box-shadow:0 11px 23px #002f2355;
  text-decoration:none;
}
.nex8-public-v2 .nex8-whatsapp-float--icon:hover{background:#078a64}
.nex8-public-v2 .nex8-home .nex8-final-cta{
  margin-bottom:0;
}
/* Tablet: two balanced rows, all contact methods remain accessible. */
@media(max-width:1070px){
  .nex8-public-v2 .nex8-footer--premium .nex8-footer-grid{
    grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);
    gap:35px 45px;
    padding:54px 0 47px;
  }
  .nex8-public-v2 .nex8-footer-brand{grid-column:1;grid-row:1}
  .nex8-public-v2 .nex8-footer-navigation{grid-column:2;grid-row:1}
  .nex8-public-v2 .nex8-footer-contact{grid-column:1;grid-row:2}
  .nex8-public-v2 .nex8-footer-location{grid-column:2;grid-row:2}
  .nex8-public-v2 .nex8-footer-links{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
/* FOOTER-02: intentionally compact phone layout, preserving desktop/tablet. */
@media(max-width:680px){
  /* Old Home container reserved 65px after CTA, causing a blank band. */
  .nex8-public-v2 .public-main>.container:has(.nex8-home){
    padding-bottom:18px;
  }
  .nex8-public-v2 .nex8-footer--premium .nex8-footer-grid{
    grid-template-columns:minmax(0,1fr);
    width:calc(100% - 38px);
    gap:0;
    padding:25px 0 14px;
  }
  .nex8-public-v2 .nex8-footer--premium .nex8-footer-grid>*{
    grid-column:1;
    min-width:0;
  }
  .nex8-public-v2 .nex8-footer--premium .nex8-footer-brand{
    grid-row:1;
    padding:0 0 19px;
    border-bottom:1px solid #24465b;
  }
  .nex8-public-v2 .nex8-footer-brand-link .nex8-footer-logo{
    max-width:170px;
    max-height:50px;
    margin:0 0 10px;
  }
  .nex8-public-v2 .nex8-footer-brand-link .nex8-footer-fallback{
    margin:0 0 10px;
  }
  .nex8-public-v2 .nex8-footer-brand-link .nex8-footer-fallback img{
    width:42px;height:37px;
  }
  .nex8-public-v2 .nex8-footer-brand-link .nex8-footer-fallback strong{
    font-size:1.13rem;
  }
  .nex8-public-v2 .nex8-footer-brand-description{
    max-width:360px;
    margin:0;
    font-size:.86rem;
    line-height:1.48;
    color:#c6dae7;
  }
  .nex8-public-v2 .nex8-footer-brand-detail{display:none}
  .nex8-public-v2 .nex8-footer--premium .nex8-footer-contact{
    grid-row:2;
    padding:18px 0 19px;
    border-top:0;
    border-bottom:1px solid #24465b;
  }
  .nex8-public-v2 .nex8-footer--premium .nex8-footer-navigation{
    grid-row:3;
    padding:18px 0 19px;
    border-top:0;
    border-bottom:1px solid #24465b;
  }
  .nex8-public-v2 .nex8-footer--premium .nex8-footer-location{
    grid-row:4;
    padding:18px 0 9px;
    border-top:0;
  }
  .nex8-public-v2 .nex8-footer-col h2{
    margin:0 0 12px;
    font-size:.92rem;
    line-height:1.2;
    font-weight:760;
  }
  .nex8-public-v2 .nex8-footer-contact-list{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:8px;
  }
  .nex8-public-v2 .nex8-footer-contact-list li{min-width:0}
  .nex8-public-v2 .nex8-footer-contact-list .nex8-footer-contact-email{
    grid-column:1/-1;
  }
  .nex8-public-v2 .nex8-footer-contact-list a{
    min-height:54px;
    height:100%;
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 9px;
    border-radius:11px;
    background:#112d4159;
  }
  .nex8-public-v2 .nex8-footer-icon-box{
    width:32px;
    height:32px;
    border-radius:9px;
  }
  .nex8-public-v2 .nex8-footer-icon-box svg{
    width:16px;
    height:16px;
  }
  .nex8-public-v2 .nex8-footer-contact-list strong{
    font-size:.77rem;
    line-height:1.25;
  }
  .nex8-public-v2 .nex8-footer-contact-list small{
    font-size:.71rem;
    line-height:1.3;
    overflow-wrap:anywhere;
  }
  .nex8-public-v2 .nex8-footer-contact-whatsapp a{
    border-color:#236052;
    background:#0f392f;
  }
  .nex8-public-v2 .nex8-footer-contact-whatsapp .nex8-footer-icon-box{
    border-color:#2c7963;
    background:#174c3c;
    color:#7de6bb;
  }
  .nex8-public-v2 .nex8-footer-contact-whatsapp small{
    display:none;
  }
  .nex8-public-v2 .nex8-footer-links{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 12px;
  }
  .nex8-public-v2 .nex8-footer-links a{
    min-height:32px;
    padding:3px 0;
    color:#b7cbd9;
    font-size:.81rem;
    font-weight:560;
    line-height:1.25;
  }
  .nex8-public-v2 .nex8-footer-address{
    min-height:0;
    padding:11px 12px;
    gap:11px;
    border-radius:12px;
  }
  .nex8-public-v2 .nex8-footer-address strong{
    font-size:.8rem;
    line-height:1.35;
  }
  .nex8-public-v2 .nex8-footer-address small{
    font-size:.74rem;
    line-height:1.3;
  }
  .nex8-public-v2 .nex8-footer-map-cta{
    margin-top:2px;
    font-size:.73rem;
  }
  .nex8-public-v2 .nex8-footer-social-block{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:space-between;
    gap:9px 13px;
    margin-top:15px;
  }
  .nex8-public-v2 .nex8-footer-social-block h3{
    margin:0;
    color:#c6dbe8;
    font-size:.8rem;
  }
  .nex8-public-v2 .nex8-footer-socials{gap:7px}
  .nex8-public-v2 .nex8-footer-socials a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    width:auto;
    min-width:42px;
    min-height:39px;
    height:39px;
    padding:0 11px;
    border-radius:11px;
    font-weight:650;
    font-size:.75rem;
  }
  .nex8-public-v2 .nex8-footer-social-label{display:inline}
  .nex8-public-v2 .nex8-footer--premium .nex8-footer-bottom{
    position:relative;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    flex-direction:row;
    flex-wrap:nowrap;
    gap:10px;
    width:calc(100% - 38px);
    min-height:0;
    margin:0 auto;
    padding:15px 50px 65px 0;
    border-top:1px solid #24465b;
    color:#91acbd;
    font-size:.68rem;
    line-height:1.45;
  }
  .nex8-public-v2 .nex8-footer-bottom-message{display:none}
  .nex8-public-v2 .nex8-footer-back-to-top{
    position:absolute;
    right:0;
    top:13px;
    width:35px;
    height:35px;
    border-radius:10px;
  }
  .nex8-public-v2 .nex8-whatsapp-float--icon{
    right:13px;
    bottom:13px;
    width:48px;
    height:48px;
    min-width:48px;
    min-height:48px;
    padding:0;
    border-radius:50%;
  }
  .nex8-public-v2 .nex8-whatsapp-float--icon span{display:none}
  .nex8-public-v2 .nex8-whatsapp-float--icon svg{
    width:22px;
    height:22px;
  }
}
@media(max-width:370px){
  .nex8-public-v2 .nex8-footer--premium .nex8-footer-grid,
  .nex8-public-v2 .nex8-footer--premium .nex8-footer-bottom{
    width:calc(100% - 30px);
  }
  .nex8-public-v2 .nex8-footer-brand-link .nex8-footer-logo{max-width:160px}
  .nex8-public-v2 .nex8-footer-contact-list{grid-template-columns:minmax(0,1fr)}
  .nex8-public-v2 .nex8-footer-contact-list .nex8-footer-contact-email{grid-column:1}
  .nex8-public-v2 .nex8-footer-contact-whatsapp small{display:block}
  .nex8-public-v2 .nex8-footer-contact-list small,
  .nex8-public-v2 .nex8-footer-address small{font-size:.71rem}
}
@media(prefers-reduced-motion:reduce){
  .nex8-public-v2 .nex8-footer--premium :is(a,button){transition:none!important}
}
