/* =========================================================
   home.css (SOLO index.php) - Estilo editorial elegante
========================================================= */

/* Asegurar que nada sea sticky */
.vcWrap *, .vcWrap *::before, .vcWrap *::after { position: static; }
.vcWrap h2, .vcWrap header { position: static !important; top: auto !important; }

/* Intro sobre el slider */
.vcIntro{
  position: relative;
  margin-top: -110px;
  padding-bottom: 36px;
}
@media (max-width: 980px){ .vcIntro{ margin-top: -70px; } }

.vcIntroBox{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 22px;
  padding: 22px 22px;
  max-width: 900px;
  box-shadow: 0 18px 60px rgba(0,0,0,.10);
  backdrop-filter: blur(10px);
}

.vcIntroTop{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap:wrap;
  margin-bottom: 12px;
}
.vcChip{
  font-weight: 900;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color:#111;
  padding: 7px 10px;
  border: 1px solid rgba(0,0,0,.14);
  border-radius: 999px;
  background:#fff;
}
.vcDot{
  width: 5px; height: 5px;
  border-radius: 999px;
  background:#111;
  opacity:.4;
}

.vcIntroBox h1{
  margin: 0;
  font-size: 42px;
  letter-spacing: .10em;
  text-transform: uppercase;
}
.vcIntroBox p{
  margin: 10px 0 0;
  color:#333;
  line-height: 1.85;
  font-size: 15px;
  max-width: 820px;
}

/* Wrapper */
.vcWrap{
  background:#fff;
  padding: 32px 0 74px;
}

/* Blocks editorial */
.vcBlock{
  display:grid;
  grid-template-columns: 310px 1fr;
  gap: 24px;
  align-items:start;
  padding: 58px 0;
}

.vcBlockLast{ padding-bottom: 20px; }

.vcAlt2{
  background: #f7f7f8;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Side rail */
.vcSide{
  padding-top: 6px;
}
.vcNum{
  font-weight: 900;
  letter-spacing: .14em;
  font-size: 12px;
  text-transform: uppercase;
  color:#111;
  opacity:.70;
  margin-bottom: 12px;
}
.vcSide h2{
  margin:0;
  font-size: 26px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.vcSide p{
  margin: 10px 0 0;
  color:#555;
  line-height: 1.7;
  font-size: 14px;
  max-width: 260px;
}

/* Main content */
.vcMain{ display:grid; gap: 14px; }

.vcSplit{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Minimal cards */
.vcCard2{
  background:#fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 18px;
}
.vcCard2 h3{
  margin:0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.vcCard2 p{
  margin:0;
  color:#444;
  line-height: 1.85;
  font-size: 14px;
}

/* Paper section (text elegant) */
.vcPaper{
  background: #fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 20px;
}
.vcPaper h3{
  margin:0 0 10px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.vcPaper p{
  margin: 0 0 12px;
  color:#444;
  line-height: 1.95;
  font-size: 14px;
}

/* Pill row */
.vcPillRow{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
  padding-top: 4px;
}
.vcPillRow span{
  display:inline-flex;
  align-items:center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.14);
  background:#fff;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* Tiles (right side cards) */
.vcTiles{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.vcTile{
  background:#fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 18px;
  transition: transform .20s ease, box-shadow .20s ease;
}
.vcTile:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.vcTile h3{
  margin:0 0 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.vcTile p{
  margin:0;
  color:#444;
  line-height: 1.75;
  font-size: 14px;
}

/* Icon cards */
.vcIcons{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
}
.vcIconCard{
  background:#fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 18px;
  padding: 18px;
  transition: transform .20s ease, box-shadow .20s ease;
}
.vcIconCard:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}
.vcIconBubble{
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(0,0,0,.06);
  display:flex;
  align-items:center;
  justify-content:center;
  color:#111;
  margin-bottom: 12px;
}
.vcIconBubble i{ font-size: 18px; }
.vcIconCard h3{
  margin:0 0 8px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.vcIconCard p{
  margin:0;
  color:#444;
  line-height: 1.75;
  font-size: 13px;
}

/* Reveal transitions */
.vcReveal{
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .75s ease, transform .75s ease;
  will-change: opacity, transform;
}
.vcReveal.is-in{
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px){
  .vcBlock{ grid-template-columns: 1fr; padding: 46px 0; }
  .vcSide p{ max-width: none; }
  .vcSplit{ grid-template-columns: 1fr; }
  .vcIcons{ grid-template-columns: 1fr; }
  .vcIntroBox h1{ font-size: 34px; }
}
.hero-slider{
  height: 75vh !important;
  min-height: 520px !important;
}

/* 2) La seccion intro SIEMPRE encima */
.vcIntro{
  position: relative !important;
  z-index: 20 !important;
  margin-top: -130px !important; /* la sube sobre la foto */
  padding-bottom: 24px !important;
}

/* 3) La tarjeta arriba con mejor contraste */
.vcIntroBox{
  position: relative !important;
  z-index: 25 !important;
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(0,0,0,.10) !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.18) !important;
  backdrop-filter: blur(10px) !important;
}

/* 4) Overlay suave sobre las imagenes para que no compitan con el texto */
.hero-slider::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.25) 0%,
    rgba(0,0,0,.10) 40%,
    rgba(0,0,0,.00) 70%
  );
  z-index: 2;
  pointer-events:none;
}

/* 5) Asegurar que las slides esten debajo del overlay */
.hero-slider .slide{
  z-index: 1;
}

/* 6) En pantallas peque単as: menos overlap */
@media (max-width: 980px){
  .hero-slider{
    height: 60vh !important;
    min-height: 420px !important;
  }
  .vcIntro{
    margin-top: -90px !important;
  }
}
/* ===== BAJAR TARJETA VARIEDADES CRIS ===== */

/* Slider se mantiene igual */
.hero-slider{
  height: 75vh !important;
  min-height: 520px !important;
}

/* 👉 Bajamos la tarjeta */
.vcIntro{
  position: relative !important;
  z-index: 20 !important;
  margin-top: -60px !important;  /* 🔽 antes estaba en -130 */
  padding-bottom: 32px !important;
}

/* Caja blanca */
.vcIntroBox{
  background: rgba(255,255,255,.95) !important;
  border-radius: 22px !important;
  box-shadow: 0 20px 55px rgba(0,0,0,.18) !important;
}

/* Overlay suave para que la imagen siga luciendo */
.hero-slider::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    180deg,
    rgba(0,0,0,.18) 0%,
    rgba(0,0,0,.08) 45%,
    rgba(0,0,0,.00) 75%
  );
  z-index:2;
  pointer-events:none;
}

/* Responsive */
@media (max-width: 980px){
  .vcIntro{
    margin-top: -30px !important; /* aún más abajo en móvil */
  }
}
/* FIX HERO MOBILE: que no deje hueco */
@media (max-width: 980px){
  .hero-slider{
    height: 48vh !important;
    min-height: 280px !important;
  }
}


