/* ==========================================================================
   WIFICOR PERU — NOSOTROS / INFO ✅ PRO (FINAL CORPORATIVO)
   - Verde neto #0F766E (marca)
   - Fondo suave + sección con presencia
   - Cards + Principios con microdetalles
   - Hover/Click + SVG reactivo (con JS)
   - Responsive real (no desborde)
========================================================================== */

:root{
  --wf-primary:#0F766E;
  --wf-primary-dark:#0B5F59;
  --wf-text:#0b0f14;
  --wf-muted:#475467;

  --wf-line:rgba(15,118,110,.18);
  --wf-soft:rgba(15,118,110,.045);
  --wf-soft2:rgba(15,118,110,.075);

  --fx-glow: 0 18px 46px rgba(15,118,110,.18);
  --fx-glow2: 0 10px 26px rgba(11,95,89,.16);
  --fx-border: rgba(15,118,110,.28);
  --fx-bg: rgba(15,118,110,.06);
  --fx-ease: cubic-bezier(.2,.9,.2,1);
}

/* Base */
#wfNsInfo{
  padding:62px 0 52px;
  overflow-x:hidden;

  /* ✅ fondo corporativo suave (no blanco plano) */
  background:
    radial-gradient(900px 320px at 50% 0%,
      rgba(15,118,110,.10), rgba(15,118,110,0) 62%),
    linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
}

#wfNsInfo *{ box-sizing:border-box; }
#wfNsInfo img, #wfNsInfo svg{ max-width:100%; height:auto; }

/* Container ancho */
.wfNsWrap2{
  width:100%;
  max-width:1320px;
  margin:0 auto;
  padding:0 18px;
}

/* Header */
.wfNsPurpose{
  text-align:center;
  max-width:1120px;
  margin:0 auto 34px;
}

/* Pill “NUESTRO ENFOQUE” — verde neto sin fondo */
.wfNsPill{
  display:inline-block;
  padding:0;
  margin-bottom:12px;
  border:none;
  background:none;

  color:var(--wf-primary);
  font-weight:950;
  font-size:13px;
  letter-spacing:.10em;
  text-transform:uppercase;
}

/* Título */
.wfNsBig{
  font-size:clamp(30px,4vw,46px);
  line-height:1.10;
  font-weight:950;
  color:var(--wf-text);
  margin:0 0 14px;

  overflow-wrap:anywhere;
  word-break:break-word;
}

.wfNsBig span{ color:var(--wf-primary); }

/* Textos */
.wfNsLead{
  font-size:17px;
  line-height:1.75;
  color:var(--wf-muted);
  margin:0 auto;
  max-width:980px;

  overflow-wrap:anywhere;
  word-break:break-word;
}

.wfNsLead2{ margin-top:10px; }

/* SVG */
.wfNsArt{
  margin-top:26px;
  position:relative;
  transition:filter .25s var(--fx-ease), transform .25s var(--fx-ease), opacity .25s var(--fx-ease);
}

/* Glow overlay */
.wfNsArt::after{
  content:"";
  position:absolute;
  inset:-12px;
  border-radius:18px;
  background:radial-gradient(circle at 50% 55%,
    rgba(15,118,110,.20), rgba(15,118,110,0) 62%);
  opacity:0;
  transition:opacity .25s var(--fx-ease);
  pointer-events:none;
}

/* Activo SVG (lo prende JS) */
.wfNsArt.fx-on{
  transform:translateY(-1px);
  filter:drop-shadow(0 12px 28px rgba(15,118,110,.18));
}
.wfNsArt.fx-on::after{ opacity:1; }

@keyframes wfPulseDot{
  0%{ transform:scale(1); opacity:.9; }
  50%{ transform:scale(1.12); opacity:1; }
  100%{ transform:scale(1); opacity:.9; }
}
.wfNsArt.fx-on circle{
  animation:wfPulseDot 1.2s ease-in-out infinite;
}

/* Bloques */
.wfNsBlock{
  max-width:1100px;
  margin:0 auto 26px;
  padding-top:8px;
}

.wfNsH2{
  font-size:22px;
  font-weight:950;
  color:var(--wf-text);
  margin:0 0 10px;
  position:relative;
}

.wfNsH2::after{
  content:"";
  display:block;
  width:64px;
  height:3px;
  background:var(--wf-primary);
  margin-top:7px;
  border-radius:2px;
}

.wfNsP2{
  font-size:16px;
  line-height:1.78;
  color:var(--wf-muted);
  margin:0;

  overflow-wrap:anywhere;
  word-break:break-word;
}

.wfNsP2mt{ margin-top:10px; }

/* Grid misión/visión */
.wfNsGrid2{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:18px;
  max-width:1100px;
  margin:0 auto 30px;
}

.wfNsCard2{
  border:1px solid var(--wf-line);
  border-radius:16px;
  padding:18px 20px;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(15,118,110,.025) 100%);
  min-width:0;

  position:relative;
  transition:
    transform .22s var(--fx-ease),
    box-shadow .22s var(--fx-ease),
    border-color .22s var(--fx-ease),
    background .22s var(--fx-ease);
  will-change: transform, box-shadow;
}

.wfNsCard2::before{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  top:10px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(15,118,110,0), rgba(15,118,110,.9), rgba(15,118,110,0));
  opacity:0;
  transform:translateY(-4px);
  transition:opacity .22s var(--fx-ease), transform .22s var(--fx-ease);
  pointer-events:none;
}

.wfNsH3{
  font-size:18px;
  font-weight:950;
  color:var(--wf-primary-dark);
  margin:0 0 8px;
}

/* Principios PRO */
.wfNsListPro{
  list-style:none;
  margin:12px 0 0;
  padding:0;

  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:12px 16px;
}

.wfNsListPro li{
  display:flex;
  align-items:flex-start;
  gap:12px;

  padding:14px 14px;
  border-radius:16px;
  border:1px solid rgba(15,118,110,.16);
  background:
    linear-gradient(180deg, rgba(15,118,110,.045), rgba(15,118,110,.02));

  min-width:0;

  position:relative;
  transition:
    transform .22s var(--fx-ease),
    box-shadow .22s var(--fx-ease),
    border-color .22s var(--fx-ease),
    background .22s var(--fx-ease);
  will-change: transform, box-shadow;
}

.wfNsListPro li::before{
  content:"";
  position:absolute;
  left:14px;
  right:14px;
  top:10px;
  height:3px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(15,118,110,0), rgba(15,118,110,.9), rgba(15,118,110,0));
  opacity:0;
  transform:translateY(-4px);
  transition:opacity .22s var(--fx-ease), transform .22s var(--fx-ease);
  pointer-events:none;
}

.wfNsDot{
  flex:0 0 auto;
  width:28px;
  height:28px;
  border-radius:999px;

  display:inline-flex;
  align-items:center;
  justify-content:center;

  background:var(--wf-primary);
  color:#fff;
  font-weight:950;
  font-size:14px;
  line-height:1;
  transition:transform .22s var(--fx-ease), box-shadow .22s var(--fx-ease);
}

.wfNsLiText{ min-width:0; }

.wfNsLiTitle{
  font-size:16px;
  font-weight:950;
  color:var(--wf-text);
  line-height:1.2;
  margin:0 0 3px;
}

.wfNsLiDesc{
  font-size:15.3px;
  line-height:1.6;
  color:var(--wf-muted);
  overflow-wrap:anywhere;
  word-break:break-word;
}

/* Hover desktop */
@media (hover:hover){
  .wfNsCard2:hover,
  .wfNsListPro li:hover{
    transform:translateY(-3px);
    box-shadow:var(--fx-glow);
    border-color:var(--fx-border);
    background:rgba(15,118,110,.06);
  }
  .wfNsCard2:hover::before,
  .wfNsListPro li:hover::before{
    opacity:1;
    transform:translateY(0);
  }
  .wfNsCard2:hover .wfNsH3,
  .wfNsListPro li:hover .wfNsLiTitle{
    color:var(--wf-primary-dark);
  }
  .wfNsListPro li:hover .wfNsDot{
    transform:translateY(-1px);
    box-shadow:0 12px 22px rgba(15,118,110,.26);
  }
}

/* Active (click/touch) */
#wfNsInfo .is-active{
  transform:translateY(-2px);
  box-shadow:var(--fx-glow2);
  border-color:var(--fx-border);
  background:rgba(15,118,110,.06);
}
#wfNsInfo .is-active::before{
  opacity:1;
  transform:translateY(0);
}

/* CTA negro */
.wfNsCTA{ margin-top:34px; }

.wfNsCTAin{
  max-width:1100px;
  margin:0 auto;
  padding:22px 24px;
  border-radius:18px;
  background:#0b0f14;
  border:1px solid rgba(255,255,255,.10);

  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.wfNsCTATitle{
  font-size:20px;
  font-weight:950;
  color:#fff;
}

.wfNsCTASub{
  font-size:15px;
  color:rgba(255,255,255,.75);
}

.wfNsCTAActions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.wfNsBtn2{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 18px;
  border-radius:11px;
  font-size:14px;
  font-weight:950;
  text-decoration:none;
  color:#fff;
  background:var(--wf-primary);
  border:1px solid var(--wf-primary);
  transition:all .2s ease;
  white-space:nowrap;
}

.wfNsBtn2:hover{
  background:var(--wf-primary-dark);
  border-color:var(--wf-primary-dark);
}

.wfNsBtn2.ghost{
  background:transparent;
  color:#fff;
  border:1px solid rgba(255,255,255,.35);
}

.wfNsBtn2.ghost:hover{
  background:rgba(255,255,255,.08);
}

/* Responsive */
@media (max-width:900px){
  .wfNsWrap2{ max-width:100%; }
  .wfNsPurpose, .wfNsBlock, .wfNsCTAin{ max-width:1040px; }
}

@media (max-width:768px){
  .wfNsGrid2{ grid-template-columns:1fr; }
  .wfNsListPro{ grid-template-columns:1fr; }
  .wfNsCTAin{ text-align:center; justify-content:center; }
}

@media (max-width:420px){
  .wfNsBig{ font-size:26px; }
  .wfNsLead{ font-size:16px; }
  .wfNsBtn2{ width:100%; }
  .wfNsCTAActions{ width:100%; justify-content:center; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .wfNsCard2,
  .wfNsListPro li,
  .wfNsDot,
  .wfNsArt,
  .wfNsArt::after{
    transition:none !important;
    animation:none !important;
  }
}
