/* =========================================================
   NECORA Landing — 10-hero.css
   HERO — MINIMAL PRO v7.1
   =========================================================
   ✅ Hero más limpio y compacto
   ✅ Menos peso visual en móvil
   ✅ CTA vertical en móvil/tablet
   ✅ Botones más pequeños en móvil
   ✅ Trust pills discretas
   ✅ Dock inferior fino
   ✅ Fondo sobrio + overlay elegante
   ✅ Soporta hero.php actual
   ========================================================= */

/* -----------------------------------------
   0) Utility
------------------------------------------ */
.nl-visuallyHidden{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  clip-path:inset(50%) !important;
  white-space:nowrap !important;
  border:0 !important;
}

/* -----------------------------------------
   1) Tokens / frame
------------------------------------------ */
.nl-heroFrame.nl-heroMin .nl-heroFrame__frame{
  --hero-ink: rgba(255,255,255,.96);
  --hero-muted: rgba(255,255,255,.80);
  --hero-soft: rgba(255,255,255,.62);
  --hero-stroke: rgba(255,255,255,.12);
  --hero-glow: rgba(0,161,223,.14);

  --nl-heroDockSpace: 88px;

  background:#030A16;
}

/* -----------------------------------------
   2) Wrapper / frame
------------------------------------------ */
.nl-heroFrame{
  position:relative;
  width:100%;
  height:100vh;
  min-height:100vh;
  margin:0;
  padding:0;
  z-index:2;
}

@supports (height: 100dvh){
  .nl-heroFrame{
    height:100dvh;
    min-height:100dvh;
  }
}

.nl-heroFrame > .nl-container{
  max-width:none;
  padding:0;
}

.nl-heroFrame.nl-heroMin{
  padding:0;
  margin:0;
}

.nl-heroFrame.nl-heroMin .nl-heroFrame__frame{
  position:relative;
  width:100%;
  height:100%;
  min-height:inherit;
  overflow:hidden;
  border-radius:0;
  border:0;
  box-shadow:none;
  isolation:isolate;
}

.nl-heroFrame__frame,
.nl-heroMin__frame{
  background-image:none !important;
}

/* -----------------------------------------
   3) Background
------------------------------------------ */
.nl-heroMin__bg{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background-image:var(--hero-photo);
  background-size:cover;
  background-repeat:no-repeat;
  background-position:50% 15%;
  transform:scale(1.015);
  filter:saturate(.98) contrast(1.04) brightness(.70);
}

.nl-heroMin__bg::after{
  content:"";
  position:absolute;
  inset:-2px;
  background-image:inherit;
  background-size:inherit;
  background-repeat:no-repeat;
  background-position:inherit;
  opacity:.08;
  filter:blur(12px) saturate(1.02) contrast(1.02) brightness(.90);
  transform:scale(1.035);
  -webkit-mask-image:linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.10) 24%,
    rgba(0,0,0,1) 78%
  );
  mask-image:linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0%,
    rgba(0,0,0,.10) 24%,
    rgba(0,0,0,1) 78%
  );
}

.nl-heroMin__bgOverlay{
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
  background:
    radial-gradient(760px 420px at 50% 14%, rgba(0,161,223,.08), transparent 56%),
    linear-gradient(
      180deg,
      rgba(3,10,22,.86) 0%,
      rgba(3,10,22,.70) 34%,
      rgba(3,10,22,.92) 100%
    );
}

.nl-heroMin__grain{
  position:absolute;
  inset:-90px;
  pointer-events:none;
  z-index:2;
  opacity:.03;
  mix-blend-mode:overlay;
}

@media (max-width: 859px){
  .nl-heroMin__bg{
    background-position:50% 13%;
    transform:scale(1.01);
    filter:saturate(.96) contrast(1.03) brightness(.66);
  }

  .nl-heroMin__bg::after{
    opacity:.05;
    filter:blur(9px) saturate(1.01) contrast(1.01) brightness(.90);
  }

  .nl-heroMin__bgOverlay{
    background:
      radial-gradient(560px 260px at 50% 12%, rgba(0,161,223,.05), transparent 56%),
      linear-gradient(
        180deg,
        rgba(3,10,22,.88) 0%,
        rgba(3,10,22,.73) 34%,
        rgba(3,10,22,.93) 100%
      );
  }
}

/* -----------------------------------------
   4) Rails desktop
------------------------------------------ */
.nl-heroMin .nl-rail,
.nl-heroFrame .nl-rail{
  z-index:60;
}

.nl-heroMin .nl-rail__label,
.nl-heroFrame .nl-rail__label{
  color:rgba(255,255,255,.90);
  text-shadow:0 10px 24px rgba(0,0,0,.42);
  letter-spacing:.16em;
  font-weight:900;
}

@media (max-width: 859px){
  .nl-heroMin__top{ display:none !important; }
  .nl-rail--right{ display:none !important; }
  .nl-hideRailMobile{ display:none !important; }
}

/* -----------------------------------------
   5) Content center
------------------------------------------ */
.nl-heroMin__center{
  position:absolute;
  inset:0;
  z-index:10;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:12px 0;
}

.nl-heroMin__center > .nl-container{
  width:100%;
  max-width:620px;
  padding-left:clamp(18px, 4vw, 24px);
  padding-right:clamp(18px, 4vw, 24px);
}

@media (max-width: 859px){
  .nl-heroMin__center{
    padding-top:18px;
    padding-bottom:calc(var(--nl-heroDockSpace) + env(safe-area-inset-bottom, 0px));
  }

  .nl-heroMin__center > .nl-container{
    max-width:460px;
  }
}

/* -----------------------------------------
   6) Typography
------------------------------------------ */
.nl-heroMin__eyebrow{
  margin:0 0 6px;
  font-size:11px;
  letter-spacing:.06em;
  color:rgba(255,255,255,.76);
}

.nl-heroMin__title{
  margin:0 0 8px;
  color:var(--hero-ink);
  font-size:clamp(24px, 5vw, 42px);
  line-height:1.02;
  letter-spacing:-0.040em;
  text-shadow:
    0 8px 18px rgba(0,0,0,.18),
    0 1px 6px rgba(0,0,0,.12);
}

.nl-heroMin__sub{
  margin:0 auto;
  max-width:31ch;
  color:rgba(255,255,255,.84);
  font-size:clamp(14px, 2vw, 18px);
  line-height:1.34;
  font-weight:620;
}

.nl-heroMin__seo{
  margin:8px auto 0;
  max-width:48ch;
  color:rgba(255,255,255,.56);
  font-size:12.5px;
  line-height:1.4;
  text-wrap:pretty;
}

@media (max-width: 859px){
  .nl-heroMin__title{
    font-size:clamp(22px, 6.4vw, 32px);
    line-height:1.04;
    margin-bottom:8px;
  }

  .nl-heroMin__sub{
    max-width:27ch;
    font-size:13px;
    line-height:1.32;
  }

  .nl-heroMin__seo{
    display:none;
  }
}

@media (max-width: 420px){
  .nl-heroMin__eyebrow{
    font-size:10.5px;
    margin-bottom:5px;
  }

  .nl-heroMin__title{
    font-size:clamp(21px, 7vw, 29px);
  }

  .nl-heroMin__sub{
    font-size:12.5px;
    max-width:25ch;
  }
}

/* -----------------------------------------
   7) Trust pills
------------------------------------------ */
.nl-heroMin__trust{
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
  margin:12px auto 0;
  max-width:520px;
}

.nl-heroMin__trustPill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:29px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.88);
  font-size:11px;
  font-weight:760;
  letter-spacing:0;
  box-shadow:
    0 6px 16px rgba(0,0,0,.10),
    inset 0 1px 0 rgba(255,255,255,.05);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

@media (max-width: 859px){
  .nl-heroMin__trust{
    gap:6px;
    margin-top:10px;
    max-width:360px;
  }

  .nl-heroMin__trustPill{
    min-height:27px;
    padding:5px 9px;
    font-size:10.5px;
    font-weight:740;
  }
}

/* -----------------------------------------
   8) CTA
------------------------------------------ */
.nl-heroMin__cta{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:14px;
  width:100%;
}

/* Base = look desktop */
.nl-heroMin__cta .nl-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border-radius:18px;
  font-size:15px;
  font-weight:850;
  line-height:1;
  text-align:center;
  white-space:nowrap;
}

/* Primario */
.nl-heroMin__cta .nl-btn--primary{
  box-shadow:
    0 10px 22px rgba(0,120,200,.18),
    0 1px 0 rgba(255,255,255,.14) inset;
}

/* Secundario */
.nl-heroMin__cta .nl-btn--link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  color:rgba(255,255,255,.92) !important;
  -webkit-text-fill-color:rgba(255,255,255,.92) !important;
  text-decoration:none !important;
  border:1px solid rgba(255,255,255,.15) !important;
  background:rgba(255,255,255,.065) !important;
  box-shadow:0 8px 18px rgba(0,0,0,.12) !important;
}

@media (hover:hover){
  .nl-heroMin__cta .nl-btn--link:hover{
    border-color:rgba(0,161,223,.30) !important;
    transform:translateY(-1px);
  }
}

/* -----------------------------------------
   MOBILE / TABLET
   = mismo look de desktop, pero vertical
------------------------------------------ */
@media (max-width: 859px){
  .nl-heroMin__cta{
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:10px;
    margin-top:12px;
  }

  .nl-heroMin__cta .nl-btn{
    width:250px !important;      /* mismo ancho para ambos */
    max-width:88vw !important;
    min-height:48px !important;  /* mismo alto desktop */
    padding:0 18px !important;
    border-radius:18px !important;
    font-size:15px !important;
  }

  .nl-heroMin__cta .nl-btn--link{
    min-height:48px !important;
  }
}

/* Tiny phones */
@media (max-width: 420px){
  .nl-heroMin__cta{
    gap:8px;
  }

  .nl-heroMin__cta .nl-btn{
    width:232px !important;
    max-width:86vw !important;
    min-height:46px !important;
    border-radius:17px !important;
    font-size:14px !important;
  }

  .nl-heroMin__cta .nl-btn--link{
    min-height:46px !important;
  }
}

/* -----------------------------------------
   9) Mobile dock
------------------------------------------ */
.nl-heroMin__mobileDock{
  display:none;
}

@media (max-width: 859px){
  .nl-heroMin__mobileDock{
    display:flex;
    position:absolute;
    left:0;
    right:0;
    bottom:calc(8px + env(safe-area-inset-bottom, 0px));
    z-index:20;
    flex-direction:column;
    align-items:center;
    justify-content:flex-end;
    gap:8px;
    padding:4px 12px;
    pointer-events:none;
  }

  .nl-heroMin__mobileDock a{
    pointer-events:auto;
  }
}

/* -----------------------------------------
   10) Mobile social — ULTRA PRO
------------------------------------------ */
@media (max-width: 859px){
  .nl-heroMin__mobileSocial{
    display:flex;
    align-items:center;
    justify-content:center;
    flex-wrap:wrap;
    gap:14px;
    margin-top:6px;
  }

  .nl-heroMin__mIcon{
    position:relative;
    width:48px;
    height:48px;
    border-radius:999px;
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none !important;
    border:1px solid rgba(255,255,255,.18);
    background:
      linear-gradient(180deg, rgba(255,255,255,.14), rgba(255,255,255,.05)),
      rgba(12,18,28,.34);
    color:rgba(255,255,255,.96) !important;
    -webkit-text-fill-color:rgba(255,255,255,.96) !important;
    box-shadow:
      0 10px 24px rgba(0,0,0,.22),
      0 4px 12px rgba(0,0,0,.14),
      inset 0 1px 0 rgba(255,255,255,.10);
    backdrop-filter:blur(10px) saturate(1.08);
    -webkit-backdrop-filter:blur(10px) saturate(1.08);
    -webkit-tap-highlight-color:transparent;
    transform:translateZ(0);
    transition:
      transform .18s ease,
      box-shadow .18s ease,
      border-color .18s ease,
      background .18s ease,
      color .18s ease;
    overflow:hidden;
    isolation:isolate;
  }

  .nl-heroMin__mIcon::before{
    content:"";
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:
      radial-gradient(circle at 30% 20%, rgba(255,255,255,.22), transparent 55%);
    opacity:.9;
    pointer-events:none;
    z-index:0;
  }

  .nl-heroMin__mIcon > *{
    position:relative;
    z-index:1;
  }

  .nl-heroMin__mIcon svg{
    width:20px;
    height:20px;
    display:block;
    opacity:1;
    color:inherit;
    transition:transform .18s ease;
  }

  .nl-heroMin__mIcon svg *{
    fill:currentColor !important;
    stroke:currentColor !important;
  }

  .nl-heroMin__mIcon:active{
    transform:scale(.96);
    box-shadow:
      0 6px 14px rgba(0,0,0,.18),
      inset 0 1px 0 rgba(255,255,255,.08);
  }

  @media (hover:hover){
    .nl-heroMin__mIcon:hover{
      transform:translateY(-2px);
      border-color:rgba(255,255,255,.28);
      background:
        linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.07)),
        rgba(12,18,28,.42);
      box-shadow:
        0 14px 28px rgba(0,0,0,.24),
        0 6px 18px rgba(0,0,0,.16),
        inset 0 1px 0 rgba(255,255,255,.12);
    }

    .nl-heroMin__mIcon:hover svg{
      transform:scale(1.08);
    }
  }
}

/* Tiny mobile */
@media (max-width: 380px){
  .nl-heroMin__mobileSocial{
    gap:12px;
  }

  .nl-heroMin__mIcon{
    width:44px;
    height:44px;
  }

  .nl-heroMin__mIcon svg{
    width:18px;
    height:18px;
  }
}

/* -----------------------------------------
   11) Mobile arrow
------------------------------------------ */
@media (max-width: 859px){
  .nl-heroMin__downBtn{
    display:flex;
    justify-content:center;
    align-items:center;
  }

  .nl-heroMin__downBtn a{
    width:38px;
    height:38px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    border-radius:999px;
    text-decoration:none !important;
    -webkit-tap-highlight-color:transparent;
  }

  .nl-heroMin__downBtn svg{
    width:26px;
    height:26px;
    color:rgba(255,255,255,.90) !important;
    opacity:.88;
    filter:drop-shadow(0 8px 18px rgba(0,0,0,.28));
  }

  .nl-heroMin__downBtn svg *{
    stroke:currentColor !important;
    fill:none !important;
    stroke-width:2.3 !important;
    stroke-linecap:round !important;
    stroke-linejoin:round !important;
  }

  .nl-heroMin__downBtn a:active{
    opacity:.72;
  }

  .nl-heroMin__downBtn a::before,
  .nl-heroMin__downBtn a::after{
    content:none !important;
    display:none !important;
  }
}

/* -----------------------------------------
   12) iOS visited fix
------------------------------------------ */
.nl-heroMin__mIcon:link,
.nl-heroMin__mIcon:visited,
.nl-heroMin__cta .nl-btn--link:link,
.nl-heroMin__cta .nl-btn--link:visited{
  color:rgba(255,255,255,.92) !important;
  -webkit-text-fill-color:rgba(255,255,255,.92) !important;
}

/* -----------------------------------------
   13) Limpieza legacy
------------------------------------------ */
.nl-heroMin__socialRow,
.nl-heroMin__down{
  display:none !important;
}