/* ÓPTICA FIJA — Lista de protección de objetivos. Todo scopeado a .of-lpo. */
.of-lpo{
  --of-red:#E02B20; --of-red-dark:#B81F17; --of-black:#000; --of-ink:#1A1A1A;
  --of-muted:#6B6B6B; --of-white:#fff; --of-surface:#F7F6F5; --of-border:#E6E4E1;
  font-family:'Albert Sans',Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;
  color:var(--of-ink);line-height:1.5;
}
.of-lpo *{box-sizing:border-box}
.of-lpo a{text-decoration:none}
.of-lpo-wrap{max-width:1180px;margin:0 auto;padding:0 clamp(20px,5vw,64px)}

/* ---------- HERO ---------- */
.of-lpo-hero{background:var(--of-white);padding:clamp(24px,4vw,52px) 0 clamp(22px,3vw,34px);text-align:center}
.of-lpo-h1{font-size:clamp(2rem,5.2vw,3.35rem);font-weight:800;line-height:1.07;letter-spacing:-.015em;margin:0 0 16px;color:var(--of-ink);text-transform:none}
.of-lpo-red{color:var(--of-red)}
.of-lpo-lead{max-width:720px;margin:0 auto;font-size:clamp(1.05rem,2vw,1.1875rem);font-weight:500;line-height:1.6;color:var(--of-muted)}
.of-lpo-lead strong{color:var(--of-ink);font-weight:700}
.of-lpo-stats{display:flex;flex-wrap:wrap;gap:12px 18px;justify-content:center;align-items:center;margin-top:24px}
.of-lpo-stat{font-size:.98rem;font-weight:600;color:var(--of-muted)}
.of-lpo-stat b{color:var(--of-ink);font-weight:800;font-size:1.05rem}
.of-lpo-stat-sep{width:5px;height:5px;border-radius:50%;background:var(--of-red)}

/* ---------- TOOLBAR pegajosa (buscador + pills) ---------- */
.of-lpo-tools{position:sticky;top:90px;z-index:50;background:rgba(255,255,255,.92);
  -webkit-backdrop-filter:saturate(1.5) blur(10px);backdrop-filter:saturate(1.5) blur(10px);
  border-top:1px solid var(--of-border);border-bottom:1px solid var(--of-border);
  padding:14px 0;transition:box-shadow .25s ease}
.of-lpo-tools.is-stuck{box-shadow:0 10px 24px rgba(0,0,0,.06)}
.of-lpo-toolsrow{display:flex;align-items:center;gap:16px;flex-wrap:wrap}

.of-lpo-search{position:relative;flex:1 1 320px;min-width:240px;display:flex;align-items:center}
.of-lpo-search-ic{position:absolute;left:18px;top:50%;transform:translateY(-50%);display:flex;color:var(--of-muted);pointer-events:none;z-index:1}
.of-lpo-search-ic svg{width:19px;height:19px}
.of-lpo .of-lpo-input{width:100%;height:auto;font-family:inherit;font-size:1.05rem;font-weight:500;color:var(--of-ink);
  background:var(--of-surface) !important;border:1.5px solid var(--of-border);border-radius:999px;
  margin:0;padding:14px 48px 14px 50px !important;line-height:1.2;-webkit-appearance:none;appearance:none;box-shadow:none;
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
.of-lpo-input::-webkit-search-decoration,.of-lpo-input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.of-lpo-input::placeholder{color:#9a9a9a;font-weight:500}
.of-lpo .of-lpo-input:focus{outline:none;background:#fff !important;border-color:var(--of-red);box-shadow:0 0 0 3px rgba(224,43,32,.13)}
.of-lpo-clear{position:absolute;right:9px;top:50%;transform:translateY(-50%);width:30px;height:30px;border:0;border-radius:50%;background:#ECEAE7 !important;
  color:var(--of-ink);display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;box-shadow:none !important;transition:background .18s ease,color .18s ease}
.of-lpo-clear svg{width:15px;height:15px}
.of-lpo-clear:hover{background:var(--of-red) !important;color:#fff}

.of-lpo-pills{display:flex;gap:9px;flex-wrap:wrap;flex:0 1 auto}
.of-lpo-pill{font-family:inherit;font-size:.95rem;font-weight:600;color:var(--of-ink) !important;
  background:#fff !important;border:1.5px solid var(--of-border);border-radius:999px;padding:10px 16px;cursor:pointer;
  display:inline-flex;align-items:center;gap:7px;line-height:1;box-shadow:none !important;
  transition:border-color .18s ease,color .18s ease,background .18s ease}
.of-lpo-pill b{font-weight:800;font-size:.82rem;color:var(--of-muted);transition:color .18s ease}
.of-lpo-pill:hover{background:#fff !important;border-color:var(--of-red);color:var(--of-red) !important}
.of-lpo-pill:hover b{color:var(--of-red)}
.of-lpo-pill.is-active{background:var(--of-red) !important;border-color:var(--of-red);color:#fff !important}
.of-lpo-pill.is-active:hover{background:var(--of-red-dark) !important;border-color:var(--of-red-dark);color:#fff !important}
.of-lpo-pill.is-active b{color:#fff}

/* ---------- CUERPO ---------- */
.of-lpo-body{background:var(--of-surface);padding:clamp(28px,4vw,48px) 0 clamp(40px,6vw,72px)}
.of-lpo-count{margin:0 0 22px;font-size:.95rem;font-weight:600;color:var(--of-muted);min-height:1.2em}
.of-lpo-count b{color:var(--of-ink);font-weight:800}

.of-lpo-brand{background:var(--of-white);border:1px solid var(--of-border);border-radius:18px;
  padding:clamp(20px,2.6vw,30px);margin-bottom:22px;
  box-shadow:0 1px 3px rgba(0,0,0,.04),0 12px 30px rgba(0,0,0,.04)}
.of-lpo-brand:last-of-type{margin-bottom:0}
.of-lpo-bhead{display:flex;align-items:center;gap:14px;margin:0 0 20px;padding-bottom:16px;border-bottom:1px solid var(--of-border)}
.of-lpo-bname{font-size:clamp(1.4rem,2.6vw,1.85rem);font-weight:800;letter-spacing:-.01em;margin:0;color:var(--of-ink);text-transform:none;line-height:1}
.of-lpo-badge{display:inline-flex;align-items:center;gap:6px;font-size:.82rem;font-weight:600;color:var(--of-muted);
  background:var(--of-surface);border:1px solid var(--of-border);border-radius:999px;padding:5px 12px;line-height:1.1;white-space:nowrap}
.of-lpo-badge-n{font-weight:800;color:var(--of-red)}

.of-lpo-grid{list-style:none;margin:0;padding:0;display:grid;gap:10px;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,288px),1fr))}
.of-lpo-item{display:flex;align-items:center;gap:11px;min-width:0;
  background:var(--of-white);border:1px solid var(--of-border);border-radius:11px;padding:11px 14px;
  transition:border-color .16s ease,background .16s ease}
.of-lpo-item-ic{flex:0 0 auto;display:flex;color:#B7B4AF;transition:color .16s ease}
.of-lpo-item-ic svg{width:20px;height:20px}
.of-lpo-item-name{font-size:.95rem;font-weight:600;color:var(--of-ink);line-height:1.32;min-width:0}
.of-lpo-item:hover{border-color:var(--of-red);background:#FDF6F5}
.of-lpo-item:hover .of-lpo-item-ic{color:var(--of-red)}
/* resalte del término buscado */
.of-lpo-item mark{background:rgba(224,43,32,.16);color:var(--of-red-dark);font-weight:800;border-radius:3px;padding:0 1px}

.of-lpo-brand.is-hidden{display:none}
.of-lpo-item.is-hidden{display:none}

/* ---------- estado vacío ---------- */
.of-lpo-empty{text-align:center;padding:clamp(36px,6vw,64px) 20px;background:var(--of-white);
  border:1px dashed var(--of-border);border-radius:18px}
.of-lpo-empty-ic{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:50%;
  background:var(--of-surface);color:var(--of-muted);margin-bottom:14px}
.of-lpo-empty-ic svg{width:26px;height:26px}
.of-lpo-empty-t{margin:0 0 6px;font-size:1.15rem;font-weight:800;color:var(--of-ink)}
.of-lpo-empty-s{margin:0;font-size:1rem;color:var(--of-muted)}
.of-lpo-empty-s em{font-style:normal;font-weight:700;color:var(--of-ink)}

/* ---------- CTA (único bloque rojo) ---------- */
.of-lpo-cta{background:var(--of-red);color:#fff;padding:clamp(36px,5vw,60px) 0}
.of-lpo-ctainner{display:flex;align-items:center;justify-content:space-between;gap:26px;flex-wrap:wrap}
.of-lpo-cta-h{font-size:clamp(1.5rem,3.2vw,2.1rem);font-weight:800;margin:0 0 8px;color:#fff;text-transform:none;line-height:1.12}
.of-lpo-cta-p{margin:0;max-width:640px;font-size:1.0625rem;line-height:1.55;color:rgba(255,255,255,.92)}
.of-lpo-cta-btns{display:flex;gap:12px;flex-wrap:wrap;flex:0 0 auto}
.of-lpo-btn{display:inline-flex;align-items:center;gap:9px;font-weight:700;font-size:1.05rem;line-height:1;
  padding:14px 24px;border-radius:8px;background:#fff;color:var(--of-red);border:2px solid #fff;cursor:pointer;
  transition:background .2s ease,color .2s ease,border-color .2s ease}
.of-lpo-btn svg{width:18px;height:18px}
.of-lpo-btn:hover{background:transparent;color:#fff;border-color:#fff}
.of-lpo-btn--inv{background:transparent;color:#fff;border-color:rgba(255,255,255,.7)}
.of-lpo-btn--inv:hover{background:#fff;color:var(--of-red);border-color:#fff}

/* ---------- responsive ---------- */
@media(max-width:1200px){ .of-lpo-tools{top:80px} }
@media(max-width:720px){
  .of-lpo-toolsrow{gap:12px}
  .of-lpo-search{flex:1 1 100%}
  .of-lpo-pills{width:100%;flex-wrap:nowrap;overflow-x:auto;-ms-overflow-style:none;scrollbar-width:none;padding-bottom:2px}
  .of-lpo-pills::-webkit-scrollbar{display:none}
  .of-lpo-pill{flex:0 0 auto}
  .of-lpo-grid{grid-template-columns:1fr}
  .of-lpo-ctainner{flex-direction:column;align-items:center;text-align:center}
  .of-lpo-cta-p{margin-left:auto;margin-right:auto}
  .of-lpo-cta-btns{width:100%;justify-content:center}
  .of-lpo-btn{flex:1 1 auto;justify-content:center}
}
