/* ======================================================
   EVLI SAFE RECOVER — no invasivo
   Recupera header, logo, hero y secciones visibles
   ====================================================== */

/* Forzar contenido visible si algún parche dejó reveal oculto */
.reveal,
.v16-hero-content,
.v16-section,
.v16-wrap,
.v16-card,
.v16-entry,
.v16-products,
.v16-system,
.v16-two,
.v16-head{
  opacity:1 !important;
  visibility:visible !important;
  transform:none !important;
}

/* Header estable */
.nav-wrap{
  position:relative !important;
  z-index:80 !important;
  padding-top:20px !important;
  background:#f8f3e9 !important;
}

.nav{
  width:min(1220px,92vw) !important;
  margin:0 auto !important;
  min-height:78px !important;
  padding:8px 18px 8px 24px !important;
  border-radius:34px !important;
  background:rgba(255,253,247,.97) !important;
  border:1px solid rgba(7,59,48,.08) !important;
  box-shadow:0 18px 48px rgba(7,43,35,.08) !important;
  display:grid !important;
  grid-template-columns:260px 1fr auto !important;
  align-items:center !important;
  gap:20px !important;
}

/* Logo oficial, sin recorte raro */
.evli-safe-brand{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  width:260px !important;
  min-width:260px !important;
  text-decoration:none !important;
  overflow:hidden !important;
}

.evli-safe-logo{
  display:block !important;
  width:auto !important;
  height:54px !important;
  max-width:155px !important;
  object-fit:contain !important;
  flex:0 0 auto !important;
}

/* Tagline limpio */
.evli-safe-tagline{
  display:block !important;
  color:#5f6f68 !important;
  font-size:9.5px !important;
  font-weight:950 !important;
  letter-spacing:.18em !important;
  text-transform:uppercase !important;
  white-space:nowrap !important;
  line-height:1 !important;
}

/* Ocultar restos de logos recortados anteriores */
.evli-final-logo,
.evli-symbol-nav,
.brand-logo,
.evli-logo-nav,
.brand-copy,
.evli-brand-words{
  display:none !important;
}

/* Menú */
.nav-links{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:24px !important;
  white-space:nowrap !important;
}

.nav-links a{
  font-size:14px !important;
  font-weight:900 !important;
  color:#14382f !important;
  text-decoration:none !important;
}

.nav-actions{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:12px !important;
  white-space:nowrap !important;
}

.nav-actions .btn{
  min-height:48px !important;
  padding:0 22px !important;
  font-size:15.5px !important;
  font-weight:950 !important;
}

.cart-button{
  width:48px !important;
  height:48px !important;
  border-radius:999px !important;
}

/* Hero compacto y con contenido visible */
.v16-hero{
  min-height:660px !important;
  display:flex !important;
  align-items:center !important;
  overflow:hidden !important;
  background:#052d25 !important;
  position:relative !important;
}

.v16-hero-img{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  object-position:center right !important;
  filter:saturate(.88) contrast(.96) brightness(.82) !important;
  z-index:0 !important;
}

.v16-hero:before{
  content:"" !important;
  position:absolute !important;
  inset:0 !important;
  z-index:1 !important;
  background:
    linear-gradient(90deg,rgba(3,36,29,.93),rgba(3,36,29,.70) 44%,rgba(3,36,29,.20)),
    radial-gradient(circle at 17% 34%,rgba(231,200,97,.13),transparent 28%) !important;
}

.v16-hero-content{
  position:relative !important;
  z-index:3 !important;
  max-width:650px !important;
  padding-top:72px !important;
  padding-bottom:72px !important;
  display:block !important;
}

.v16-hero h1{
  max-width:620px !important;
  font-size:clamp(48px,5.2vw,78px) !important;
  line-height:.96 !important;
  letter-spacing:-.046em !important;
  margin:20px 0 20px !important;
  color:#fff !important;
}

.v16-hero h1 span{
  color:#f2d66f !important;
}

.v16-hero p{
  max-width:610px !important;
  font-size:18.5px !important;
  line-height:1.52 !important;
  margin:0 0 24px !important;
  color:rgba(255,255,255,.88) !important;
}

.v16-kicker{
  display:inline-flex !important;
}

.v16-hero-panels{
  display:none !important;
}

/* Secciones */
.v16-section{
  padding:86px 0 !important;
}

.v16-system-visual,
.v16-card{
  border-radius:34px !important;
}

.v16-system-visual{
  min-height:460px !important;
}

.v16-system-visual img{
  max-height:360px !important;
}

/* Footer: logo oficial en blanco */
footer .footer-brand .brand-mark,
footer .footer-brand > strong,
footer .footer-brand .evli-footer-title{
  display:none !important;
}

footer .footer-brand::before{
  content:"";
  display:block;
  width:180px;
  height:70px;
  margin:0 0 18px 0;
  background:var(--evli-footer-logo, none);
}

.footer-brand .evli-safe-logo-footer{
  display:block !important;
}

/* Responsive */
@media(max-width:1180px){
  .nav{
    grid-template-columns:220px 1fr auto !important;
    gap:16px !important;
  }

  .evli-safe-brand{
    width:220px !important;
    min-width:220px !important;
  }

  .evli-safe-logo{
    height:48px !important;
    max-width:140px !important;
  }

  .evli-safe-tagline{
    font-size:8px !important;
    letter-spacing:.13em !important;
  }

  .nav-links{
    gap:18px !important;
  }

  .nav-links a{
    font-size:13px !important;
  }
}

@media(max-width:960px){
  .evli-safe-tagline{
    display:none !important;
  }

  .nav{
    grid-template-columns:150px 1fr auto !important;
  }

  .evli-safe-brand{
    width:150px !important;
    min-width:150px !important;
  }
}

@media(max-width:760px){
  .nav{
    display:flex !important;
    justify-content:space-between !important;
    min-height:72px !important;
    padding:8px 14px !important;
  }

  .nav-links{
    display:none !important;
  }

  .evli-safe-logo{
    height:44px !important;
    max-width:130px !important;
  }

  .v16-hero{
    min-height:640px !important;
  }

  .v16-hero h1{
    font-size:clamp(40px,12vw,62px) !important;
  }
}
