/* JE Solutions — identidad visual marketing (ligero, sin page builder) */

:root {
	--je-hero-dark: #070b14;
	--je-glow: rgba(13, 148, 136, 0.45);
	--je-glow-soft: rgba(45, 212, 191, 0.15);
}

body {
	font-family: "Plus Jakarta Sans", var(--wp--preset--font-family--manrope, Manrope), system-ui, sans-serif;
}

/* —— Header —— */
.je-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.92) !important;
	backdrop-filter: blur(12px);
	box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.je-header-actions .wp-block-button__link {
	padding: 0.6rem 1.15rem;
	font-size: 0.9375rem;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.je-header-actions .wp-block-button__link:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 22px rgba(13, 148, 136, 0.4);
}

/* —— Hero impacto —— */
.je-hero-mesh {
	position: relative;
	overflow: hidden;
	background: var(--je-hero-dark) !important;
	color: #f8fafc;
}

.je-hero-mesh::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 60% at 10% 20%, var(--je-glow-soft), transparent 55%),
		radial-gradient(ellipse 60% 50% at 90% 10%, rgba(59, 130, 246, 0.12), transparent 50%),
		radial-gradient(ellipse 70% 60% at 70% 90%, var(--je-glow-soft), transparent 55%);
	pointer-events: none;
}

.je-hero-mesh > .wp-block-group.alignwide,
.je-hero-mesh > .wp-block-columns.alignwide {
	position: relative;
	z-index: 1;
}

.je-hero-eyebrow {
	display: inline-block;
	margin-bottom: 1rem;
	padding: 0.35rem 0.85rem;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #5eead4;
	background: rgba(13, 148, 136, 0.15);
	border: 1px solid rgba(45, 212, 191, 0.35);
	border-radius: 999px;
}

.je-hero-mesh .wp-block-heading.has-je-display {
	font-size: clamp(2.25rem, 5vw, 3.5rem) !important;
	line-height: 1.12 !important;
	font-weight: 800 !important;
	letter-spacing: -0.03em;
	max-width: 14ch;
}

.je-hero-lead {
	font-size: clamp(1.05rem, 1.8vw, 1.15rem) !important;
	line-height: 1.55;
	color: #94a3b8 !important;
	max-width: 32rem;
	margin-top: 1rem !important;
}

.je-hero-proof {
	font-size: 0.95rem;
	color: #94a3b8;
	margin: 1rem 0 0;
}

.je-hero-proof strong {
	color: #e2e8f0;
	font-weight: 700;
}

.je-seo-hint {
	font-size: 0.8rem;
	color: #64748b;
	margin: 0.75rem 0 0;
	line-height: 1.4;
	max-width: 28rem;
}

.je-service-visual-card .je-service-art {
	margin: 0 0 1rem;
	border-radius: 12px;
	overflow: hidden;
}

.je-service-visual-card .je-service-art img {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 12px;
}

.je-service-visual-grid {
	gap: clamp(1.75rem, 3vw, 2.5rem) !important;
}

.je-service-visual-grid .wp-block-column {
	flex-basis: 100%;
}

.je-service-visual-card {
	padding: clamp(1.25rem, 2vw, 1.75rem);
}

.je-service-visual-card h3 a {
	color: inherit;
	text-decoration: none;
}

.je-service-visual-card h3 a:hover,
.je-service-visual-card h3 a:focus-visible {
	color: var(--wp--preset--color--accent, #0d9488);
	text-decoration: underline;
}

.je-contact-single {
	max-width: 560px;
	margin-inline: auto;
}

.je-shell-wide {
	width: min(1320px, 94vw);
	max-width: 100%;
	margin-inline: auto;
}

.je-hero-mesh .wp-block-button__link {
	font-weight: 600;
	padding: 0.85rem 1.35rem;
}

.je-hero-mesh .wp-block-button:not(.is-style-outline) .wp-block-button__link {
	box-shadow: 0 8px 28px rgba(13, 148, 136, 0.45);
}

/* Showcase producto (UI decorativa, sin métricas inventadas) */
.je-showcase {
	position: relative;
	border-radius: 16px;
	background: linear-gradient(160deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.98) 100%);
	border: 1px solid rgba(148, 163, 184, 0.25);
	box-shadow:
		0 0 0 1px rgba(255, 255, 255, 0.04) inset,
		0 24px 48px rgba(0, 0, 0, 0.45),
		0 0 80px var(--je-glow-soft);
}

.je-showcase::after {
	content: "";
	position: absolute;
	top: -1px;
	right: 10%;
	width: 40%;
	height: 2px;
	background: linear-gradient(90deg, transparent, #2dd4bf, transparent);
	border-radius: 2px;
}

.je-showcase-bar {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	padding: 0.75rem 1rem;
	border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.je-showcase-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #475569;
}

.je-showcase-dot:nth-child(1) {
	background: #f87171;
}

.je-showcase-dot:nth-child(2) {
	background: #fbbf24;
}

.je-showcase-dot:nth-child(3) {
	background: #34d399;
}

.je-showcase-body {
	padding: 1.25rem 1.25rem 1.5rem;
}

.je-showcase-tag {
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #2dd4bf;
	margin: 0 0 0.35rem;
}

.je-showcase-title {
	font-size: 1.35rem;
	font-weight: 800;
	margin: 0 0 0.5rem;
	color: #f8fafc;
}

.je-showcase-desc {
	font-size: 0.9rem;
	color: #94a3b8;
	margin: 0 0 1rem;
	line-height: 1.5;
}

.je-showcase-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1rem;
}

.je-showcase-pill {
	font-size: 0.75rem;
	font-weight: 600;
	padding: 0.35rem 0.65rem;
	border-radius: 6px;
	background: rgba(13, 148, 136, 0.2);
	color: #99f6e4;
	border: 1px solid rgba(45, 212, 191, 0.25);
}

.je-showcase-bars {
	display: flex;
	align-items: flex-end;
	gap: 6px;
	height: 48px;
	margin-bottom: 1rem;
	opacity: 0.85;
}

.je-showcase-bar-col {
	flex: 1;
	border-radius: 4px 4px 0 0;
	background: linear-gradient(180deg, #2dd4bf, #0f766e);
	min-height: 12px;
}

.je-showcase-bar-col:nth-child(2) {
	height: 70%;
}

.je-showcase-bar-col:nth-child(3) {
	height: 45%;
}

.je-showcase-bar-col:nth-child(4) {
	height: 90%;
}

.je-showcase-bar-col:nth-child(5) {
	height: 55%;
}

.je-showcase-link {
	font-weight: 600;
	font-size: 0.95rem;
}

.je-showcase-link a {
	color: #2dd4bf;
	text-decoration: none;
}

.je-showcase-link a:hover {
	color: #5eead4;
}

.je-trust-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	border-top: 1px solid rgba(148, 163, 184, 0.2);
	margin-top: 2.5rem;
	padding-top: 1.75rem;
}

.je-trust-chip {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	color: #cbd5e1;
}

.je-trust-chip strong {
	color: #f1f5f9;
	font-weight: 700;
}

/* —— Secciones —— */
.je-section-label {
	text-align: center;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent-dark, #0f766e);
	margin-bottom: 0.5rem;
}

.je-section-title {
	text-align: center;
	font-size: clamp(1.65rem, 3.5vw, 2.25rem) !important;
	font-weight: 800 !important;
	letter-spacing: -0.02em;
	margin-top: 0 !important;
}

.je-value-band {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%) !important;
}

.je-value-card {
	text-align: center;
	padding: 1.5rem 1rem;
}

.je-value-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 0.75rem;
	font-size: 1.35rem;
	border-radius: 12px;
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.je-service-card {
	position: relative;
	transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
	overflow: hidden;
}

.je-service-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #0d9488, #2dd4bf);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.je-service-card:hover {
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
	transform: translateY(-4px);
	border-color: #cbd5e1 !important;
}

.je-service-card:hover::before {
	opacity: 1;
}

.je-service-num {
	font-size: 0.75rem;
	font-weight: 800;
	color: #0d9488;
	letter-spacing: 0.05em;
	margin-bottom: 0.35rem;
}

.je-product-band {
	background: linear-gradient(135deg, #ecfdf5 0%, #f0fdfa 50%, #fff 100%) !important;
	border-top: 1px solid #ccfbf1;
	border-bottom: 1px solid #ccfbf1;
}

.je-steps {
	counter-reset: je-step;
}

.je-step-card {
	counter-increment: je-step;
}

.je-step-card h3::before {
	content: counter(je-step, decimal-leading-zero);
	display: block;
	font-size: 0.8rem;
	font-weight: 800;
	color: #0d9488;
	margin-bottom: 0.35rem;
}

.je-cta-band {
	background: linear-gradient(135deg, #0f766e 0%, #0d9488 40%, #14b8a6 100%) !important;
	position: relative;
	overflow: hidden;
}

.je-cta-band::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.12), transparent 45%);
	pointer-events: none;
}

.je-cta-band > * {
	position: relative;
	z-index: 1;
}

.je-page-hero {
	background: var(--je-hero-dark) !important;
	color: #f8fafc;
	position: relative;
	overflow: hidden;
}

.je-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 70% 80% at 100% 0%, var(--je-glow-soft), transparent 60%);
	pointer-events: none;
}

.je-page-hero > * {
	position: relative;
	z-index: 1;
}

.je-page-hero .wp-block-heading {
	color: #f8fafc;
}

.je-page-hero .has-text-color {
	color: #cbd5e1 !important;
}

.je-contact-aside {
	border-left: 3px solid var(--wp--preset--color--accent);
	padding-left: var(--wp--preset--spacing--40);
}

.wp-element-button:focus-visible,
a:focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 2px;
}

/* —— Escaneable: rutas y oferta —— */
.je-scan-band {
	background: #fff;
	border-bottom: 1px solid #e2e8f0;
}

.je-route-card {
	padding: 1.25rem 1.25rem 1.1rem;
	border-radius: 14px;
	border: 1px solid #e2e8f0;
	background: #fff;
	box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.je-route-card:hover {
	border-color: #99f6e4;
	box-shadow: 0 12px 28px rgba(13, 148, 136, 0.12);
	transform: translateY(-2px);
}

.je-route-card h3 {
	margin-top: 0;
	font-weight: 700;
}

.je-route-card p {
	margin-bottom: 0.35rem;
	color: #64748b;
	font-size: 0.95rem;
}

.je-offer-card {
	padding: 1.35rem 1.35rem 1.2rem;
	border-radius: 14px;
	background: #fff;
	border: 1px solid #e2e8f0;
	height: 100%;
}

.je-offer-card h2,
.je-offer-card h3 {
	margin-top: 0;
	font-weight: 700;
	font-size: 1.1rem !important;
}

.je-offer-card p {
	color: #475569;
	font-size: 0.95rem;
	line-height: 1.55;
	margin-bottom: 0;
}

.je-ai-band,
.je-service-detail-band {
	background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
	border-top: 1px solid #e2e8f0;
	border-bottom: 1px solid #e2e8f0;
}

.je-service-detail-band .wp-block-list {
	margin-top: 0.75rem;
	max-width: 42rem;
}

.je-service-detail-band .wp-block-list li {
	margin-bottom: 0.5rem;
	line-height: 1.55;
}

.je-service-detail-band h3 {
	font-size: 1.15rem;
}

.je-partner-label {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #64748b;
	margin: 0 0 0.75rem;
}

.je-partner-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 0.75rem;
}

.je-partner-badge {
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.45rem 0.75rem;
	border-radius: 999px;
	background: #fff;
	border: 1px solid #cbd5e1;
	color: #334155;
}

.je-partner-note {
	font-size: 0.85rem;
	color: #64748b;
	margin: 0;
}

.je-steps-row .je-step-card {
	padding: 1rem 0.5rem;
	text-align: center;
}

.je-steps-row .je-step-card h3 {
	font-size: 1.05rem;
}

.je-steps-row .je-step-card p {
	color: #64748b;
	font-size: 0.95rem;
}

/* —— Formulario Contact Form 7 —— */
.je-form-panel {
	padding: 1.75rem 1.75rem 1.5rem;
	border-radius: 16px;
	border: 1px solid #e2e8f0;
	background: #fff;
	box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

.wpcf7-form label {
	display: block;
	font-weight: 600;
	font-size: 0.875rem;
	color: #334155;
	margin-bottom: 0.35rem;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form select,
.wpcf7-form textarea {
	width: 100%;
	padding: 0.85rem 1rem;
	margin-bottom: 1rem;
	border: 1px solid #cbd5e1;
	border-radius: 10px;
	background: #f8fafc;
	font-size: 1rem;
	font-family: inherit;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
	outline: none;
	border-color: #0d9488;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}

.wpcf7-form textarea {
	min-height: 140px;
	resize: vertical;
}

.wpcf7-form input[type="submit"],
.wpcf7-form button[type="submit"] {
	display: inline-block;
	padding: 0.85rem 1.5rem;
	font-weight: 700;
	font-size: 1rem;
	color: #fff;
	background: linear-gradient(135deg, #0f766e, #0d9488);
	border: none;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 6px 20px rgba(13, 148, 136, 0.35);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.wpcf7-form input[type="submit"]:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 28px rgba(13, 148, 136, 0.4);
}

.wpcf7-response-output {
	border-radius: 10px !important;
	margin-top: 1rem !important;
}

@media (max-width: 781px) {
	.je-header-actions {
		width: 100%;
		justify-content: flex-end;
	}

	.je-showcase {
		margin-top: 1.5rem;
	}

	.je-contact-aside {
		border-left: none;
		border-top: 3px solid var(--wp--preset--color--accent);
		padding-left: 0;
		padding-top: var(--wp--preset--spacing--40);
	}

	.je-route-cards.wp-block-columns,
	.je-offer-grid.wp-block-columns,
	.je-steps-row.wp-block-columns {
		flex-wrap: wrap !important;
	}

	.je-route-cards .wp-block-column,
	.je-offer-grid .wp-block-column,
	.je-service-visual-grid .wp-block-column {
		flex-basis: 100% !important;
	}
}

@media (min-width: 782px) {
	.je-service-visual-grid .wp-block-column {
		flex-basis: calc(33.333% - 1.5rem) !important;
		flex-grow: 1;
	}

	.je-service-visual-grid--duo .wp-block-column {
		flex-basis: calc(50% - 2.25rem) !important;
		max-width: calc(50% - 2.25rem);
	}
}

@media (min-width: 1200px) {
	.je-service-visual-grid {
		gap: 2.5rem 3.75rem !important;
	}

	.je-service-visual-grid--duo {
		gap: 2rem 4.5rem !important;
	}

	.je-service-visual-grid--duo .wp-block-column {
		flex-basis: calc(50% - 2.75rem) !important;
		max-width: calc(50% - 2.75rem);
	}
}

.je-saas-product {
	background: #fff;
	border: 1px solid #e2e8f0;
	box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.je-saas-preview {
	height: 100%;
	min-height: 220px;
}

.je-product-preview {
	margin: 0 auto 1.25rem;
	max-width: min(480px, 100%);
	border-radius: 12px;
	overflow: hidden;
	border: 1px solid #e2e8f0;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
	background: #0f172a;
}

.je-product-preview img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 280px;
	object-fit: cover;
	object-position: top center;
	vertical-align: middle;
}

.je-product-preview-caption {
	font-size: 0.85rem;
	color: #64748b;
	padding: 0.65rem 0.85rem;
	background: #f8fafc;
	border-top: 1px solid #e2e8f0;
	margin: 0;
}

.je-saas-product--stacked {
	max-width: 720px;
	margin-inline: auto;
}

@media (min-width: 1600px) {
	.je-product-preview {
		max-width: 440px;
	}

	.je-product-preview img {
		max-height: 260px;
	}
}

.je-references-band {
	background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
	border-top: 1px solid #e2e8f0;
}

.je-reference-list {
	list-style: none;
	margin: 2.5rem auto 0;
	padding: 0;
	max-width: 52rem;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	counter-reset: je-ref;
}

.je-reference-item {
	counter-increment: je-ref;
	display: flex;
	flex-direction: column;
	gap: 1rem;
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 14px;
	padding: 1.25rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.je-reference-art {
	margin: 0;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
}

.je-reference-art img {
	width: 100%;
	height: auto;
	display: block;
	max-height: 220px;
	object-fit: cover;
}

.je-reference-body {
	max-width: 42rem;
}

.je-reference-tag {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #0f766e;
	margin: 0 0 0.35rem;
}

.je-reference-title {
	font-size: 1.2rem;
	margin: 0 0 0.5rem;
	line-height: 1.3;
}

.je-reference-text {
	margin: 0;
	font-size: 1rem;
	line-height: 1.6;
	color: #334155;
}

@media (min-width: 768px) {
	.je-reference-item {
		flex-direction: row;
		align-items: flex-start;
		gap: 1.5rem;
		padding: 1.5rem;
	}

	.je-reference-art {
		width: min(38%, 280px);
	}

	.je-reference-art img {
		max-height: none;
		aspect-ratio: 16 / 10;
	}
}

@media (min-width: 1600px) {
	.je-reference-list {
		max-width: 56rem;
		gap: 2.25rem;
	}

	.je-reference-item {
		padding: 1.75rem 2rem;
	}

	.je-reference-art {
		width: min(36%, 320px);
	}

	.je-reference-text {
		font-size: 1.0625rem;
	}
}

.je-inicio-cta-anchor {
	position: relative;
	top: -4rem;
	height: 0;
	overflow: hidden;
}

.je-scroll-top {
	position: fixed;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 9999;
	padding: 0.75rem 1.1rem;
	border-radius: 999px;
	background: #0d9488;
	color: #fff;
	font-weight: 700;
	font-size: 0.875rem;
	text-decoration: none;
	box-shadow: 0 12px 32px rgba(13, 148, 136, 0.45);
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.je-scroll-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.je-scroll-top:hover,
.je-scroll-top:focus-visible {
	color: #fff;
	background: #0f766e;
}


@media (min-width: 782px) and (max-width: 1024px) {
	.je-route-cards .wp-block-column {
		flex-basis: calc(50% - 1rem) !important;
		flex-grow: 0;
	}

	.je-offer-grid .wp-block-column {
		flex-basis: calc(50% - 1rem) !important;
	}
}

@media (min-width: 1600px) {
	.je-shell-wide {
		width: min(1400px, 92vw);
	}

	.je-hero-mesh .has-je-display {
		font-size: clamp(2.5rem, 3.5vw, 3.75rem) !important;
	}
}

@media (prefers-reduced-motion: reduce) {
	.je-service-card,
	.je-header-actions .wp-block-button__link {
		transition: none;
	}
}
