/* =========================================================
  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;
  /* 1ª col = texto, 2ª col = mockup. Sube el segundo número para ensanchar el mockup. */
  grid-template-columns: 1fr 1.25fr;
  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%;
  /* Ancho máximo del mockup. Súbelo/bájalo para controlar el tamaño. */
  max-width: 660px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #f0f0f1;
  box-shadow: var(--shadow), var(--glow-purple);
  overflow: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Barra del navegador */
.wp-mock__bar{
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  background: #dfe1e5;
  border-bottom: 1px solid #c3c4c7;
}
.wp-mock__dot{
  width: 11px;
  height: 11px;
  flex-shrink: 0;
  border-radius: 50%;
}
.wp-mock__dot--red{ background:#FF5F57; }
.wp-mock__dot--yellow{ background:#FEBC2E; }
.wp-mock__dot--green{ background:#28C840; }
.wp-mock__url{
  flex: 1;
  margin-left: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff;
  color: #50575e;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.wp-mock__url i{
  margin-right: 5px;
  font-size: 9px;
  color: #646970;
}

/* Pantalla del panel de WordPress */
.wp-mock__screen{
  padding: 16px 16px 18px;
  color: #1d2327;
  font-size: 12px;
  line-height: 1.45;
}

/* Topbar: título + Añadir plugin */
.wp-mock__topbar{
  margin-bottom: 10px;
}
.wp-mock__title{
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 19px;
  font-weight: 400;
  color: #1d2327;
}
.wp-mock__add{
  padding: 3px 10px;
  border: 1px solid #2271b1;
  border-radius: 3px;
  background: #f6f7f7;
  color: #2271b1;
  font-size: 11px;
  font-weight: 500;
}

/* Subnav: Todos | Activos | ... + búsqueda */
.wp-mock__subnav{
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 11.5px;
}
.wp-mock__tab{
  color: #2271b1;
  text-decoration: none;
}
.wp-mock__tab.is-current{
  color: #1d2327;
  font-weight: 600;
}
.wp-mock__tab em{
  font-style: normal;
  color: #646970;
}
.wp-mock__sep{
  color: #c3c4c7;
}
.wp-mock__search{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}
.wp-mock__search-label{
  color: #1d2327;
  font-size: 11px;
}
.wp-mock__search-box{
  width: 118px;
  height: 24px;
  border: 1px solid #8c8f94;
  border-radius: 3px;
  background: #fff;
}

/* Barra "Acciones en lote" */
.wp-mock__bulk{
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.wp-mock__select{
  display: inline-flex;
  align-items: center;
  gap: 18px;
  padding: 4px 9px;
  border: 1px solid #8c8f94;
  border-radius: 3px;
  background: #fff;
  color: #2c3338;
  font-size: 11px;
}
.wp-mock__select i{
  font-size: 8px;
  color: #646970;
}
.wp-mock__apply{
  padding: 4px 12px;
  border: 1px solid #2271b1;
  border-radius: 3px;
  background: #f6f7f7;
  color: #2271b1;
  font-size: 11px;
  font-weight: 500;
}
.wp-mock__count{
  margin-left: auto;
  color: #646970;
  font-size: 11px;
}

/* Tabla de plugins */
.wp-table{
  border: 1px solid #c3c4c7;
  border-radius: 3px;
  background: #fff;
  overflow: hidden;
}
.wp-table__head{
  display: grid;
  grid-template-columns: 26px 122px 1fr;
  align-items: center;
  column-gap: 8px;
  padding: 8px 10px;
  background: #fff;
  border-bottom: 1px solid #c3c4c7;
  font-size: 11.5px;
  font-weight: 600;
  color: #2c3338;
}
.wp-table__head--foot{
  border-bottom: none;
  border-top: 1px solid #c3c4c7;
}

.wp-row{
  display: grid;
  grid-template-columns: 26px 122px 1fr;
  column-gap: 8px;
  padding: 12px 10px;
  border-bottom: 1px solid #dcdcde;
}
.wp-row:last-of-type{
  border-bottom: none;
}
.wp-row.is-active{
  background: #f6f7ff;
  box-shadow: inset 3px 0 0 #2271b1;
}

.wp-check{
  width: 14px;
  height: 14px;
  margin-top: 2px;
  border: 1px solid #8c8f94;
  border-radius: 3px;
  background: #fff;
}

/* Columna Plugin */
.wp-cell--plugin{
  min-width: 0;
}
.wp-plugin-name{
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #1d2327;
  line-height: 1.3;
}
.wp-actions{
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #2271b1;
}
.wp-actions a{
  color: #2271b1;
  text-decoration: none;
}
.wp-actions__sep{
  color: #c3c4c7;
}

/* Columna Descripción */
.wp-cell--desc{
  min-width: 0;
  color: #2c3338;
}
.wp-cell--desc p{
  margin: 0 0 6px;
  font-size: 11.5px;
  line-height: 1.5;
}
.wp-cell--desc p:last-child{
  margin-bottom: 0;
}
.wp-meta{
  color: #646970;
}
.wp-req{
  color: #1d2327;
}
.wp-note{
  color: #646970;
  font-style: italic;
}
.wp-table a{
  color: #2271b1;
  text-decoration: none;
}

/* =========================================================
  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;
  }
  /* Mockup de plugins: colapsa la tabla a checkbox + contenido apilado */
  .wp-mock__screen{
    font-size: 11px;
  }
  .wp-table__head,
  .wp-row{
    grid-template-columns: 22px 1fr;
  }
  .wp-cell--plugin{ grid-column: 2; }
  .wp-cell--desc{
    grid-column: 2;
    margin-top: 6px;
  }
  .wp-table__head span:nth-child(3){ display: none; }
}
