.lang{
  display:flex;
  gap:6px;
  padding:5px;
  border:1px solid rgba(111,19,91,.14);
  border-radius:999px;
  background:rgba(255,255,255,.9);
  box-shadow:0 10px 28px rgba(39,20,39,.08);
  backdrop-filter:blur(12px);
}
.lang button{
  border:0;
  background:transparent;
  color:#766e79;
  font-family:inherit;
  font-weight:900;
  font-size:11px;
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
  display:flex;
  align-items:center;
  gap:7px;
  transition:.2s;
}
.lang button:hover{
  background:rgba(111,19,91,.08);
  color:#6f135b;
}
.lang button.active{
  background:#6f135b;
  color:white;
  box-shadow:0 8px 18px rgba(111,19,91,.22);
}
.flag{
  width:18px;
  height:12px;
  border-radius:2px;
  display:inline-block;
  box-shadow:0 0 0 1px rgba(0,0,0,.12);
}
.flag-es{
  background:linear-gradient(#c60b1e 0 25%,#ffc400 25% 75%,#c60b1e 75%);
}
.flag-us{
  background:linear-gradient(#b22234 0 14%,#fff 14% 28%,#b22234 28% 42%,#fff 42% 56%,#b22234 56% 70%,#fff 70% 84%,#b22234 84%);
  position:relative;
}
.flag-us:before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  width:8px;
  height:7px;
  background:#3c3b6e;
}
.flag-fr{
  background:linear-gradient(90deg,#002395 0 33%,#fff 33% 66%,#ed2939 66%);
}
@media(max-width:720px){
  .lang{
    transform:scale(.92);
    transform-origin:right center;
  }
}

.header-right{
  display:flex;
  align-items:center;
  gap:22px;
  margin-left:auto;
}

header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:30px;
}

nav{
  display:flex;
  align-items:center;
  gap:24px;
}

@media(max-width:980px){

.header-right{
  width:100%;
  justify-content:space-between;
}

nav{
  overflow:auto;
  white-space:nowrap;
  gap:18px;
}

}


.menu a{
  border-radius:999px;
  padding:9px 12px !important;
  transition:.22s;
}

.menu a:hover{
  background:rgba(111,19,91,.08);
  color:#6f135b !important;
}

.menu a.active{
  background:#6f135b;
  color:#fff !important;
  box-shadow:0 10px 22px rgba(111,19,91,.22);
}


.mega-footer{
  background:
    linear-gradient(135deg,rgba(20,9,22,.97),rgba(55,18,47,.95)),
    url("/assets/images/real/city-international-team.jpeg") center/cover no-repeat;
  color:white;
  margin-top:120px;
}

.footer-top{
  max-width:1400px;
  margin:auto;
  padding:90px 34px 70px;
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr;
  gap:50px;
}

.footer-brand img{
  width:82px;
  margin-bottom:18px;
}

.footer-brand h3{
  font-size:32px;
  margin:0 0 16px;
}

.footer-brand p{
  max-width:420px;
  color:#e9dce8;
  line-height:1.85;
  font-size:16px;
}

.footer-column h4{
  margin:0 0 20px;
  color:white;
  font-size:15px;
  letter-spacing:1px;
  text-transform:uppercase;
}

.footer-column{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.footer-column a{
  color:#e6dbe5;
  transition:.22s;
}

.footer-column a:hover{
  color:white;
  transform:translateX(4px);
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,.12);
  padding:24px 34px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  flex-wrap:wrap;
  color:#d8c9d7;
  font-size:14px;
}

.footer-line{
  flex:1;
  height:1px;
  background:rgba(255,255,255,.14);
  min-width:80px;
}

@media(max-width:1000px){

  .footer-top{
    grid-template-columns:1fr;
  }

}


.mobile-menu-btn{
  display:none;
  border:0;
  background:#6f135b;
  color:white;
  border-radius:999px;
  padding:10px 14px;
  font-weight:900;
  cursor:pointer;
}

@media(max-width:1100px){
  .mobile-menu-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
  }

  .menu-wrap{
    position:absolute;
    top:86px;
    left:22px;
    right:22px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(111,19,91,.14);
    border-radius:24px;
    padding:20px;
    box-shadow:0 24px 70px rgba(39,20,39,.16);
    backdrop-filter:blur(18px);
  }

  .menu-wrap.open{
    display:flex;
  }

  .menu{
    display:flex !important;
    flex-direction:column;
    gap:8px;
  }

  .menu a{
    width:100%;
  }

  .lang{
    align-self:flex-start;
    margin-top:10px;
  }
}

@media(max-width:1100px){
  .nav{
    position:relative;
    flex-wrap:wrap;
  }

  .mobile-menu-btn{
    margin-left:auto;
    display:inline-flex !important;
    align-items:center;
    gap:8px;
    z-index:200;
  }

  .menu-wrap{
    position:fixed !important;
    top:86px !important;
    left:14px !important;
    right:14px !important;
    max-height:calc(100vh - 110px);
    overflow-y:auto;
    display:none !important;
    flex-direction:column;
    align-items:stretch;
    background:rgba(255,255,255,.98);
    border:1px solid rgba(111,19,91,.14);
    border-radius:24px;
    padding:18px;
    box-shadow:0 24px 70px rgba(39,20,39,.22);
    backdrop-filter:blur(18px);
    z-index:9999;
  }

  .menu-wrap.open{
    display:flex !important;
  }

  .menu{
    display:flex !important;
    flex-direction:column !important;
    gap:8px !important;
    width:100%;
  }

  .menu a{
    display:block;
    width:100%;
    padding:13px 16px !important;
    border-radius:16px !important;
    background:rgba(111,19,91,.04);
  }

  .menu a.active{
    background:#6f135b !important;
    color:white !important;
  }

  .lang{
    margin-top:14px;
    align-self:flex-start;
  }
}

/* FIX GLOBAL HEADER UNIFICADO */
.header{
  position:sticky !important;
  top:0 !important;
  z-index:100 !important;
  background:rgba(255,255,255,.9) !important;
  backdrop-filter:blur(18px) !important;
  border-bottom:1px solid rgba(111,19,91,.12) !important;
}

.nav{
  max-width:1400px !important;
  margin:auto !important;
  padding:16px 34px !important;
  display:flex !important;
  justify-content:space-between !important;
  align-items:center !important;
  gap:24px !important;
}

.brand{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
}

.brand img{
  width:54px !important;
  height:54px !important;
  object-fit:contain !important;
}

.brand strong{
  color:#6f135b !important;
  font-size:20px !important;
  line-height:1 !important;
}

.brand-text span{
  display:block !important;
  color:#7b7280 !important;
  font-size:10px !important;
  font-weight:700 !important;
  text-transform:uppercase !important;
  letter-spacing:2.2px !important;
  margin-top:5px !important;
}

.menu-wrap{
  display:flex !important;
  align-items:center !important;
  gap:20px !important;
}

.menu{
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  font-size:12px !important;
  text-transform:uppercase !important;
  letter-spacing:.75px !important;
  font-weight:900 !important;
}

@media(max-width:1100px){
  .menu-wrap{
    display:none !important;
  }

  .menu-wrap.open{
    display:flex !important;
  }
}

/* HEADER FINAL UNIFICADO */
.header .nav{
  max-width:1400px !important;
  margin:0 auto !important;
  padding:16px 34px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:24px !important;
}

.header .brand{
  display:flex !important;
  align-items:center !important;
  gap:14px !important;
  flex-shrink:0 !important;
}

.header .brand img{
  width:54px !important;
  height:54px !important;
  object-fit:contain !important;
}

.header .brand strong{
  color:#6f135b !important;
  font-size:20px !important;
  line-height:1 !important;
  white-space:nowrap !important;
}

.header .menu-wrap{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:18px !important;
}

.header .menu{
  display:flex !important;
  align-items:center !important;
  gap:8px !important;
  font-size:11px !important;
  text-transform:uppercase !important;
  letter-spacing:.65px !important;
  font-weight:900 !important;
}

.header .menu a{
  padding:9px 10px !important;
  border-radius:999px !important;
  white-space:nowrap !important;
}

.header .menu a.active{
  background:#6f135b !important;
  color:#fff !important;
}

@media(max-width:1100px){
  .header .nav{
    position:relative !important;
  }

  .header .menu-wrap{
    position:fixed !important;
    top:86px !important;
    left:14px !important;
    right:14px !important;
    display:none !important;
    flex-direction:column !important;
    align-items:stretch !important;
    background:rgba(255,255,255,.98) !important;
    border:1px solid rgba(111,19,91,.14) !important;
    border-radius:24px !important;
    padding:18px !important;
    box-shadow:0 24px 70px rgba(39,20,39,.22) !important;
    z-index:99999 !important;
  }

  .header .menu-wrap.open{
    display:flex !important;
  }

  .header .menu{
    flex-direction:column !important;
    align-items:stretch !important;
    width:100% !important;
  }

  .header .menu a{
    width:100% !important;
    padding:13px 16px !important;
    background:rgba(111,19,91,.04) !important;
  }
}
