/* ============================================================
   InverPep - Home redesign v2
   Basado en el último mockup del usuario, con mejor jerarquía,
   proporción, aire visual y balance entre paneles.
   ============================================================ */

.inverpep-home{
  min-height: 100vh;
}

.inverpep-homeWrap{
  max-width: 1320px;
  padding-top: 26px;
  padding-bottom: 56px;
}

/* ===== HERO ===== */

.homeHero{
  margin-bottom: 26px;
}

.homeHero__brand{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  min-height: 180px;
  padding: 6px 24px 2px;
}

.homeHero__logoWrap{
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.homeHero__logo{
  width: 170px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.homeHero__text{
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.homeHero__title{
  margin: 0;
  color: #000;
  font-size: clamp(4rem, 7vw, 5.9rem);
  line-height: .92;
  font-weight: 500;
  letter-spacing: -.05em;
}

.homeHero__subtitle{
  margin: 14px 0 0;
  color: #2b8676;
  font-size: clamp(1.35rem, 2.3vw, 1.9rem);
  line-height: 1.14;
  font-weight: 900;
  letter-spacing: -.01em;
}

/* ===== DASHBOARD ===== */

.homeDashboard{
  display: grid;
  grid-template-columns: minmax(0, 2.15fr) minmax(320px, 1fr);
  gap: 30px;
  align-items: start;
  margin-top: 50px;
}

.homeDashboard__left,
.homeDashboard__right{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* ===== PANEL BASE ===== */

.homePanel{
  background: #EFF2F1;
  border-radius: 24px;
  overflow: hidden;

}

.homePanel__title{
  margin: 0;
  padding: 18px 24px 0;
  text-align: center;
  color: #2b8676;
  font-size: clamp(1.9rem, 2vw, 2.3rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -.02em;
}

/* ===== ABOUT ===== */

.homePanel--about{
  min-height: 356px;
}

.homePanel__body{
  padding: 18px 24px 18px;
}

.homePanel__body p{
  margin: 0 0 16px;
  color: #16212a;
  font-size: 15px;
  line-height: 1.45;
}

.homePanel__body p:last-child{
  margin-bottom: 0;
}

.homeFeatures{
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 12px;
  padding: 0 24px 22px;
}

.homeFeature{
  min-height: 34px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 10px;
  color: #2b5b55;
  font-size: 13px;
  font-weight: 700;
  background: linear-gradient(180deg, #c7ebe1 0%, #afdfd1 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

/* ===== QUICK ACCESS ===== */

.homePanel--quick{
  min-height: 302px;
}

.homeQuickList{
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 22px 22px;
}

.homeQuickItem{
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 8px 4px;
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  transition:
    transform .18s ease,
    background-color .18s ease,
    box-shadow .18s ease;
}

.homeQuickItem:hover{
  text-decoration: none;
  color: inherit;
  transform: translateY(-1px);
  background: rgba(43,134,118,.05);
}

.homeQuickItem__label{
  color: #2f6f64;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
}

.homeQuickItem__btn{
  min-width: 156px;
  min-height: 40px;
  padding: 8px 18px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(180deg, #69b5a2 0%, #5ca18f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 8px 18px rgba(43,134,118,.14);
}

/* ===== CITATION ===== */

.homePanel--citation{
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.homeCitation{
  margin: 0;
  padding: 18px 28px 0;
  text-align: center;
  color: #17222b;
  font-size: 15px;
  line-height: 1.6;
}

.homeCitation strong{
  font-weight: 800;
}

.homeCitation__actions{
  display: flex;
  justify-content: center;
  padding: 18px 24px 24px;
}

.homeCitation__link{
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 156px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  background: linear-gradient(180deg, #69b5a2 0%, #5ca18f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 8px 18px rgba(43,134,118,.14);
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.homeCitation__link:hover{
  text-decoration: none;
  color: #fff;
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.22),
    0 12px 24px rgba(43,134,118,.18);
}

.homeCitation__link:disabled{
  opacity: .88;
  cursor: default;
}

/* ===== STATUS ===== */

.homePanel--status{
  min-height: 206px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.homeStatus{
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  padding: 10px 24px 4px;
}

.homeStatus__number{
  color: #000;
  font-size: 45px;
  line-height: 1;
  font-weight: 1000;
  letter-spacing: -.04em;
}

.homeStatus__label{
  color: #1c2430;
  font-size: 1.15rem;
  line-height: 1.1;
  font-weight: 500;
}

.homeStatus__meta{
  margin: 6px 0 0;
  text-align: center;
  color: #1f2937;
  font-size: 13px;
}

.homeStatus__note{
  margin: 14px 24px 0;
  text-align: center;
  color: #344454;
  font-size: 14px;
  line-height: 1.55;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 1100px){
  .homeDashboard{
    grid-template-columns: 1fr;
  }

  .homeDashboard__right{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 22px;
  }
}

@media (max-width: 860px){
  .homeHero__brand{
    flex-direction: column;
    gap: 14px;
    text-align: center;
    padding: 10px 16px 0;
  }

  .homeHero__logo{
    width: 136px;
  }

  .homeHero__subtitle br{
    display: none;
  }

  .homeFeatures{
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .homeCitation{
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 640px){
  .inverpep-homeWrap{
    padding-top: 16px;
    padding-bottom: 34px;
  }

  .homeHero{
    margin-bottom: 18px;
  }

  .homePanel{
    border-radius: 20px;
  }

  .homePanel__title{
    padding: 16px 16px 0;
    font-size: 1.8rem;
  }

  .homePanel__body{
    padding: 16px 16px 16px;
  }

  .homePanel__body p{
    font-size: 14px;
    line-height: 1.5;
  }

  .homeFeatures{
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 16px 18px;
  }

  .homeDashboard__right{
    grid-template-columns: 1fr;
  }

  .homeQuickList{
    padding: 16px;
  }

  .homeQuickItem{
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
  }

  .homeQuickItem__btn{
    min-width: 100%;
  }

  .homeCitation{
    padding: 16px 16px 0;
    font-size: 14px;
  }

  .homeCitation__actions{
    padding: 16px;
  }

  .homeStatus{
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .homeStatus__number{
    font-size: 4rem;
  }

  .homeStatus__label{
    font-size: 1.05rem;
  }

  .homeStatus__note{
    margin: 12px 16px 0;
    font-size: 13.5px;
  }
}