/*
 * Neumazero — estilos de la portada (home).
 * Se carga solo en la portada. Usa las variables de identidad del tema.
 */

/* ===== Eyebrow ===== */
.nz-eyebrow {
	font-family: var(--nz-font-head, sans-serif);
	text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700;
	color: var(--nz-muted, #6B6F76); margin: 0 0 14px;
}
.nz-eyebrow span, .nz-eyebrow--light { color: var(--nz-primary, #E10600); }
.nz-eyebrow--light { color: var(--nz-primary, #E10600); }

/* ===== TOP: banda de busqueda (sin slider) ===== */
.nz-top {
	position: relative; isolation: isolate; overflow: hidden;
	background: radial-gradient(1200px 500px at 80% -10%, #1c1c1c 0%, #0B0B0B 60%);
	color: #fff;
	padding-block: clamp(48px, 7vw, 84px);
}
.nz-top__bg {
	position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		linear-gradient(115deg, transparent 58%, rgba(225,6,0,.16) 58.3%, rgba(225,6,0,.16) 62%, transparent 62.3%),
		linear-gradient(115deg, transparent 63%, rgba(225,6,0,.30) 63.2%, rgba(225,6,0,.30) 64.4%, transparent 64.6%);
}
.nz-top__inner { position: relative; max-width: 1040px; }
.nz-top__title {
	color: #fff; font-size: clamp(2.1rem, 1.3rem + 3.6vw, 3.6rem); line-height: 1.04;
	font-weight: 700; margin: 0 0 14px; letter-spacing: 0.005em;
}
.nz-top__title span { color: var(--nz-primary, #E10600); }
.nz-top__lead { color: rgba(255,255,255,.72); font-size: 1.12rem; max-width: 52ch; margin: 0 0 26px; }

/* Buscador por medida */
.nz-finder {
	display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap;
	background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
	padding: 16px; border-radius: 16px; backdrop-filter: blur(4px);
	max-width: 720px;
}
.nz-finder__field { display: flex; flex-direction: column; gap: 6px; flex: 1 1 110px; }
.nz-finder__field label {
	font-size: .72rem; text-transform: uppercase; letter-spacing: .08em;
	color: rgba(255,255,255,.6); font-weight: 700; font-family: var(--nz-font-head, sans-serif);
}
.nz-finder__field select {
	background: #fff; color: #14181A; border: 0; border-radius: 10px;
	padding: 12px 12px; font-weight: 600; width: 100%;
}
.nz-finder__sep { color: rgba(255,255,255,.4); font-weight: 800; padding-bottom: 12px; font-size: 1.1rem; }
.nz-finder__submit {
	flex: 1 1 auto; background: var(--nz-primary, #E10600); border-radius: 10px;
	padding: 13px 22px; white-space: nowrap; box-shadow: 0 12px 24px -14px rgba(225,6,0,.8);
}
.nz-finder__submit:hover { background: var(--nz-primary-dark, #B00500); }
.nz-top__alt { margin: 16px 0 0; color: rgba(255,255,255,.6); font-size: .95rem; }
.nz-top__alt a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.nz-top__alt a:hover { color: var(--nz-primary, #E10600); }

/* ===== Franja de confianza ===== */
.nz-trust { background: var(--nz-surface-alt, #F2F2F2); border-bottom: 1px solid var(--nz-border, #E4E4E4); }
.nz-trust__grid {
	display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
	padding-block: 22px;
}
.nz-trust__item { display: flex; align-items: center; gap: 14px; padding: 8px 18px; }
.nz-trust__item + .nz-trust__item { border-left: 1px solid var(--nz-border, #E4E4E4); }
.nz-trust__item svg { width: 34px; height: 34px; flex: 0 0 auto; color: var(--nz-primary, #E10600); }
.nz-trust__item strong { display: block; font-family: var(--nz-font-head, sans-serif); font-size: .98rem; color: var(--nz-ink, #0B0B0B); }
.nz-trust__item span { font-size: .84rem; color: var(--nz-muted, #6B6F76); }

/* ===== Secciones ===== */
.nz-section { padding-block: clamp(40px, 6vw, 72px); }
.nz-section:nth-of-type(even) { background: var(--nz-surface, #fff); }
.nz-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.nz-section__head h2 { font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); margin: 0; }
.nz-section__head p { margin: 0; color: var(--nz-muted, #6B6F76); }
.nz-section__head--center { justify-content: center; text-align: center; }
.nz-link-more { font-family: var(--nz-font-head, sans-serif); font-weight: 700; color: var(--nz-primary, #E10600); white-space: nowrap; }

/* ===== Categorias (seccion oscura, actitud de marca) ===== */
.nz-cats { position: relative; overflow: hidden; background: var(--nz-ink, #0B0B0B); }
.nz-cats::before {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: linear-gradient(115deg, transparent 72%, rgba(225,6,0,.14) 72.2%, rgba(225,6,0,.14) 75%, transparent 75.2%);
}
.nz-cats > .nz-container { position: relative; z-index: 1; }
.nz-cats .nz-section__head h2 { color: #fff; }
.nz-cats .nz-section__head p { color: rgba(255,255,255,.6); }
.nz-cats__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.nz-cat {
	display: flex; flex-direction: column; gap: 4px; text-decoration: none;
	background: #141414; border: 1px solid rgba(255,255,255,.1);
	border-radius: 16px; padding: 22px; color: #fff;
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
	position: relative; overflow: hidden;
}
.nz-cat::before {
	content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px;
	background: var(--nz-primary, #E10600); transform: scaleY(0); transform-origin: top; transition: transform .2s ease;
}
.nz-cat:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgba(0,0,0,.6); border-color: rgba(255,255,255,.22); background: #181818; text-decoration: none; }
.nz-cat:hover::before { transform: scaleY(1); }
.nz-cat__ico svg { width: 38px; height: 38px; color: var(--nz-primary, #E10600); margin-bottom: 10px; }
.nz-cat__name { font-family: var(--nz-font-head, sans-serif); font-weight: 700; font-style: italic; font-size: 1.05rem; color: #fff; }
.nz-cat__desc { color: rgba(255,255,255,.55); font-size: .9rem; }

/* ===== Destacados ===== */
.nz-featured { background: var(--nz-surface-alt, #F2F2F2); }
.nz-featured .woocommerce { margin: 0; }

/* ===== Banda CTA ===== */
.nz-ctaband { position: relative; overflow: hidden; background: var(--nz-ink, #0B0B0B); color: #fff; }
.nz-ctaband__bg {
	position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: linear-gradient(100deg, transparent 60%, rgba(225,6,0,.9) 60.2%, rgba(225,6,0,.9) 66%, transparent 66.2%);
	opacity: .9;
}
.nz-ctaband__inner {
	position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between;
	gap: 28px; flex-wrap: wrap; padding-block: clamp(36px, 5vw, 56px);
}
.nz-ctaband h2 { color: #fff; margin: 4px 0 10px; font-size: clamp(1.5rem, 1.2rem + 1.6vw, 2.2rem); }
.nz-ctaband__lead { color: rgba(255,255,255,.75); margin: 0; max-width: 46ch; }
.nz-ctaband__action .nz-cta { font-size: 1.05rem; padding: 15px 30px; }

/* ===== Marcas ===== */
.nz-brands { background: var(--nz-surface, #fff); }
.nz-brands__list {
	list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
	gap: 14px;
}
.nz-brands__list li {
	font-family: var(--nz-font-head, sans-serif); font-weight: 700; letter-spacing: .02em;
	color: var(--nz-muted, #6B6F76); border: 1px solid var(--nz-border, #E4E4E4);
	padding: 12px 22px; border-radius: 999px; background: var(--nz-surface-alt, #F2F2F2);
	transition: color .15s, border-color .15s;
}
.nz-brands__list li:hover { color: var(--nz-ink, #0B0B0B); border-color: #cfcfcf; }

/* ===== Principios (Por que Neumazero) ===== */
.nz-principles { background: var(--nz-surface, #fff); }
.nz-principles__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.nz-principle { text-align: center; padding: 10px; }
.nz-principle__ico { display: inline-flex; width: 66px; height: 66px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(225,6,0,.08); color: var(--nz-primary, #E10600); margin-bottom: 14px; }
.nz-principle__ico svg { width: 32px; height: 32px; }
.nz-principle--trust .nz-principle__ico { background: rgba(42,107,255,.1); color: var(--nz-steel, #2A6BFF); }
.nz-principle h3 { font-size: 1.15rem; margin: 0 0 6px; }
.nz-principle p { margin: 0; color: var(--nz-muted, #6B6F76); font-size: .95rem; }

/* ===== Rendimiento sin limites ===== */
.nz-limitless .nz-ctaband__inner { padding-block: clamp(44px, 6vw, 76px); }
.nz-limitless__title { font-size: clamp(2rem, 1.2rem + 3.4vw, 3.6rem); margin: 6px 0 12px; line-height: 1; color: #fff; }
.nz-limitless__title span { color: var(--nz-primary, #E10600); }

/* ===== Responsive ===== */
@media (max-width: 860px) {
	.nz-principles__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
	.nz-principles__grid { grid-template-columns: 1fr; }
}
/* ===== Responsive (base home) ===== */
@media (max-width: 860px) {
	.nz-trust__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
	.nz-trust__item:nth-child(3) { border-left: 0; }
}
@media (max-width: 680px) {
	.nz-finder { flex-direction: column; align-items: stretch; }
	.nz-finder__sep { display: none; }
	.nz-finder__submit { width: 100%; }
	.nz-trust__grid { grid-template-columns: 1fr; }
	.nz-trust__item + .nz-trust__item { border-left: 0; border-top: 1px solid var(--nz-border, #E4E4E4); }
	.nz-ctaband__inner { flex-direction: column; align-items: flex-start; }
}
