:root{
  color-scheme: dark;
  --bg0:#050711;
  --bg1:#070a16;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.10);
  --glass: rgba(255,255,255,.04);
  --glow: rgba(120,160,255,.22);
  --glow2: rgba(180,120,255,.16);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 700px at 18% 10%, var(--glow), transparent 58%),
    radial-gradient(900px 650px at 85% 20%, var(--glow2), transparent 55%),
    radial-gradient(800px 600px at 50% 110%, rgba(60,120,255,.12), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 28px 16px 56px;
}

.top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 0 0 1px rgba(255,255,255,.03) inset, 0 16px 40px rgba(0,0,0,.35);
  backdrop-filter: blur(8px);
}
.kicker{
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
h1{margin:6px 0 0; font-size: 28px; letter-spacing:.2px}
p{line-height:1.55; color: var(--muted); margin: 12px 0 0}
.lead{color: var(--muted); margin-top: 10px}

.nav{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}

.btn{
  display:inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.92);
  text-decoration:none;
  font-size: 13px;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(190,220,255,.35);
  background: rgba(120,160,255,.10);
}
.btn.ghost{
  background: transparent;
  border-color: rgba(255,255,255,.12);
}

.card{
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset, 0 18px 44px rgba(0,0,0,.38);
  /* CLAVE: sin backdrop-filter aquí para evitar bandas en Chromium */
}

.bullets{
  margin: 14px 0 0;
  padding: 0 0 0 18px;
}
.bullets li{margin: 10px 0; color: rgba(255,255,255,.86)}

.foot{
  margin-top: 16px;
  display:flex;
  justify-content:flex-start;
}

/* HUB tiles */
.grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}
.tile{
  display:block;
  text-decoration:none;
  border-radius: 18px;
  border: 1px solid rgba(160,190,255,.18);
  background:
    radial-gradient(420px 260px at 20% 0%, rgba(120,160,255,.18), transparent 60%),
    radial-gradient(520px 300px at 110% 30%, rgba(190,120,255,.12), transparent 55%),
    rgba(255,255,255,.03);
  padding: 16px 16px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.02) inset, 0 18px 44px rgba(0,0,0,.40);
  backdrop-filter: blur(10px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.tile:hover{
  transform: translateY(-2px);
  border-color: rgba(190,220,255,.40);
  box-shadow: 0 0 22px rgba(120,160,255,.18), 0 24px 60px rgba(0,0,0,.45);
}
.t-title{ font-weight: 750; font-size: 18px; letter-spacing: .2px; color: rgba(255,255,255,.95) }
.t-sub{ margin-top: 6px; color: rgba(255,255,255,.72); font-size: 13.5px; line-height: 1.45; }
.t-links{ margin-top: 12px; display:flex; gap:8px; flex-wrap:wrap; }
.pill{
  display:inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.90);
  font-size: 12px;
  text-decoration:none;
}
.pill:hover{ border-color: rgba(190,220,255,.45); background: rgba(120,160,255,.10); }

/* --- Potencia visual sin reintroducir banda --- */
.wrap{ max-width: 1040px; }                 /* un poco más ancho */
h1{ font-size: 34px; }                      /* título con presencia */
.lead{ font-size: 15.5px; }                 /* texto más cómodo */
.bullets li{ font-size: 15px; }             /* bullets más sólidos */

.top{ padding: 18px 20px; }                 /* header más “premium” */

.btn{
  padding: 11px 14px;
  font-size: 13.5px;
  letter-spacing: .2px;
}

.card{
  padding: 20px 22px;
  border-color: rgba(160,190,255,.18);
  background:
    radial-gradient(620px 320px at 18% 0%, rgba(120,160,255,.14), transparent 60%),
    radial-gradient(720px 380px at 110% 25%, rgba(190,120,255,.10), transparent 55%),
    rgba(255,255,255,.03);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 22px 60px rgba(0,0,0,.42),
    0 0 28px rgba(120,160,255,.10);
}

/* HUB tiles con más “cuerpo” */
.tile{
  padding: 18px 18px;
  border-color: rgba(190,220,255,.22);
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 20px 54px rgba(0,0,0,.42),
    0 0 26px rgba(120,160,255,.10);
}
.t-title{ font-size: 19px; }
.t-sub{ font-size: 14px; }

/* Centrado perceptivo: el contenido se siente más “en el medio” */
.nav{ justify-content:flex-end; }

/* HUB: si estás usando .btn como tarjeta (versión anterior), centrar contenido */
.card .btn{
  display:flex !important;
  flex-direction:column !important;
  align-items:flex-start !important;
  justify-content:center !important;
  line-height: 1.25 !important;
}

/* La línea "Entrar → NORMAL" centrada y sin overflow */
.card .btn div:last-child{
  align-self:flex-start !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.12) !important;
  background: rgba(255,255,255,.03) !important;
  margin-top: 10px !important;
  white-space: nowrap !important;
}

/* Más presencia en páginas internas */
.wrap{ max-width: 1100px !important; }
.card{ padding: 22px 24px !important; }
h1{ font-size: 36px !important; }
.lead{ font-size: 16px !important; }
.bullets li{ font-size: 15.5px !important; }
/* AVZ HERO (testing) */
.avz-hero{
  border-radius: 18px;
  padding: 18px;
  margin: 14px 0 18px;
  background: rgba(10,14,22,.55);
  border: 1px solid rgba(140,180,255,.22);
  backdrop-filter: blur(10px);
}
.avz-hero .hero-grid{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  align-items: center;
}
.avz-hero .hero-img{
  width: 140px; height: 140px;
  border-radius: 16px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(140,180,255,.18);
  overflow: hidden;
}
.avz-hero .hero-img img{ width:100%; height:100%; object-fit: cover; display:block; }
.avz-hero h2{ margin: 0 0 6px; font-size: 18px; letter-spacing: .4px; }
.avz-hero p{ margin: 0; opacity: .9; line-height: 1.35; }
.avz-hero .hero-cta{ margin-top: 10px; display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width:720px){
  .avz-hero .hero-grid{ grid-template-columns: 1fr; }
  .avz-hero .hero-img{ width: 100%; height: 160px; }
}

/* AVZ FIX: alinear contenido dentro de capsulas/tarjetas */
.card .btn{
  text-align: left;
}
.card .btn > div:first-child{
  font-weight: 700;
  line-height: 1.15;
}
.card .btn > div:last-child{
  opacity: .90;
  line-height: 1.25;
  margin-top: 4px;
}

/* Evitar que el contenido "se salga" visualmente */
.card .btn{
  overflow: hidden;
}

/* AVZ FIX: eliminar bandas raras por overflow */
html, body{
  overflow-x: hidden;
}
body{
  background: #070A10; /* base estable */
}
.wrap{
  overflow: hidden;
}

/* AVZ HUB: tarjetas departamentos (mejor tipografía y alineación) */
.card .btn{
  display:block;
  padding:16px !important;
  border-radius:16px;
}

.card .btn > div:nth-child(1){
  text-align:center;
  font-weight:800;
  letter-spacing:.3px;
  margin-bottom:8px;
}

.card .btn > div:nth-child(2),
.card .btn > div:nth-child(3){
  text-align:center;
  opacity:.88;
  line-height:1.25;
}


/* AVZ: visual lift (zoom sutil en imagen lateral) */
.avz-visual{ overflow:hidden; }
.avz-visual .img{
  transition: transform .35s ease, filter .35s ease;
  transform: scale(1);
  will-change: transform;
}
.avz-visual:hover .img{
  transform: scale(1.06);
  filter: saturate(1.12) contrast(1.10);
  cursor: zoom-in;
}

/* En móvil, sin zoom para evitar “saltos” */
@media (max-width:900px){
  .avz-visual:hover .img{ transform:none; }
}

/* AVZ: glow suave al hover */
.avz-visual{
  transition: box-shadow .35s ease, border-color .35s ease;
}
.avz-visual:hover{
  box-shadow: 0 0 26px rgba(0,180,255,.18), inset 0 0 18px rgba(150,120,255,.10);
  border-color: rgba(0,180,255,.28);
}
