/* Página específica de Cemento San Juan. La base visual se carga desde materiales-construccion.css. */
.cx-page--cemento .cx-materials-hero__photo img {
	object-position: center 58%;
}

.cx-page--cemento .cx-materials-hero__badge {
	min-width: 112px;
	text-align: center;
}

.cx-page--cemento .cx-cement-specs {
	padding-top: clamp(100px, 10vw, 138px);
}

.cx-page--cemento .cx-cement-specs__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px;
}

.cx-page--cemento .cx-cement-specs__grid article {
	position: relative;
	min-width: 0;
	padding: 28px 24px 25px;
	overflow: hidden;
	border: 1px solid var(--cx-line);
	border-radius: var(--cx-radius-lg);
	background: var(--cx-white);
	box-shadow: 0 12px 34px rgba(15, 52, 117, 0.07);
}

.cx-page--cemento .cx-cement-specs__grid article::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 5px;
	background: var(--cx-yellow);
	content: "";
}

.cx-page--cemento .cx-cement-specs__grid :is(span, strong, small) {
	display: block;
}

.cx-page--cemento .cx-cement-specs__grid span {
	margin-bottom: 10px;
	color: var(--cx-blue);
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cx-page--cemento .cx-cement-specs__grid strong {
	margin-bottom: 5px;
	color: var(--cx-ink);
	font-size: clamp(1.5rem, 2.3vw, 2.1rem);
	font-weight: 860;
	letter-spacing: -0.035em;
	line-height: 1.1;
}

.cx-page--cemento .cx-cement-specs__grid small {
	color: var(--cx-muted);
	font-size: 0.82rem;
}

.cx-page--cemento .cx-cement-price-note {
	display: flex;
	margin-top: 22px;
	padding: 26px 28px;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	border: 1px solid rgba(27, 82, 172, 0.17);
	border-radius: var(--cx-radius-lg);
	background: linear-gradient(135deg, var(--cx-yellow-soft), #ffffff 74%);
}

.cx-page--cemento .cx-cement-price-note > div {
	display: grid;
	grid-template-columns: 48px minmax(0, 1fr);
	gap: 17px;
	align-items: start;
}

.cx-page--cemento .cx-cement-price-note > div > span {
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border-radius: 14px;
	background: var(--cx-yellow);
	color: var(--cx-blue-deep);
	font-size: 1.25rem;
	font-weight: 900;
}

.cx-page--cemento .cx-cement-price-note strong {
	display: block;
	margin-bottom: 5px;
	color: var(--cx-ink);
	font-size: 1.1rem;
	font-weight: 830;
}

.cx-page--cemento .cx-cement-price-note p {
	max-width: 700px;
	margin-bottom: 0;
	font-size: 0.9rem;
}

.cx-page--cemento .cx-cement-price-note .cx-button {
	flex: 0 0 auto;
}

.cx-page--cemento .cx-cement-options {
	background: var(--cx-white);
}

.cx-page--cemento .cx-cement-options__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px;
	max-width: 980px;
	margin-inline: auto;
}

.cx-page--cemento .cx-cement-options__grid article {
	display: flex;
	position: relative;
	min-height: 100%;
	padding: 34px 32px 32px;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--cx-line);
	border-radius: var(--cx-radius-lg);
	background: var(--cx-white);
	box-shadow: 0 15px 42px rgba(15, 52, 117, 0.08);
}

.cx-page--cemento .cx-cement-options__grid article::after {
	position: absolute;
	right: -48px;
	bottom: -62px;
	width: 170px;
	height: 170px;
	border: 30px solid rgba(27, 82, 172, 0.045);
	border-radius: 50%;
	content: "";
	pointer-events: none;
}

.cx-page--cemento .cx-cement-options__grid .cx-cement-options__featured {
	border-color: var(--cx-blue-dark);
	background: linear-gradient(145deg, var(--cx-blue-deep), var(--cx-blue));
	box-shadow: 0 20px 50px rgba(15, 52, 117, 0.2);
}

.cx-page--cemento .cx-cement-options__featured::after {
	border-color: rgba(255, 255, 255, 0.08) !important;
}

.cx-page--cemento .cx-cement-options__number {
	display: grid;
	width: 48px;
	height: 48px;
	margin-bottom: 28px;
	place-items: center;
	border-radius: 15px;
	background: var(--cx-yellow-soft);
	color: var(--cx-blue);
	font-size: 0.72rem;
	font-weight: 900;
	letter-spacing: 0.1em;
}

.cx-page--cemento .cx-cement-options__featured .cx-cement-options__number {
	background: var(--cx-yellow);
	color: var(--cx-blue-deep);
}

.cx-page--cemento .cx-cement-options__label {
	margin-bottom: 7px;
	color: var(--cx-blue);
	font-size: 0.68rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cx-page--cemento .cx-cement-options__featured .cx-cement-options__label {
	color: var(--cx-yellow);
}

.cx-page--cemento .cx-cement-options__grid h3 {
	margin-bottom: 14px;
	font-size: clamp(1.45rem, 2.5vw, 2rem);
	font-weight: 850;
	letter-spacing: -0.03em;
}

.cx-page--cemento .cx-cement-options__featured h3 {
	color: var(--cx-white);
}

.cx-page--cemento .cx-cement-options__grid article > p:not(.cx-cement-options__label) {
	margin-bottom: 27px;
}

.cx-page--cemento .cx-cement-options__featured > p:not(.cx-cement-options__label) {
	color: rgba(255, 255, 255, 0.76);
}

.cx-page--cemento .cx-cement-options__grid article > a {
	display: inline-flex;
	position: relative;
	z-index: 1;
	width: fit-content;
	min-height: 44px;
	margin-top: auto;
	padding: 10px 15px;
	align-items: center;
	gap: 9px;
	border-radius: 10px;
	background: var(--cx-blue);
	color: var(--cx-white);
	font-size: 0.9rem;
	font-weight: 800;
}

.cx-page--cemento .cx-cement-options__featured > a {
	background: var(--cx-yellow);
	color: var(--cx-blue-deep);
}

.cx-page--cemento .cx-cement-options__grid article > a span {
	transition: transform 180ms ease;
}

.cx-page--cemento .cx-cement-options__grid article > a:hover span {
	transform: translateX(3px);
}

.cx-page--cemento .cx-cement-business {
	border-top: 1px solid var(--cx-line);
}

.cx-page--cemento .cx-cement-delivery__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
	gap: clamp(50px, 7vw, 90px);
	align-items: center;
}

.cx-page--cemento .cx-cement-delivery__content h2 {
	margin-bottom: 20px;
	color: var(--cx-ink);
	font-size: clamp(2.25rem, 4vw, 3.6rem);
	font-weight: 850;
	letter-spacing: -0.04em;
}

.cx-page--cemento .cx-cement-delivery__content > p:not(.cx-eyebrow) {
	margin-bottom: 23px;
	font-size: 1.03rem;
}

.cx-page--cemento .cx-cement-delivery__alert {
	margin-bottom: 25px;
	padding: 18px 20px;
	border-left: 5px solid var(--cx-yellow);
	border-radius: 0 14px 14px 0;
	background: var(--cx-white);
	box-shadow: 0 8px 24px rgba(15, 52, 117, 0.06);
}

.cx-page--cemento .cx-cement-delivery__alert strong {
	display: block;
	margin-bottom: 3px;
	color: var(--cx-ink);
}

.cx-page--cemento .cx-cement-delivery__alert p {
	margin-bottom: 0;
	font-size: 0.88rem;
}

.cx-page--cemento .cx-cement-delivery__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	border: 8px solid var(--cx-white);
	border-radius: var(--cx-radius-lg);
	background: var(--cx-blue-soft);
	box-shadow: var(--cx-shadow);
}

.cx-page--cemento .cx-cement-delivery__media::after {
	position: absolute;
	inset: 42% 0 0;
	background: linear-gradient(to top, rgba(4, 21, 55, 0.72), transparent);
	content: "";
}

.cx-page--cemento .cx-cement-delivery__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 4.25;
	object-fit: cover;
}

.cx-page--cemento .cx-cement-delivery__media figcaption {
	position: absolute;
	right: 17px;
	bottom: 17px;
	left: 17px;
	z-index: 1;
	padding: 16px 18px;
	border-left: 5px solid var(--cx-yellow);
	border-radius: 12px;
	background: rgba(10, 37, 87, 0.92);
	backdrop-filter: blur(7px);
}

.cx-page--cemento .cx-cement-delivery__media figcaption :is(small, strong, span) {
	display: block;
}

.cx-page--cemento .cx-cement-delivery__media figcaption small {
	color: var(--cx-yellow);
	font-size: 0.64rem;
	font-weight: 850;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.cx-page--cemento .cx-cement-delivery__media figcaption strong {
	margin: 3px 0 1px;
	color: var(--cx-white);
	font-size: 1.05rem;
}

.cx-page--cemento .cx-cement-delivery__media figcaption span {
	color: rgba(255, 255, 255, 0.74);
	font-size: 0.8rem;
}

.cx-page--cemento .cx-cement-text-link {
	display: inline-flex;
	min-height: 48px;
	padding: 11px 8px;
	align-items: center;
	gap: 8px;
	color: var(--cx-blue);
	font-weight: 800;
}

.cx-page--cemento .cx-cement-text-link span {
	transition: transform 180ms ease;
}

.cx-page--cemento .cx-cement-text-link:hover span {
	transform: translateX(3px);
}

.cx-page--cemento .cx-cement-mobile-actions {
	display: none;
}

@media (max-width: 1050px) {
	.cx-page--cemento .cx-cement-specs__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.cx-page--cemento .cx-cement-delivery__grid {
		grid-template-columns: 1fr;
	}

	.cx-page--cemento .cx-cement-delivery__media {
		width: min(620px, 100%);
		margin-inline: auto;
	}

	.cx-page--cemento .cx-cement-delivery__media img {
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 767px) {
	.cx-page--cemento {
		padding-bottom: calc(72px + env(safe-area-inset-bottom));
	}

	.cx-page--cemento .cx-cement-price-note {
		align-items: stretch;
		flex-direction: column;
	}

	.cx-page--cemento .cx-cement-price-note .cx-button {
		width: 100%;
	}

	.cx-page--cemento .cx-cement-options__grid {
		grid-template-columns: 1fr;
	}

	.cx-page--cemento .cx-cement-mobile-actions {
		display: grid;
		position: fixed;
		right: 0;
		bottom: 0;
		left: 0;
		z-index: 999;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
		border-top: 1px solid rgba(15, 52, 117, 0.14);
		background: rgba(255, 255, 255, 0.96);
		box-shadow: 0 -10px 30px rgba(15, 52, 117, 0.12);
		backdrop-filter: blur(12px);
	}

	.cx-page--cemento .cx-cement-mobile-actions a {
		display: flex;
		min-height: 50px;
		align-items: center;
		justify-content: center;
		gap: 8px;
		border-radius: 10px;
		color: var(--cx-blue-deep);
		font-size: 0.84rem;
		font-weight: 820;
	}

	.cx-page--cemento .cx-cement-mobile-actions a:first-child {
		background: var(--cx-yellow);
	}

	.cx-page--cemento .cx-cement-mobile-actions a:last-child {
		margin-left: 8px;
		background: var(--cx-blue);
		color: var(--cx-white);
	}

	.cx-page--cemento .cx-cement-mobile-actions svg {
		width: 21px;
		height: 21px;
		fill: none;
		stroke: currentColor;
		stroke-linecap: round;
		stroke-linejoin: round;
		stroke-width: 1.8;
	}
}

@media (max-width: 560px) {
	.cx-page--cemento .cx-cement-specs__grid {
		grid-template-columns: 1fr;
	}

	.cx-page--cemento .cx-cement-price-note {
		padding: 22px 19px;
	}

	.cx-page--cemento .cx-cement-price-note > div {
		grid-template-columns: 40px minmax(0, 1fr);
		gap: 13px;
	}

	.cx-page--cemento .cx-cement-price-note > div > span {
		width: 40px;
		height: 40px;
	}

	.cx-page--cemento .cx-cement-options__grid article {
		padding: 29px 24px 27px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cx-page--cemento *,
	.cx-page--cemento *::before,
	.cx-page--cemento *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
