/* Nosotros: formato de las referencias ("Confianza cercana" + "Soporte primero") en el tema claro de la web.
   Hero con las redes oficiales → tres momentos → ayuda por motivo junto a la marca
   → preguntas → cierre con tienda. Paleta de la web; el azul de foco hace de acento en dos titulares. */
.ns {
  --ns-ink: #0d1424;
  --ns-soft: #4c5568;
  --ns-panel: #edf2f9;
  --ns-panel-strong: #e5ecf6;
  --ns-line: rgba(13, 20, 36, .12);
  --ns-accent: #4d74b8;
  --ns-green: #13803f;
  --ns-ease: cubic-bezier(.23, 1, .32, 1);
  padding: 0 0 clamp(3rem, 6vw, 5rem);
  background: var(--bg, #f7faff);
  color: var(--ns-ink);
}
.ns > section + section { margin-top: clamp(56px, 8vw, 112px); }
.ns__title { margin: 0; font-size: clamp(2.4rem, 4.6vw, 4.2rem); font-weight: 800; line-height: 1.02; letter-spacing: -.025em; text-wrap: balance; }
.nx-accent { color: var(--ns-accent); }
.ns__lead { margin: 22px 0 0; max-width: 31rem; color: var(--ns-ink); font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.55; text-wrap: pretty; }
.nx-h2 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.8rem); font-weight: 800; line-height: 1.06; letter-spacing: -.02em; text-wrap: balance; }
.nx-sub { margin: 8px 0 0; color: var(--ns-soft); font-size: 1.02rem; line-height: 1.5; }
.nx-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(18px, 2.4vw, 28px); }
.nx-head--center { display: grid; justify-items: center; text-align: center; }
.nx-head--center .nx-sub { max-width: 38rem; }

/* Botones */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px;
  border: 1.5px solid rgba(13, 20, 36, .22); border-radius: 99px; background: transparent; color: var(--ns-ink);
  font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: transform 140ms var(--ns-ease), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.nx-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nx-btn--solid { border-color: var(--ns-ink); background: var(--ns-ink); color: #fff; }
.nx-btn:active { transform: scale(.97); }

/* Hero: mensaje a la izquierda; a la derecha, las redes oficiales */
.nx-hero { display: grid; gap: 28px; padding-top: clamp(24px, 4vw, 56px); }
.nx-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.nx-visit {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 18px;
  color: var(--ns-soft); font-size: .95rem; text-decoration: none;
}
.nx-visit svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nx-visit span { text-decoration: underline; text-decoration-color: rgba(76, 85, 104, .4); text-underline-offset: 3px; }

/* Redes: tarjeta a la derecha del hero con las tres cuentas oficiales de WIWU Perú */
.nx-redes { padding: clamp(24px, 3vw, 40px); border-radius: 28px; background: var(--ns-panel); }
.nx-redes__title { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.nx-redes__sub { margin: 8px 0 0; color: var(--ns-soft); font-size: 1.02rem; line-height: 1.5; }
.nx-redes__list { margin: clamp(18px, 2.4vw, 26px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ns-line); }
.nx-redes__list li + li { border-top: 1px solid var(--ns-line); }
.nx-redes__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 76px; padding: 14px 0;
  color: var(--ns-ink); text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation;
  transition: transform 140ms var(--ns-ease);
}
.nx-redes__text { display: grid; gap: 3px; min-width: 0; }
.nx-redes__text strong { font-size: 1.2rem; font-weight: 800; }
.nx-redes__text span { color: var(--ns-soft); font-size: .95rem; overflow-wrap: anywhere; }
.nx-redes__go { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ns-ink); color: #fff; transition: transform 200ms var(--ns-ease); }
.nx-redes__go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nx-redes__list a:active { transform: scale(.985); }

/* Tres momentos: fila con ícono, entre dos líneas; cada uno abre su pestaña */
.nx-moments { display: grid; gap: 0; border-block: 1px solid var(--ns-line); }
.nx-moment {
  display: grid; grid-template-columns: 24px minmax(0, 1fr) 18px; gap: 14px; align-items: start;
  padding: 22px 4px; border: 0; background: transparent; color: var(--ns-ink); font: inherit; text-align: left; cursor: pointer;
  touch-action: manipulation; transition: transform 140ms var(--ns-ease);
}
.nx-moment + .nx-moment { border-top: 1px solid var(--ns-line); }
.nx-moment svg { width: 24px; height: 24px; margin-top: 1px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
/* La flecha avisa que el momento abre su ayuda; se adelanta un poco al pasar el mouse */
.nx-moment svg.nx-moment__go { width: 18px; height: 18px; margin-top: 3px; color: var(--ns-soft); stroke-width: 2; transition: transform 200ms var(--ns-ease), color 160ms ease; }
.nx-moment__text { display: grid; gap: 6px; }
.nx-moment__text strong { font-size: 1.05rem; font-weight: 800; }
.nx-moment__text span { color: var(--ns-soft); font-size: .98rem; line-height: 1.5; }
.nx-moment:active { transform: scale(.985); }
.ns textarea { caret-color: #17345f; }

/* Ayuda por motivo: pestañas subrayadas, lista de checks y mensaje armado; al lado, la marca */
.sp { scroll-margin-top: calc(var(--header-h, 68px) + 12px); }
.sp__layout { display: grid; gap: 18px; align-items: start; }
.sp__help { display: grid; gap: 22px; padding: clamp(20px, 3vw, 34px); border: 1px solid var(--ns-line); border-radius: 26px; background: #fff; }
.sp__ask { margin: 0; color: var(--ns-soft); font-size: .95rem; font-weight: 600; }
.sp__tabs { position: relative; display: flex; gap: clamp(14px, 3vw, 28px); margin-top: -10px; border-bottom: 1px solid var(--ns-line); }
.sp__tab {
  min-height: 48px; padding: 0 2px; border: 0; background: transparent; color: var(--ns-soft);
  font: inherit; font-size: .98rem; font-weight: 700; white-space: nowrap; cursor: pointer;
  touch-action: manipulation; -webkit-user-select: none; user-select: none; transition: color 160ms ease;
}
.sp__tab[aria-selected="true"] { color: var(--ns-ink); }
/* El subrayado se desplaza a la pestaña elegida (solo transform: posición y ancho por escala) */
.sp__bar {
  position: absolute; left: 0; bottom: -1px; width: 100px; height: 2.5px; border-radius: 2px; background: var(--ns-ink);
  transform-origin: left center; transform: translateX(var(--bar-x, 0px)) scaleX(var(--bar-s, 1));
  transition: transform 240ms var(--ns-ease); pointer-events: none;
}
.sp__bar.is-instant { transition: none; }
.sp__panel { display: grid; gap: 22px; }
.sp__panel[hidden] { display: none; }
.sp__panel.is-entering { animation: sp-in 220ms var(--ns-ease); }
@keyframes sp-in { from { opacity: 0; transform: translateY(6px); } }
.sp__panel-title { margin: 0; font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.sp__panel-text { margin: -12px 0 0; font-size: 1.02rem; line-height: 1.55; }
.sp__checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.sp__checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 1rem; line-height: 1.4; }
.sp__checks svg { width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--ns-green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sp__form { padding-top: 6px; }

.sp__brand { display: grid; overflow: hidden; border-radius: 26px; background: var(--ns-panel); }
.sp__brand-body { display: grid; gap: 14px; padding: clamp(22px, 3vw, 32px); }
.sp__brand-logo { width: auto; height: 26px; }
.sp__brand-title { margin: 6px 0 0; font-size: clamp(1.5rem, 2.2vw, 1.9rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; text-wrap: balance; }
.sp__brand-body > p { margin: 0; font-size: 1rem; line-height: 1.55; }

/* Preguntas: filas entre líneas, la flecha gira al abrir */
.nx-faq__list { border-top: 1px solid var(--ns-line); margin-top: clamp(16px, 2vw, 24px); }
.nx-q { border-bottom: 1px solid var(--ns-line); }
.nx-q summary {
  display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 14px 2px;
  font-weight: 700; font-size: 1.05rem; cursor: pointer; list-style: none; touch-action: manipulation;
}
.nx-q summary::-webkit-details-marker { display: none; }
.nx-q summary::before {
  content: ""; flex: none; width: 0; height: 0; border-block: 5px solid transparent; border-left: 7px solid currentColor;
  transition: transform 200ms var(--ns-ease);
}
.nx-q[open] summary::before { transform: rotate(90deg); }
.nx-q p { margin: 0; padding: 0 2px 20px 21px; max-width: 46rem; font-size: 1rem; line-height: 1.6; }

/* Cierre: tienda y ayuda */
.nx-calm { display: grid; gap: 20px; padding: clamp(24px, 4vw, 44px); border-radius: 28px; background: var(--ns-panel); }
.nx-calm__text p { margin: 10px 0 0; max-width: 34rem; font-size: 1.05rem; line-height: 1.55; }
.nx-calm__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Formulario "Arma tu consulta" y paneles de pedido / producto */
.ns__form { display: grid; gap: 22px; }
.ns__field { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.ns__label, .ns__field legend { padding: 0; font-size: .98rem; font-weight: 700; }
.ns__label small, .ns__field legend small { color: var(--ns-soft); font-weight: 500; }
.ns__select, .ns__input, .ns__textarea {
  width: 100%; min-height: 50px; padding: 0 16px;
  border: 1.5px solid rgba(13, 20, 36, .14); border-radius: 14px; background: #fff;
  color: var(--ns-ink); font: inherit; font-size: 16px;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.ns__select { appearance: none; -webkit-appearance: none; padding-right: 44px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%230d1424' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.ns__textarea { min-height: 96px; padding: 14px 16px; resize: vertical; line-height: 1.45; }
.ns__select:focus-visible, .ns__input:focus-visible, .ns__textarea:focus-visible { outline: none; border-color: var(--ns-accent); box-shadow: 0 0 0 3px rgba(77, 116, 184, .2); }
.ns__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ns__chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1.5px solid rgba(13, 20, 36, .14); border-radius: 99px; background: #fff;
  color: var(--ns-ink); font: inherit; font-size: .95rem; cursor: pointer;
  touch-action: manipulation; -webkit-user-select: none; user-select: none;
  transition: transform 140ms var(--ns-ease), background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}
.ns__chip[aria-pressed="true"] { border-color: var(--ns-ink); background: var(--ns-ink); color: #fff; }
.ns__chip:active { transform: scale(.97); }
.ns__preview { display: grid; gap: 8px; padding: 16px 18px; border-radius: 16px; background: var(--ns-panel); }
.ns__preview-label { margin: 0; font-size: .9rem; font-weight: 700; }
.ns__preview-text { margin: 0; color: var(--ns-ink); font-size: .96rem; line-height: 1.5; white-space: pre-line; }
.ns__send {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px;
  border-radius: 99px; background: var(--ns-green); color: #fff;
  font-weight: 800; font-size: 1rem; text-decoration: none;
  touch-action: manipulation; transition: transform 140ms var(--ns-ease), background-color 160ms ease;
}
.ns__send svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ns__send:active { transform: scale(.97); }
.ns__send[aria-disabled="true"] { background: #9aa3b2; pointer-events: none; }
.ns__note { margin: -8px 0 0; color: var(--ns-soft); font-size: .88rem; line-height: 1.45; }
.ns__hint { margin: -12px 0 0; color: #a3341f; font-size: .88rem; }
.ns__hint[hidden] { display: none; }

.ns button:focus-visible, .ns a:focus-visible, .nx-q summary:focus-visible { outline: 2px solid var(--ns-accent); outline-offset: 3px; }

@media (hover: hover) and (pointer: fine) {
  .nx-btn:hover { border-color: var(--ns-ink); }
  .nx-btn--solid:hover { background: #1f2a42; }
  .nx-visit:hover span { text-decoration-color: currentColor; }
  .nx-redes__list a:hover .nx-redes__go { transform: translate(2px, -2px); }
  .nx-moment:hover .nx-moment__go { transform: translateX(3px); color: var(--ns-ink); }
  .sp__tab:not([aria-selected="true"]):hover { color: var(--ns-ink); }
  .ns__chip:not([aria-pressed="true"]):hover { border-color: rgba(13, 20, 36, .4); }
  .ns__send:hover { background: #0f6e35; }
}

@media (min-width: 760px) {
  .nx-moments { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .nx-moment + .nx-moment { border-top: 0; }
  .nx-calm { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
}
@media (min-width: 1000px) {
  .nx-hero { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
  .sp__layout { grid-template-columns: minmax(0, 1.45fr) minmax(0, .95fr); gap: 22px; }
  .sp__brand { position: sticky; top: calc(var(--header-h, 68px) + 24px); }
}
/* Teléfono: la foto no empuja todo hacia abajo y las pestañas caben */
@media (max-width: 759px) {
  .nx-redes { border-radius: 24px; }
  .nx-btn { width: 100%; }
  .nx-hero__ctas { gap: 10px; }
  .sp__help { padding: 20px 18px; border-radius: 22px; }
  .sp__tabs { gap: 16px; }
  .sp__tab { font-size: .92rem; }
}

@media (prefers-reduced-motion: reduce) {
  .nx-btn, .nx-redes__list a, .nx-redes__go, .nx-moment, .nx-moment__go, .sp__bar, .ns__chip, .ns__send, .nx-q summary::before { transition: none; }
  .nx-btn:active, .nx-redes__list a:active, .nx-moment:active, .ns__chip:active, .ns__send:active { transform: none; }
  .sp__panel.is-entering { animation: none; }
}

/* Videos oficiales de Instagram (reels de @official.wiwu.peru), en una tira que se desliza con flechas */
.nx-reels__nav { display: flex; gap: 10px; }
.nx-reels__btn {
  display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid rgba(13, 20, 36, .22); border-radius: 50%;
  background: transparent; color: var(--ns-ink); cursor: pointer; touch-action: manipulation;
  transition: transform 140ms var(--ns-ease), background-color 160ms ease, color 160ms ease;
}
.nx-reels__btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.nx-reels__btn:active { transform: scale(.94); }
.nx-reels__track {
  display: flex; gap: clamp(12px, 1.6vw, 20px); margin: 0; padding: 0 0 6px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
}
.nx-reels__track::-webkit-scrollbar { display: none; }
.nx-reel { will-change: opacity; --w: min(328px, 78vw); flex: none; width: var(--w); scroll-snap-align: start; border-radius: 20px; overflow: hidden; background: var(--ns-panel); }
/* La barra de desplazamiento interna del reel queda fuera del recuadro (17 px de más, recortados por el borde redondeado) */
.nx-reel iframe { display: block; width: calc(100% + 17px); height: calc(var(--w) * 1.19 + 275px); border: 0; }
@media (hover: hover) and (pointer: fine) {
  .nx-reels__btn:hover { background: var(--ns-ink); border-color: var(--ns-ink); color: #fff; }
}
@media (prefers-reduced-motion: reduce) { .nx-reels__btn { transition: none; } .nx-reels__btn:active { transform: none; } }
