/**
 * Confirmación (Figma: V2 · Gracias).
 */

.psw-thanks {
	padding: 14px 20px 0;
}

.psw-thanks .psw-thanks__frame {
	max-width: 1880px;
	margin-inline: auto;
	padding: 96px 64px 88px;
	border-radius: 28px;
	background-color: var(--psw-surface);
}

.psw-thanks .psw-thanks__grid {
	display: grid;
	grid-template-columns: minmax(0, 838fr) minmax(0, 685fr);
	gap: 77px;
	align-items: start;
	max-width: 1600px;
	margin-inline: auto;
}

/* Columna principal */

.psw-thanks .psw-thanks__check {
	position: relative;
	display: block;
	width: 72px;
	height: 72px;
	margin-bottom: 28px;
	border-radius: 50%;
	background-color: var(--psw-primary);
}

.psw-thanks .psw-thanks__check::after,
.psw-thanks .psw-thanks__step.is-done .psw-thanks__step-mark::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 15px;
	border: solid var(--psw-primary-foreground);
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -62%) rotate(45deg);
}

.psw-thanks .psw-thanks__title {
	margin-top: 18px;
	color: var(--psw-foreground-strong);
	font-family: var(--psw-font-display);
	font-size: var(--e-global-typography-om_display_xl-font-size, 88px);
	font-weight: var(--e-global-typography-om_display_xl-font-weight, 300);
	line-height: var(--e-global-typography-om_display_xl-line-height, 0.92);
	letter-spacing: var(--e-global-typography-om_display_xl-letter-spacing, -0.02em);
}

.psw-thanks .psw-thanks__title em {
	color: var(--psw-secondary);
	font-style: italic;
}

.psw-thanks .psw-thanks__text {
	margin-top: 24px;
	color: var(--e-global-color-om_texto_cuerpo, #4f4c45);
	font-size: var(--e-global-typography-om_texto_m-font-size, 17px);
	line-height: var(--e-global-typography-om_texto_m-line-height, 28px);
}

/* Pasos con línea vertical */

.psw-thanks .psw-thanks__steps {
	position: relative;
	max-width: 560px;
	margin-top: 40px;
}

.psw-thanks .psw-thanks__steps::before {
	content: "";
	position: absolute;
	top: 16px;
	bottom: 32px;
	left: 15px;
	width: 1px;
	background-color: rgba(79, 83, 73, 0.25);
}

.psw-thanks .psw-thanks__step {
	position: relative;
	display: grid;
	grid-template-columns: 32px minmax(0, 1fr);
	gap: 16px;
	padding-bottom: 22px;
}

.psw-thanks .psw-thanks__step-mark {
	position: relative;
	display: inline-grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--psw-primary);
	border-radius: 50%;
	background-color: var(--psw-surface-raised);
	color: var(--psw-primary);
	font-size: var(--e-global-typography-om_texto_s-font-size, 14px);
	line-height: 1;
}

.psw-thanks .psw-thanks__step.is-done .psw-thanks__step-mark {
	background-color: var(--psw-primary);
}

.psw-thanks .psw-thanks__step.is-done .psw-thanks__step-mark::after {
	width: 6px;
	height: 11px;
	border-width: 0 1.5px 1.5px 0;
}

.psw-thanks .psw-thanks__step-body {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.psw-thanks .psw-thanks__step-body strong {
	color: var(--psw-foreground-strong);
	font-family: var(--e-global-typography-secondary-font-family, "Cormorant"), Georgia, serif;
	font-size: var(--e-global-typography-secondary-font-size, 24px);
	font-weight: 400;
	line-height: var(--e-global-typography-secondary-line-height, 1.4);
}

.psw-thanks .psw-thanks__step-body > span {
	color: var(--psw-muted-foreground);
	font-size: var(--e-global-typography-om_texto_m-font-size, 17px);
	line-height: var(--e-global-typography-om_texto_m-line-height, 28px);
}

/* Tarjeta de la solicitud */

.psw-thanks .psw-thanks__card {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 32px;
	border-radius: 28px;
	background-color: var(--psw-surface-raised);
}

.psw-thanks .psw-thanks__summary[hidden],
.psw-thanks .psw-thanks__row[hidden] {
	display: none;
}

.psw-thanks .psw-thanks__card-label {
	padding-bottom: 14px;
	color: var(--psw-label);
	font-size: var(--e-global-typography-om_etiqueta-font-size, 13px);
	font-weight: 500;
	line-height: var(--e-global-typography-om_etiqueta-line-height, 20px);
	letter-spacing: var(--e-global-typography-om_etiqueta-letter-spacing, 1.6px);
	text-transform: uppercase;
}

.psw-thanks .psw-thanks__rows {
	margin: 0;
}

.psw-thanks .psw-thanks__row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding: 13px 0;
	border-bottom: 1px solid var(--psw-border);
	font-size: var(--e-global-typography-om_texto_m-font-size, 17px);
	line-height: var(--e-global-typography-om_texto_m-line-height, 28px);
}

.psw-thanks .psw-thanks__row dt {
	color: var(--psw-muted-foreground);
}

.psw-thanks .psw-thanks__row dd {
	margin: 0;
	color: var(--psw-foreground-strong);
	font-weight: 500;
	text-align: right;
}

.psw-thanks .psw-thanks__contact {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 20px;
	border-radius: 18px;
	background-color: var(--psw-surface);
}

.psw-thanks .psw-thanks__contact p {
	color: var(--psw-foreground);
	font-size: var(--e-global-typography-om_texto_m-font-size, 17px);
	line-height: var(--e-global-typography-om_texto_m-line-height, 28px);
}

.psw-thanks .psw-thanks__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

@media (min-width: 1024px) and (max-width: 1799px) {
	.psw-thanks .psw-thanks__title {
		font-size: clamp(60px, 4.9vw, 88px);
	}
}

@media (max-width: 1279px) {
	.psw-thanks .psw-thanks__frame {
		padding: 72px 40px;
	}

	.psw-thanks .psw-thanks__grid {
		gap: 48px;
	}
}

@media (max-width: 1023px) {
	.psw-thanks {
		padding: 8px 8px 0;
	}

	.psw-thanks .psw-thanks__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
}

@media (max-width: 767px) {
	.psw-thanks .psw-thanks__frame {
		padding: 40px 20px 20px;
	}

	.psw-thanks .psw-thanks__check {
		width: 56px;
		height: 56px;
		margin-bottom: 20px;
	}

	.psw-thanks .psw-thanks__title {
		font-size: 48px;
		line-height: 1;
	}

	.psw-thanks .psw-thanks__card {
		padding: 20px;
	}

	.psw-thanks .psw-thanks__row {
		flex-direction: column;
		gap: 0;
	}

	.psw-thanks .psw-thanks__row dd {
		text-align: left;
	}

	.psw-thanks .psw-thanks__buttons .psw-btn {
		flex: 1 1 auto;
	}
}
