/* Nexomi3D — detalles visuales que los bloques no cubren.
   Colores, tipografías y espacios salen de theme.json (variables --wp--preset--*). */

:root {
	--nx-grad: linear-gradient(90deg, #FF28D6, #7B3CFF, #00A9FF, #8BFF00);
	--nx-grad-3: linear-gradient(135deg, #FF28D6, #7B3CFF, #00A9FF);
	--nx-radius: 28px;
	--nx-shadow: 0 24px 70px rgba(26, 29, 36, .12);
	--nx-line: rgba(84, 91, 104, .14);
}

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { overflow-x: hidden; -webkit-font-smoothing: antialiased; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

.nx-gradient-text {
	background: var(--nx-grad);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	-webkit-text-fill-color: transparent;
}

/* ===== Cabecera ===== */
.nx-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(26, 29, 36, .94);
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 4px 30px rgba(0, 0, 0, .15);
	padding: 0 !important;
	margin-block-start: 0 !important;
}
.admin-bar .nx-header { top: 32px; }
.nx-header::after { content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--nx-grad); opacity: .75; }
.nx-header-inner { padding: 12px 20px; gap: 20px; max-width: 1280px; margin: 0 auto; }
.nx-header .nx-logo { margin: 0; }
.nx-header .nx-logo img { width: 176px; height: auto; display: block; }
.nx-header .wp-block-navigation { font-weight: 600; font-size: .92rem; gap: 22px; }
.nx-header .wp-block-navigation a { color: rgba(255, 255, 255, .88); text-decoration: none; position: relative; padding: 6px 0; }
.nx-header .wp-block-navigation a:hover { color: #fff; }
.nx-header .wp-block-navigation-item__content::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--nx-grad);
	transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nx-header .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }
.nx-header .wp-block-navigation__responsive-container-open { color: #fff; }
.nx-header .wp-block-navigation__responsive-container.is-menu-open { padding: 28px; }
.nx-header .wp-block-navigation__responsive-container.is-menu-open a { font-size: 1.15rem; }
.nx-header-cta .wp-block-button__link { padding: .6rem 1.1rem; font-size: .88rem; }
@media (max-width: 1000px) { .nx-header .nx-header-cta { display: none !important; } }
@media (max-width: 782px) { .admin-bar .nx-header { top: 46px; } .nx-header .nx-logo img { width: 150px; } }

/* ===== Botones ===== */
.wp-block-button:not(.is-style-outline):not(.nx-btn-wa) > .wp-block-button__link:not(.has-background) {
	background-image: var(--nx-grad-3);
	box-shadow: 0 16px 36px rgba(123, 60, 255, .26);
}
.wp-block-button__link { transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.wp-block-button__link:hover { transform: translateY(-2px); filter: brightness(1.06); }
.wp-block-button.nx-btn-wa > .wp-block-button__link {
	background: linear-gradient(135deg, #25D366, #128C7E);
	color: #fff;
	box-shadow: 0 16px 36px rgba(37, 211, 102, .26);
}
.wp-block-button.is-style-outline > .wp-block-button__link { background: #fff; }

/* ===== Secciones ===== */
.nx-main { margin-block: 0 !important; padding: 0 !important; }
.nx-section { padding-block: var(--wp--preset--spacing--60) !important; padding-inline: 20px !important; margin-block: 0 !important; position: relative; }
.nx-band-soft { background: var(--wp--preset--color--light); }
.nx-band-white { background: #fff; }
.nx-head { max-width: 820px; margin: 0 auto var(--wp--preset--spacing--40) !important; }
.nx-head p:not(.nx-eyebrow) { color: var(--wp--preset--color--gray); font-size: 1.08rem; margin-top: 12px; }
.nx-eyebrow {
	display: inline-flex; align-items: center; gap: 8px;
	background: #fff; border: 1px solid var(--nx-line); border-radius: 999px;
	padding: 7px 14px; font-size: .8rem; font-weight: 800; letter-spacing: .02em;
	color: var(--wp--preset--color--gray); box-shadow: 0 10px 26px rgba(26, 29, 36, .06);
	margin: 0 0 18px !important;
}
.nx-eyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, #FF28D6, #00A9FF, #8BFF00); }
.nx-head .nx-eyebrow { display: inline-flex; }
.nx-head .has-text-align-center.nx-eyebrow { display: flex; width: fit-content; margin-inline: auto !important; }
.nx-eyebrow-dark { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .85); box-shadow: none; }
.nx-lead { font-size: var(--wp--preset--font-size--large); color: var(--wp--preset--color--gray); max-width: 560px; }

/* ===== Hero ===== */
.nx-hero {
	background:
		radial-gradient(circle at 12% 18%, rgba(255, 40, 214, .14), transparent 28%),
		radial-gradient(circle at 88% 14%, rgba(0, 229, 255, .16), transparent 26%),
		linear-gradient(180deg, #fff 0%, #f7f8fb 100%);
	padding-top: clamp(2.5rem, 6vw, 4.5rem) !important;
	overflow: hidden;
}
.nx-hero-cols { gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.nx-hero h1 { margin: 0 0 20px; }
.nx-actions { gap: 12px; margin: 26px 0 22px; }
.nx-chips { gap: 10px; }
.nx-chip {
	margin: 0 !important; background: rgba(255, 255, 255, .85); border: 1px solid var(--nx-line);
	border-radius: 999px; padding: 8px 14px; font-size: .82rem; font-weight: 700; color: var(--wp--preset--color--gray);
}
.nx-ref-note { margin-top: 14px !important; font-size: .78rem; color: #8a909c; }
.nx-hero-art { margin: 0; position: relative; }
.nx-hero-art img {
	width: 100%; height: auto; border-radius: 36px; box-shadow: var(--nx-shadow);
	border: 1px solid rgba(84, 91, 104, .10); display: block;
}
.nx-hero-art::before, .nx-hero-art::after {
	content: ""; position: absolute; border-radius: 50%; z-index: -1; filter: blur(.5px); animation: nx-float 6s ease-in-out infinite;
}
.nx-hero-art::before { width: 96px; height: 96px; background: linear-gradient(135deg, #FF28D6, #7B3CFF); left: -22px; top: -22px; }
.nx-hero-art::after { width: 70px; height: 70px; background: linear-gradient(135deg, #00A9FF, #00E5FF); right: -16px; bottom: 30px; animation-delay: 1.2s; }
@keyframes nx-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

/* ===== Cuadrículas y tarjetas ===== */
.nx-grid { gap: 24px !important; }
/* La cuadrícula nativa reserva columnas vacías (auto-fill): se fijan 3 / 4 columnas y se reduce según el ancho. */
.nx-grid.nx-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.nx-grid.nx-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) {
	.nx-grid.nx-grid-3, .nx-grid.nx-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
	.nx-grid.nx-grid-3, .nx-grid.nx-grid-4 { grid-template-columns: 1fr; }
}
.nx-tile, .nx-card, .nx-step, .nx-char {
	background: #fff; border: 1px solid var(--nx-line); border-radius: var(--nx-radius);
	box-shadow: 0 12px 30px rgba(26, 29, 36, .07); overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease; height: 100%;
	display: flex; flex-direction: column;
}
.nx-tile:hover, .nx-card:hover, .nx-char:hover { transform: translateY(-5px); box-shadow: var(--nx-shadow); }
.nx-tile > *, .nx-card > *, .nx-step > *, .nx-char > * { margin-block: 0 !important; }
.nx-tile-img, .nx-char-img { margin: 0 !important; }
.nx-tile-img img { width: 100%; height: 280px; object-fit: cover; display: block; }
.nx-char-img img { width: 100%; height: 220px; object-fit: cover; display: block; }
.nx-tile-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nx-tile-body > * { margin-block: 0 !important; }
.nx-tile h3, .nx-card h3, .nx-step h3, .nx-char h3 { font-size: 1.25rem; letter-spacing: -.02em; }
.nx-tile p, .nx-card p, .nx-step p, .nx-char p { color: var(--wp--preset--color--gray); font-size: .97rem; line-height: 1.6; }
.nx-card { padding: 28px 26px; gap: 10px; }
.nx-char h3, .nx-char p { padding-inline: 20px; }
.nx-char h3 { padding-top: 16px; }
.nx-char p { padding-bottom: 20px; }
.nx-price { color: var(--wp--preset--color--dark) !important; font-size: .98rem !important; margin-top: auto !important; padding-top: 6px; }
.nx-price strong { font-family: var(--wp--preset--font-family--heading); font-size: 1.5rem; letter-spacing: -.03em; }
.nx-tile .wp-block-buttons, .nx-card .wp-block-buttons { margin-top: 6px !important; }
.nx-badge {
	display: inline-block; width: fit-content; background: var(--wp--preset--color--pink-soft); color: #b0108f !important;
	font-size: .74rem !important; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
	border-radius: 999px; padding: 5px 11px;
}
.nx-badge-season { background: #FFF1E0; color: #b45309 !important; }
.nx-tile-cta { background: var(--wp--preset--gradient--candy); justify-content: center; }
.nx-tile-cta .nx-tile-body { justify-content: center; }

/* Pasos */
.nx-step { padding: 26px 24px; gap: 8px; position: relative; }
.nx-step-num {
	width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%;
	background: var(--nx-grad-3); color: #fff !important; font-family: var(--wp--preset--font-family--heading);
	font-weight: 900; font-size: 1.15rem !important; box-shadow: 0 12px 26px rgba(123, 60, 255, .28);
	margin-bottom: 12px !important; padding: 0 !important; line-height: 1;
}

/* ===== Temporada (oscuro) ===== */
.nx-dark {
	background:
		radial-gradient(circle at 14% 22%, rgba(255, 40, 214, .20), transparent 30%),
		radial-gradient(circle at 86% 78%, rgba(0, 229, 255, .18), transparent 30%),
		radial-gradient(circle at 50% 50%, rgba(123, 60, 255, .10), transparent 52%),
		#1A1D24;
	color: #fff; overflow: hidden;
}
.nx-dark::before, .nx-dark::after, .nx-order::before { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: var(--nx-grad); opacity: .65; }
.nx-dark::before, .nx-order::before { top: 0; }
.nx-dark::after { bottom: 0; }
.nx-dark h2, .nx-order h2 { color: #fff; }
.nx-dark .nx-lead, .nx-order .nx-lead { color: rgba(255, 255, 255, .78); }
.nx-season-cols { gap: clamp(1.5rem, 4vw, 3.5rem); }
.nx-season-art { margin: 0; }
.nx-season-art img { width: 100%; height: auto; border-radius: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); display: block; }
.nx-ticks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.nx-ticks li { position: relative; padding-left: 30px; color: rgba(255, 255, 255, .9); }
.nx-ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--nx-grad-3); color: #fff; font-size: .72rem; font-weight: 900; }

/* ===== FAQ ===== */
.nx-faq-item { background: #fff; border: 1px solid var(--nx-line); border-radius: 20px; padding: 0; margin-block: 0 12px !important; box-shadow: 0 8px 22px rgba(26, 29, 36, .05); overflow: hidden; }
.nx-faq-item summary { cursor: pointer; padding: 18px 22px; font-weight: 700; font-family: var(--wp--preset--font-family--heading); list-style: none; position: relative; padding-right: 52px; }
.nx-faq-item summary::-webkit-details-marker { display: none; }
.nx-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--wp--preset--color--purple); transition: transform .2s ease; }
.nx-faq-item[open] summary::after { content: "–"; }
.nx-faq-item[open] summary { border-bottom: 1px solid var(--nx-line); }
.nx-faq-item p { padding: 14px 22px 20px; margin: 0; color: var(--wp--preset--color--gray); }

/* ===== Pedido (oscuro) y formulario ===== */
.nx-order { background: #1A1D24; color: #fff; overflow: hidden;
	background-image: radial-gradient(circle at 90% 10%, rgba(123, 60, 255, .28), transparent 36%), radial-gradient(circle at 5% 95%, rgba(255, 40, 214, .18), transparent 34%); }
.nx-order-cols { gap: clamp(1.5rem, 4vw, 3.5rem); }
.nx-datos { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.nx-datos li, .nx-datos a { color: rgba(255, 255, 255, .88); text-decoration: none; font-weight: 600; }
.nx-datos a:hover { color: #fff; text-decoration: underline; }
.nx-form-wrap { background: #fff; color: var(--wp--preset--color--dark); border-radius: var(--nx-radius); padding: clamp(20px, 3vw, 32px); box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.nx-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.nx-span-2 { grid-column: 1 / -1; }
.nx-field { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 700; }
.nx-field small { font-weight: 500; color: #7a808c; font-size: .78rem; line-height: 1.4; }
.nx-form, .nx-form * { box-sizing: border-box; }
.nx-field input, .nx-field select, .nx-field textarea {
	width: 100%; font: inherit; font-weight: 500; padding: 12px 14px; border: 1.5px solid #dfe2ea; border-radius: 14px;
	background: #fff; color: var(--wp--preset--color--dark); transition: border-color .2s, box-shadow .2s;
}
.nx-field input:focus, .nx-field select:focus, .nx-field textarea:focus { outline: none; border-color: var(--wp--preset--color--purple); box-shadow: 0 0 0 4px rgba(123, 60, 255, .14); }
.nx-more { margin: 16px 0 6px; border: 1px dashed #d4d8e2; border-radius: 16px; padding: 4px 16px 16px; }
.nx-more summary { cursor: pointer; font-weight: 700; padding: 12px 0; color: var(--wp--preset--color--purple); font-size: .92rem; }
.nx-more .nx-form-grid { margin-top: 6px; }
.nx-check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; line-height: 1.5; margin-top: 12px; color: var(--wp--preset--color--gray); }
.nx-check input { margin-top: 3px; width: 18px; height: 18px; accent-color: #7B3CFF; flex: none; }
.nx-submit {
	margin-top: 20px; width: 100%; border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 1.05rem; color: #fff;
	padding: 16px 22px; border-radius: 999px; background: var(--nx-grad-3); box-shadow: 0 18px 40px rgba(123, 60, 255, .3);
	transition: transform .2s ease, filter .2s ease;
}
.nx-submit:hover { transform: translateY(-2px); filter: brightness(1.07); }
.nx-form-foot { text-align: center; font-size: .8rem; color: #7a808c; margin: 12px 0 0; }
.nx-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.nx-form-msg { border-radius: 18px; padding: 16px 18px; margin-bottom: 18px; font-size: .95rem; }
.nx-form-msg p { margin: 6px 0 0; }
.nx-form-ok { background: #ecfdf3; border: 1px solid #a6e9c1; color: #14532d; }
.nx-form-err { background: #fff1f2; border: 1px solid #fecdd3; color: #881337; }
.nx-btn-wa-inline { display: inline-block; margin-top: 10px; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff !important; font-weight: 800; padding: 11px 20px; border-radius: 999px; text-decoration: none; }
@media (max-width: 600px) { .nx-form-grid { grid-template-columns: 1fr; } .nx-span-2 { grid-column: auto; } }

/* ===== Pie ===== */
.nx-footer { background: #14161c; color: rgba(255, 255, 255, .78); padding: clamp(40px, 6vw, 64px) 20px 24px !important; margin: 0 !important; position: relative; }
.nx-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--nx-grad); opacity: .7; }
.nx-footer-cols { gap: 36px; }
@media (max-width: 600px) { .nx-footer { padding-bottom: 92px !important; } }
.nx-logo-footer { margin: 0 0 14px; }
.nx-logo-footer img { width: 176px; height: auto; display: block; }
.nx-footer-note { font-size: .93rem; max-width: 320px; }
.nx-footer-title { color: #fff; font-size: .95rem !important; letter-spacing: .04em !important; text-transform: uppercase; margin: 0 0 14px !important; }
.nx-footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.nx-footer a { color: rgba(255, 255, 255, .78); text-decoration: none; font-size: .93rem; }
.nx-footer a:hover { color: #fff; text-decoration: underline; }
.nx-footer .nx-datos li, .nx-footer .nx-datos a { font-weight: 500; font-size: .93rem; }
.nx-footer-copy { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 20px; margin-top: 30px !important; font-size: .82rem; color: rgba(255, 255, 255, .5); }

/* ===== WhatsApp flotante y aviso de cookies ===== */
.nx-float-wa {
	position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
	background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; display: grid; place-items: center;
	box-shadow: 0 14px 34px rgba(37, 211, 102, .42); transition: transform .2s ease;
}
.nx-float-wa:hover { transform: scale(1.08); color: #fff; }
.nx-cookies {
	position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 640px; margin: 0 auto;
	display: flex; gap: 16px; align-items: center; background: #1A1D24; color: rgba(255, 255, 255, .9);
	padding: 14px 18px; border-radius: 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, .4); font-size: .85rem; line-height: 1.5;
}
.nx-cookies[hidden] { display: none; }
.nx-cookies p { margin: 0; }
.nx-cookies a { color: #fff; text-decoration: underline; }
.nx-cookies-btn { flex: none; border: 0; cursor: pointer; font: inherit; font-weight: 800; color: #1A1D24; background: #fff; padding: 10px 18px; border-radius: 999px; }
@media (max-width: 600px) { .nx-cookies { flex-direction: column; align-items: stretch; text-align: center; bottom: 84px; } }

/* ===== Páginas internas (legales, 404, blog) ===== */
.nx-page { padding: var(--wp--preset--spacing--50) 20px var(--wp--preset--spacing--60) !important; }
.nx-page h1 { margin-bottom: 24px; }
.nx-legal h2 { font-size: 1.5rem; margin-top: 2rem; }
.nx-legal p, .nx-legal li { color: var(--wp--preset--color--gray); }

/* ===== Aparición suave al hacer scroll (la activa main.js; sin JS no se esconde nada) ===== */
.nx-js .nx-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.nx-js .nx-reveal.nx-in { opacity: 1; transform: none; }
