/**
 * Adecuación Ley 21.719 — estilos exclusivos de la página.
 * Encapsulado bajo .sh-ley21719-page (no afecta otras páginas).
 */

.sh-ley21719-page {
	--ley-line: #dce3ee;
	--ley-soft-blue: #edf3ff;
	--ley-navy: #0a1224;
	--ley-navy-soft: #101c34;
	--ley-lime: #b8f36a;
	--ley-text-sm: 16px;
	background: #fff;
	padding-bottom: 0;
	overflow-x: visible;
}

.sh-ley21719-page .sh-page-body--ley21719 {
	padding-bottom: 0;
}

/* Hero centrado */
.sh-ley21719-page__hero .sh-page-hero__title {
	max-width: none;
	margin-inline: auto;
}

.sh-ley21719-page__platforms-line {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 18px;
	color: rgba(255, 255, 255, 0.55);
	font-size: 12px;
	font-weight: 700;
}

.sh-ley21719-page__platforms-line span:not(:last-child)::after {
	margin-left: 18px;
	color: rgba(255, 255, 255, 0.28);
	content: "·";
}

.sh-ley21719-page__hero-note {
	display: grid;
	gap: 10px;
	max-width: 640px;
	margin: 40px auto 0;
	padding-top: 28px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
}

.sh-ley21719-page__hero-note span {
	color: #fff;
	font-size: 16px;
	font-weight: 800;
}

.sh-ley21719-page__hero-note p {
	color: rgba(255, 255, 255, 0.55);
	font-size: 16px;
	line-height: 1.75;
}

/* Riesgos */
.sh-ley21719-page__risk-grid {
	border: 1px solid var(--ley-line);
	border-radius: 16px;
	overflow: hidden;
}

.sh-ley21719-page__risk-card {
	min-height: 250px;
	padding: 28px 24px;
	border-right: 1px solid var(--ley-line);
	border-bottom: 1px solid var(--ley-line);
	background: #fff;
	transition: background 0.2s ease, transform 0.2s ease;
}

.sh-ley21719-page__risk-card:hover {
	background: var(--ley-soft-blue);
	transform: translateY(-2px);
}

.sh-ley21719-page__risk-grid .col:nth-child(3n) .sh-ley21719-page__risk-card {
	border-right: 0;
}

.sh-ley21719-page__risk-grid .col:nth-last-child(-n + 3) .sh-ley21719-page__risk-card {
	border-bottom: 0;
}

.sh-ley21719-page__card-num {
	display: block;
	margin-bottom: 28px;
	color: #3f6fe0;
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}

.sh-ley21719-page__risk-card h3 {
	margin-bottom: 12px;
	color: #0f172a;
	font-size: 18px;
	font-weight: 700;
}

.sh-ley21719-page__risk-card p {
	color: #64748b;
	font-size: 16px;
	line-height: 1.75;
}

/* Sección ley */
.sh-ley21719-page__law-section {
	padding: 100px 0;
	color: #fff;
	background: var(--ley-navy);
}

.sh-ley21719-page__source-link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding-bottom: 6px;
	border-bottom: 1px solid #52627d;
	color: #dfe7f4;
	font-size: 16px;
	font-weight: 700;
}

.sh-ley21719-page__source-link:hover {
	color: #fff;
}

.sh-ley21719-page__law-facts {
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sh-ley21719-page__law-facts article {
	display: grid;
	grid-template-columns: 72px 1fr;
	gap: 18px;
	padding: 26px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.sh-ley21719-page__law-facts article > strong {
	color: var(--ley-lime);
	font-size: clamp(1.25rem, 2vw, 1.75rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.02em;
}

.sh-ley21719-page__law-facts h3 {
	margin-bottom: 8px;
	color: #fff;
	font-size: 18px;
	font-weight: 700;
}

.sh-ley21719-page__law-facts p {
	color: #aebbd1;
	font-size: 16px;
	line-height: 1.75;
}

.sh-ley21719-page__audit-num {
	display: block;
	margin-bottom: 28px;
	color: #3f6fe0;
	font-size: clamp(2.5rem, 4vw, 3.5rem);
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.04em;
}

/* Entregables */
.sh-ley21719-page__badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	max-width: fit-content;
	align-self: flex-start;
	padding: 6px 14px;
	border-radius: 999px;
	background: var(--ley-soft-blue);
	color: #2c55bb;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
}

.sh-ley21719-page__badge--featured {
	background: var(--ley-lime);
	color: #172407;
}

/* Incompatibilidad comprobada: .sh-plan-card.sh-featured fuerza fondo claro con !important en segurishop-custom.css */
.sh-ley21719-page .sh-ley21719-page__deliverable--featured.sh-plan-card.sh-featured {
	position: relative;
	overflow: hidden;
	background: var(--ley-navy) !important;
	border-color: var(--ley-navy);
	color: #fff;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.2);
}

.sh-ley21719-page .sh-ley21719-page__deliverable--featured.sh-plan-card.sh-featured::after {
	position: absolute;
	top: -120px;
	right: -110px;
	width: 250px;
	height: 250px;
	border-radius: 50%;
	background: rgba(63, 111, 224, 0.32);
	pointer-events: none;
	content: "";
	z-index: 0;
}

.sh-ley21719-page__deliverable--featured > * {
	position: relative;
	z-index: 1;
}

.sh-ley21719-page__deliverable--featured .sh-checklist li {
	color: #d9e1ef;
}

.sh-ley21719-page__deliverable--featured .sh-checklist i {
	color: var(--ley-lime);
}

.sh-ley21719-page__scope-note {
	max-width: 920px;
	margin: 28px auto 0;
	padding: 16px 20px;
	border-radius: 10px;
	background: var(--ley-soft-blue);
	color: #42526b;
	font-size: 16px;
	line-height: 1.75;
	text-align: center;
}

.sh-ley21719-page__scope-note a {
	color: #2c55bb;
	font-weight: 600;
	text-decoration: underline;
}

/* Plataformas */
.sh-ley21719-page__platform-section {
	padding: 80px 0;
	color: #fff;
	background: #3f6fe0;
}

.sh-ley21719-page__platform-badges {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.sh-ley21719-page__platform-badges span {
	padding: 9px 13px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

/* Proceso */
.sh-ley21719-page__process {
	border: 1px solid var(--ley-line);
	border-radius: 16px;
	overflow: hidden;
}

.sh-ley21719-page__process-item {
	position: relative;
	min-height: 240px;
	padding: 28px 22px;
	border-right: 1px solid var(--ley-line);
	background: #fff;
}

.sh-ley21719-page__process .col:last-child .sh-ley21719-page__process-item {
	border-right: 0;
}

.sh-ley21719-page__process-item > span {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	margin-bottom: 40px;
	border-radius: 50%;
	background: var(--ley-soft-blue);
	color: #3f6fe0;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: 0;
}

.sh-ley21719-page__process-item h3 {
	margin: 0 0 12px;
	color: #0f172a;
	font-size: 18px;
	font-weight: 700;
}

.sh-ley21719-page__process-item p {
	color: #64748b;
	font-size: 16px;
	line-height: 1.75;
}

/* Límite técnico / jurídico */
.sh-ley21719-page__boundary {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.sh-ley21719-page__boundary-card {
	padding: 42px 36px;
}

.sh-ley21719-page__boundary-card--tech {
	background: var(--ley-soft-blue);
}

.sh-ley21719-page__boundary-card--legal {
	background: var(--ley-navy);
}

.sh-ley21719-page__boundary-statement {
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.sh-ley21719-page__boundary-statement span,
.sh-ley21719-page__boundary-statement strong {
	display: block;
	font-size: 16px;
	line-height: 1.75;
}

.sh-ley21719-page__boundary-statement span {
	color: #8fa0ba;
}

.sh-ley21719-page__boundary-statement strong {
	margin-top: 8px;
	color: var(--ley-lime);
}

/* Sanciones */
.sh-ley21719-page__sanctions-section {
	padding: 90px 0;
	color: #fff;
	background: linear-gradient(135deg, #111d35, #080e1d);
}

.sh-ley21719-page__sanctions-note {
	display: block;
	color: #7f8da5;
	font-size: 14px;
	line-height: 1.6;
}

.sh-ley21719-page__sanction-table {
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 16px;
	overflow: hidden;
}

.sh-ley21719-page__sanction-table > div {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: 16px;
	padding: 20px 22px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.sh-ley21719-page__sanction-table span {
	color: #94a4bd;
	font-size: 16px;
}

.sh-ley21719-page__sanction-table strong {
	color: #fff;
	font-size: 16px;
}

.sh-ley21719-page__sanction-table > a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 20px 22px;
	background: rgba(63, 111, 224, 0.18);
	color: #cbd9fb;
	font-size: 14px;
	font-weight: 700;
}

.sh-ley21719-page__sanction-table > a:hover {
	color: #fff;
}

/* FAQ */
.sh-ley21719-page__faq .sh-faq-item__btn {
	color: #0f172a;
}

.sh-ley21719-page__faq .sh-faq-item__btn:focus {
	outline-offset: 2px;
}

.sh-ley21719-page__faq .sh-faq-item__body {
	color: #475569;
	font-size: 16px;
	line-height: 1.75;
}

/* Evita que el ancla del acordeón mueva el scroll al abrir/cerrar */
.sh-ley21719-page__faq .collapse,
.sh-ley21719-page__faq .collapsing {
	scroll-margin: 0;
}

/* Formulario */
.sh-ley21719-page__quote-section {
	padding: 100px 0;
	background: #3f6fe0;
}

.sh-ley21719-page__quote-section--last {
	margin-bottom: 0;
}

.sh-ley21719-page__quote-form {
	box-shadow: 0 35px 85px rgba(0, 0, 0, 0.22);
}

.sh-ley21719-page__quote-form label:not(.sh-ley21719-page__privacy-label) {
	display: block;
	width: 100%;
	max-width: none;
	margin-bottom: 0;
}

.sh-ley21719-page__privacy-label {
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	gap: 10px;
	width: fit-content;
	max-width: 520px;
	margin: 0;
	cursor: pointer;
	word-break: normal;
	overflow-wrap: normal;
}

.sh-ley21719-page__privacy-label input[type="checkbox"] {
	flex: 0 0 1rem;
	width: 1rem;
	height: 1rem;
	max-width: none;
	margin: 0.2em 0 0;
	accent-color: #3f6fe0;
}

.sh-ley21719-page__privacy-label span {
	flex: 1 1 auto;
	min-width: 0;
	line-height: 1.5;
	word-break: normal;
	overflow-wrap: normal;
}

.sh-ley21719-page__quote-needs {
	padding: 24px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.025);
}

.sh-ley21719-page__quote-needs > p {
	margin-bottom: 12px;
	color: #dce4f0;
	font-size: var(--ley-text-sm);
	font-weight: 800;
}

.sh-ley21719-page__quote-needs ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.sh-ley21719-page__quote-needs li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 7px 0;
	color: #b9ccfa;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
}

.sh-ley21719-page__quote-needs li strong {
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 0;
}

@media (max-width: 1199.98px) {
	.sh-ley21719-page__risk-grid .col:nth-child(3n) .sh-ley21719-page__risk-card {
		border-right: 1px solid var(--ley-line);
	}

	.sh-ley21719-page__risk-grid .col:nth-child(2n) .sh-ley21719-page__risk-card {
		border-right: 0;
	}

	.sh-ley21719-page__risk-grid .col:nth-last-child(-n + 3) .sh-ley21719-page__risk-card {
		border-bottom: 1px solid var(--ley-line);
	}

	.sh-ley21719-page__risk-grid .col:nth-last-child(-n + 2) .sh-ley21719-page__risk-card {
		border-bottom: 0;
	}

	.sh-ley21719-page__process .col:nth-child(2n) .sh-ley21719-page__process-item {
		border-right: 0;
	}

	.sh-ley21719-page__process .col:nth-child(-n + 4) .sh-ley21719-page__process-item {
		border-bottom: 1px solid var(--ley-line);
	}
}

@media (max-width: 991.98px) {
	.sh-ley21719-page__law-section,
	.sh-ley21719-page__sanctions-section,
	.sh-ley21719-page__quote-section {
		padding: 72px 0;
	}

	.sh-ley21719-page__boundary-card {
		padding: 32px 28px;
	}
}

@media (max-width: 767.98px) {
	.sh-ley21719-page__platforms-line {
		gap: 8px 12px;
	}

	.sh-ley21719-page__risk-grid .col .sh-ley21719-page__risk-card {
		min-height: auto;
		border-right: 0;
		border-bottom: 1px solid var(--ley-line);
	}

	.sh-ley21719-page__risk-grid .col:last-child .sh-ley21719-page__risk-card {
		border-bottom: 0;
	}

	.sh-ley21719-page__process .col .sh-ley21719-page__process-item {
		min-height: auto;
		border-right: 0;
		border-bottom: 1px solid var(--ley-line);
	}

	.sh-ley21719-page__process .col:last-child .sh-ley21719-page__process-item {
		border-bottom: 0;
	}

	.sh-ley21719-page__law-facts article {
		grid-template-columns: 56px 1fr;
	}

	.sh-ley21719-page__sanction-table > div {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.sh-ley21719-page__platforms-line span:not(:last-child)::after {
		margin-left: 12px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sh-ley21719-page__risk-card {
		transition: none;
	}
}
