/* Estilos específicos de Productos */

.hero.hero-small.products-hero {
	padding: 0;
	background: #ffffff;
	box-shadow: none;
	margin: 0;
	width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	border-top: 0;

}

.hero.hero-small.products-hero > .container {
	max-width: none;
	width: 100%;
	padding: 0;
}

.products-hero .hero-split {
	min-height: 300px;
	border-radius: 0;
	overflow: hidden;
	border: 1px solid rgba(4,63,124,0.14);
	box-shadow: 0 12px 34px rgba(4,63,124,0.10);
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: stretch;
	background:
		linear-gradient(90deg, rgba(47,164,231,0.26), rgba(47,164,231,0.16)),
		repeating-linear-gradient(135deg, rgba(255,255,255,0.18) 0 12px, rgba(255,255,255,0.10) 12px 24px);
}

.products-hero .hero-split-content {
	padding: 36px 34px 36px 70px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0;
	position: relative;
	z-index: 2;
	animation: zonas-reveal-left 720ms cubic-bezier(.2,.8,.2,1) both;
}

.products-hero .hero-split-content h1 {
	margin: 0 0 8px 0;
	color: var(--primary);
	font-size: 2.2rem;
	transition: none !important;
	animation: zonas-title-fade 760ms ease-out 80ms both;
}

.products-hero .hero-split-content h1::after {
	content: "";
	display: block;
	margin-top: 9px;
	width: 96px;
	height: 5px;
	border-radius: 999px;
	background: linear-gradient(90deg, var(--primary-light), var(--accent));
	transform-origin: left center;
	transition: none !important;
	animation: zonas-underline 820ms ease-out 140ms both;
}

.products-hero .hero-split-content .lead {
	margin: 0;
	color: var(--primary);
	max-width: 64ch;
	line-height: 1.45;
	font-size: 1.15rem;
	animation: zonas-title-fade 760ms ease-out 180ms both;
}

.products-hero .hero-split-media {
	position: relative;
	isolation: isolate;
	min-height: 190px;
	margin-left: -72px;
	width: calc(100% + 72px);
	z-index: 1;
	clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
	animation: zonas-reveal-right 820ms cubic-bezier(.2,.8,.2,1) both;
	overflow: hidden;
}

.products-hero .hero-split-media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	transform: scale(1.02);
}

.products-hero .hero-split-media::before {
	content: none;
}

.productos-page {
	background:
		radial-gradient(1100px 320px at 8% -150px, rgba(47,164,231,0.08), rgba(47,164,231,0) 74%),
		linear-gradient(180deg, #fafdff 0%, #ffffff 48%, #f9fcff 100%);
}

.productos-page .products-content {
	padding-top: 12px;
	padding-bottom: 28px;
	position: relative;
	z-index: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.productos-page .products-content::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100vw;
	z-index: -1;
	background:
		radial-gradient(760px 260px at 12% 18%, rgba(47,164,231,0.10), rgba(47,164,231,0) 76%),
		radial-gradient(640px 220px at 88% 12%, rgba(110,240,90,0.06), rgba(110,240,90,0) 76%),
		linear-gradient(180deg, #f6fbff 0%, #ffffff 55%, #f7fbff 100%);
}

.productos-page .products-section-heading {
	margin: 0 0 18px 0;
	padding: 0 4px 0;
	text-align: center;
	position: relative;
}

.productos-page .products-section-heading::after {
	content: "";
	display: block;
	width: min(180px, 34vw);
	height: 5px;
	margin: 14px auto 0;
	border-radius: 999px;
	background: linear-gradient(90deg, #022a54 0%, #0b4f95 55%, #2fa4e7 100%);
	box-shadow: 0 8px 18px rgba(4,63,124,0.12);
}

.productos-page .products-section-heading h2 {
	margin: 0;
	font-size: clamp(1.75rem, 2.7vw, 2.3rem);
	letter-spacing: -0.02em;
	color: #063a73;
}

.productos-page .products-section-heading p {
	margin: 10px auto 0;
	line-height: 1.55;
	font-size: 1rem;
	color: #1f446b;
	max-width: 84ch;
}

.productos-page .products-grid {
	gap: 30px;
	margin-top: 8px;
	margin-bottom: 28px;
}

.productos-page .product-card {
	border-radius: 2px;
	border: 1px solid rgba(4,63,124,0.16);
	background: #ffffff;
	box-shadow: 0 14px 30px rgba(4,63,124,0.11);
	position: relative;
	overflow: hidden;
}

.productos-page .product-card > img {
	display: block;
	width: calc(100% - 36px);
	aspect-ratio: 1 / 1;
	height: auto;
	object-fit: cover;
	margin: 18px auto 0;
	border-radius: 2px;
	box-shadow: 0 8px 18px rgba(4,63,124,0.10);
	border: 1px solid rgba(4,63,124,0.14);
}

.productos-page .products-grid .product-card:nth-child(2) > img {
	object-position: center 60%;
}

.productos-page .product-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 36px rgba(4,63,124,0.14);
}

.productos-page .product-card .product-body {
	padding: 8px 18px 18px;
}

.productos-page .product-card .product-body h3 {
	margin: 4px 0 14px 0;
	color: #063a73;
	text-align: center;
	letter-spacing: 0.01em;
	font-weight: 900;
	font-size: 1.3rem;
	line-height: 1.15;
}

.productos-page .product-card .product-body p {
	color: #244b73;
	line-height: 1.6;
}

.productos-page .product-specs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 2px 0 14px 0;
}

.productos-page .badge {
	position: relative;
	display: inline-flex;
	align-items: center;
	padding: 9px 12px;
	border-radius: 2px;
	border: 2px solid rgba(4,63,124,0.34);
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.85), 0 10px 18px rgba(4,63,124,0.08);
	font-weight: 700;
	letter-spacing: 0.01em;
	line-height: 1.15;
	background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
	color: #063a73;
	overflow: hidden;
}

.productos-page .badge::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(47,164,231,0.08), rgba(255,255,255,0));
	pointer-events: none;
}

.productos-page .product-specs .badge:nth-child(1) {
	background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
	border-color: rgba(4,63,124,0.40);
}

.productos-page .product-specs .badge:nth-child(2) {
	background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
	border-color: rgba(4,63,124,0.40);
}

.productos-page .product-specs .badge:nth-child(3) {
	background: linear-gradient(180deg, #ffffff 0%, #f2f9ff 100%);
	border-color: rgba(4,63,124,0.40);
}

.productos-page .card.upcoming {
	display: flex;
	gap: 18px;
	align-items: center;
	background: linear-gradient(110deg, #022a54 0%, #0b4f95 60%, #2fa4e7 100%);
	color: #fff;
	padding: 20px;
	margin: 18px 0;
	border-radius: 2px;
	border: 2px solid rgba(8,63,118,0.92);
}

.productos-page .card.upcoming .upcoming-media img {
	width: 180px;
	height: 130px;
	object-fit: cover;
	border-radius: 2px;
	box-shadow: 0 8px 30px rgba(4,63,124,0.18);
	border: 2px solid rgba(255,255,255,0.06);
	display: block;
	-webkit-mask-image: none;
	mask-image: none;
}

.productos-page .card.upcoming .upcoming-media img + .soft-edge-fallback {
	display: none;
}

.productos-page .card.upcoming h3 {
	margin: 0 0 6px 0;
	color: #fff;
}

.productos-page .card.upcoming p {
	color: rgba(255,255,255,0.95);
}

.productos-page .products-content > .card:last-child {
	border-radius: 2px;
	border: 2px solid rgba(4,63,124,0.18);
	background: linear-gradient(180deg, #ffffff, #f5fbff);
	box-shadow: 0 14px 28px rgba(4,63,124,0.10);
	position: relative;
	overflow: hidden;
}

.productos-page .products-content > .card:last-child h3 {
	margin: 0 0 10px 0;
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
	font-weight: 700;
	font-size: clamp(1.25rem, 1.9vw, 1.45rem);
	line-height: 1.25;
	letter-spacing: 0.01em;
	color: #043f7c;
}

.productos-page .products-content > .card:last-child p {
	margin: 0 0 18px 0;
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
	font-weight: 500;
	font-size: 1.02rem;
	line-height: 1.65;
	color: rgba(4,63,124,0.92);
}

.productos-page .products-content > .card:last-child .button {
	margin-top: 4px;
	padding-top: 13px;
	padding-bottom: 13px;
}

.productos-page .products-content > .card:last-child::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 7px;
	background: linear-gradient(90deg, #063a73, #0b4f95);
}

.productos-page .products-content > .card:last-child .button {
	border-radius: 2px;
	background: linear-gradient(180deg, #022a54, #0b4f95);
	color: #fff;
	border: 1px solid rgba(255,255,255,0.24);
}

.productos-page .products-content > .card:last-child .button:hover {
	background: linear-gradient(180deg, #0b4f95, #022a54);
}

@media (max-width: 850px) {
	.products-hero .hero-split {
		grid-template-columns: 1fr;
		min-height: auto;
		border-radius: 0;
	}

	.products-hero .hero-split-content {
		padding: 24px 16px;
		align-items: center;
		text-align: center;
	}

	.products-hero .hero-split-content h1 {
		font-size: 1.8rem;
	}

	.products-hero .hero-split-content h1::after {
		margin: 9px auto 0;
		width: 72px;
		height: 4px;
	}

	.products-hero .hero-split-content .lead {
		font-size: 1rem;
	}

	.products-hero .hero-split-media {
		display: none;
	}

	.productos-page .products-content {
		padding-top: 16px;
		padding-bottom: 22px;
	}

	.productos-page .products-section-heading {
		margin-bottom: 18px;
	}

	.productos-page .products-section-heading p {
		max-width: 100%;
		font-size: 0.98rem;
	}

	.productos-page .products-grid {
		gap: 18px;
		margin-bottom: 24px;
	}

	.productos-page .product-card > img {
		width: calc(100% - 28px);
		margin-top: 14px;
	}
}

@media (max-width: 760px) {
	.productos-page .card.upcoming {
		flex-direction: column;
		text-align: center;
	}

	.productos-page .card.upcoming .upcoming-media img {
		width: 100%;
		height: 160px;
	}

	.productos-page .product-card > img {
		width: calc(100% - 24px);
		margin-top: 12px;
	}
}

@keyframes zonas-reveal-left {
	from {
		opacity: 0;
		transform: translateX(-24px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes zonas-reveal-right {
	from {
		opacity: 0;
		transform: translateX(32px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

@keyframes zonas-title-fade {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes zonas-underline {
	from {
		transform: scaleX(0);
		opacity: 0;
	}
	to {
		transform: scaleX(1);
		opacity: 1;
	}
}

/* Tipografia - opcion activa */
.products-hero .hero-split-content h1,
.productos-page .products-intro-card h2 {
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial;
	font-weight: 800;
	letter-spacing: -1px;
	text-transform: none;
}

.products-hero .hero-split-content .lead,
.productos-page .product-card .product-body h3,
.productos-page .card.upcoming h3,
.productos-page .products-content > .card:last-child h3 {
	font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial;
	font-weight: 500;
	letter-spacing: 0;
	text-transform: none;
}

.productos-page .products-intro-card p,
.productos-page .product-card .product-body p,
.productos-page .card.upcoming p,
.productos-page .products-content > .card:last-child p,
.productos-page .badge {
	font-family: 'Inter', 'Poppins', system-ui, -apple-system, 'Segoe UI', 'Helvetica Neue', Arial;
	font-weight: 400;
	letter-spacing: 0.2px;
	line-height: 1.6;
}
