/* =========================================================
  INSTALACIÓN / GUÍA "¿CÓMO SE INSTALA?"
  ========================================================= */
.inst-hero,
.inst-pasos,
.inst-req{
  color: var(--text);
  font-family: "Heebo", sans-serif;
}

/* ---------- Eyebrow (compartido) ---------- */
.inst-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: rgba(124,58,237,.12);
  color: var(--text-soft);
  font-size: .85rem;
  font-weight: 600;
}
.inst-eyebrow i{
  color: var(--brand-light);
}

.text-gradient{
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================================================
  HERO
  ========================================================= */
.inst-hero{
  padding: 110px 20px 70px;
}
.inst-hero__inner{
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.inst-hero__title{
  margin: 22px 0 10px;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
}
.inst-hero__subtitle{
  margin: 0 0 16px;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--text);
  line-height: 1.35;
}
.inst-hero__desc{
  margin: 0 0 28px;
  max-width: 480px;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.7;
}
.inst-hero__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.inst-hero__compat-label{
  display: block;
  margin-bottom: 12px;
  color: var(--muted-2);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.inst-hero__chips{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.inst-chip{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-soft);
  font-size: .9rem;
  font-weight: 600;
}
.inst-chip i{
  color: var(--wordpress);
}
.inst-chip__woo{
  color: var(--brand-light);
  font-weight: 800;
}

/* ---------- Mockup panel WordPress ---------- */
.inst-hero__mockup{
  display: flex;
  justify-content: center;
}
.wp-mock{
  width: 100%;
  max-width: 520px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow), var(--glow-purple);
  overflow: hidden;
}
.wp-mock__titlebar{
  display: flex;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-card-2);
}
.wp-mock__dot{
  width: 11px;
  height: 11px;
  border-radius: 50%;
}
.wp-mock__dot--red{ background:#FF5F57; }
.wp-mock__dot--yellow{ background:#FEBC2E; }
.wp-mock__dot--green{ background:#28C840; }

.wp-mock__body{
  display: flex;
}
.wp-mock__sidebar{
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px 14px;
  border-right: 1px solid var(--line);
  background: var(--bg-card-2);
}
.wp-mock__side-item{
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: rgba(154,164,199,.28);
}
.wp-mock__side-item:nth-child(-n+2){
  border-radius: 50%;
  background: rgba(154,164,199,.45);
}

.wp-mock__main{
  flex: 1;
  padding: 20px 22px 24px;
}
.wp-mock__head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.wp-mock__heading{
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}
.wp-mock__upload-btn{
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.06);
  color: var(--text-soft);
  font-size: .78rem;
  font-weight: 600;
}

.wp-mock__dropzone{
  text-align: center;
  padding: 26px 18px 22px;
  border: 1.5px dashed var(--border-strong);
  border-radius: var(--radius);
  background: rgba(124,58,237,.06);
  margin-bottom: 16px;
}
.wp-mock__cloud{
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient-btn);
  color: var(--text);
  font-size: 1.5rem;
  box-shadow: var(--glow-purple);
  margin-bottom: 12px;
}
.wp-mock__drop-title{
  margin: 0 0 4px;
  font-size: .92rem;
  font-weight: 600;
  color: var(--text-soft);
}
.wp-mock__drop-sub{
  font-size: .78rem;
  color: var(--brand-light);
  font-weight: 600;
}

.wp-mock__plugin{
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card-2);
  margin-bottom: 20px;
}
.wp-mock__plugin-icon{
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--gradient-btn);
  color: var(--text);
  font-size: 1.15rem;
}
.wp-mock__plugin-info{
  flex: 1;
  min-width: 0;
}
.wp-mock__plugin-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}
.wp-mock__plugin-name{
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.wp-mock__plugin-name strong{
  font-size: .85rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp-mock__plugin-name span{
  font-size: .68rem;
  color: var(--muted-2);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wp-mock__installing{
  flex-shrink: 0;
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size: .7rem;
  font-weight: 600;
}
.wp-mock__progress-row{
  display: flex;
  align-items: center;
  gap: 10px;
}
.wp-mock__progress{
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
}
.wp-mock__progress span{
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--gradient-brand);
}
.wp-mock__percent{
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-soft);
}

/* Timeline Subir → Instalar → Activar → Listo */
.wp-mock__timeline{
  display: flex;
  align-items: flex-start;
}
.wp-mock__tstep{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.wp-mock__tstep-icon{
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card-2);
  color: var(--muted);
  font-size: .85rem;
}
.wp-mock__tstep-label{
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
}
.wp-mock__tstep.is-done .wp-mock__tstep-icon{
  border-color: var(--brand-blue);
  color: var(--brand-blue);
}
.wp-mock__tstep.is-active .wp-mock__tstep-icon{
  border-color: var(--brand-light);
  color: var(--brand-light);
  box-shadow: 0 0 18px rgba(155,92,255,.55);
}
.wp-mock__tstep.is-active .wp-mock__tstep-label{
  color: var(--text-soft);
}
.wp-mock__tline{
  flex: 1;
  height: 1px;
  margin-top: 20px;
  background: var(--border);
}
.wp-mock__tline.is-done{
  background: var(--gradient-brand);
  height: 2px;
}

/* =========================================================
  PASO A PASO
  ========================================================= */
.inst-pasos{
  padding: 70px 20px;
  border-top: 1px solid var(--line);
}
.inst-pasos__inner{
  max-width: var(--container);
  margin: 0 auto;
}
.inst-pasos__header{
  text-align: center;
  margin-bottom: 48px;
}
.inst-pasos__title{
  margin: 18px 0 0;
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 800;
}

.inst-pasos__grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.inst-paso{
  display: flex;
  flex-direction: column;
  padding: 26px 22px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
  transition: border-color .25s ease, transform .25s ease;
}
.inst-paso:hover{
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.inst-paso__number{
  font-size: 1.9rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 10px;
}
.inst-paso__title{
  margin: 0 0 10px;
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}
.inst-paso__desc{
  margin: 0 0 24px;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.6;
}
.inst-paso__icon{
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  margin: auto auto 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(155,92,255,.45), rgba(124,58,237,.12) 70%);
  border: 1px solid var(--border-strong);
  color: var(--brand-light);
  font-size: 2rem;
  box-shadow: 0 0 30px rgba(124,58,237,.35);
}

/* =========================================================
  REQUISITOS MÍNIMOS
  ========================================================= */
.inst-req{
  padding: 20px 20px 100px;
}
.inst-req__inner{
  max-width: var(--container);
  margin: 0 auto;
}
.inst-req__card{
  display: flex;
  align-items: center;
  gap: 44px;
  padding: 44px 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  box-shadow: var(--shadow-card);
}
.inst-req__shield{
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, rgba(47,140,255,.45), rgba(124,58,237,.15) 72%);
  border: 1px solid var(--border-strong);
  color: var(--brand-blue);
  font-size: 3.4rem;
  box-shadow: var(--glow-blue);
}
.inst-req__content{
  flex: 1;
  min-width: 0;
}
.inst-req__title{
  margin: 0 0 24px;
  font-size: 1.5rem;
  font-weight: 800;
}
.inst-req__list{
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.inst-req__item{
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-soft);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.4;
}
.inst-req__item + .inst-req__item{
  border-left: 1px solid var(--line);
  padding-left: 16px;
}
.inst-req__item-icon{
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--bg-card-2);
  color: var(--brand-light);
  font-size: 1.05rem;
}
.inst-req__item-icon--woo{
  font-size: .72rem;
  font-weight: 800;
  color: var(--brand-light);
}
.inst-req__note{
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-card-2);
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}
.inst-req__note i{
  color: var(--brand-cyan);
  flex-shrink: 0;
}
.inst-req__note strong{
  color: var(--brand-light);
}

/* =========================================================
  RESPONSIVE
  ========================================================= */
/* Tablet (≤ 1100px) */
@media (max-width:1100px){
  .inst-pasos__grid{
    grid-template-columns: repeat(3, 1fr);
  }
  .inst-req__list{
    grid-template-columns: repeat(2, 1fr);
  }
  .inst-req__item + .inst-req__item{
    border-left: none;
    padding-left: 0;
  }
}

/* Móviles / tablet (≤ 959px) */
@media (max-width:959px){
  .inst-hero{
    padding: 90px 16px 50px;
  }
  .inst-hero__inner{
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .inst-pasos__grid{
    grid-template-columns: 1fr 1fr;
  }
  .inst-req__card{
    flex-direction: column;
    text-align: center;
    padding: 34px 24px;
    gap: 28px;
  }
  .inst-req__item{
    justify-content: flex-start;
    text-align: left;
  }
  .inst-req__note{
    text-align: left;
  }
}

/* Móviles pequeños (≤ 600px) */
@media (max-width:600px){
  .inst-pasos__grid{
    grid-template-columns: 1fr;
  }
  .inst-req__list{
    grid-template-columns: 1fr;
  }
  .wp-mock__main{
    padding: 16px;
  }
}
