/* Popup de captación para lectores del blog. Se carga solo en entradas. */

body.seomos-modal-open {
	overflow: hidden;
}

body.seomos-modal-open .trp-floating-switcher {
	display: none !important;
}

.cta-modal--blog-lead {
	z-index: 300;
	padding: 24px;
	align-items: center;
	justify-content: center;
}

.cta-modal--blog-lead .cta-modal-overlay {
	background: rgba(11, 17, 24, 0.78);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}

.cta-modal--blog-lead .blog-lead-card {
	position: relative;
	z-index: 1;
	width: min(980px, calc(100vw - 48px));
	max-width: none;
	max-height: min(760px, calc(100dvh - 48px));
	margin: auto;
	padding: 0;
	overflow: auto;
	border-radius: 16px;
	background: #FFFFFF;
	box-shadow: 0 36px 90px -24px rgba(3, 8, 18, 0.7);
	scrollbar-color: #7B5B93 #EEEAF2;
	scrollbar-width: thin;
	animation: blog-lead-enter 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.cta-modal--blog-lead .blog-lead-card::-webkit-scrollbar {
	width: 10px;
}

.cta-modal--blog-lead .blog-lead-card::-webkit-scrollbar-track {
	background: #EEEAF2;
}

.cta-modal--blog-lead .blog-lead-card::-webkit-scrollbar-thumb {
	border: 2px solid #EEEAF2;
	border-radius: 999px;
	background: #7B5B93;
}

.cta-modal--blog-lead .blog-lead-card::-webkit-scrollbar-thumb:hover {
	background: #5B358B;
}

.blog-lead-layout {
	display: grid;
	grid-template-columns: minmax(320px, 0.88fr) minmax(460px, 1.12fr);
	min-height: 555px;
}

.blog-lead-story {
	position: relative;
	display: flex;
	min-width: 0;
	min-height: 555px;
	padding: 40px 36px 34px;
	overflow: hidden;
	flex-direction: column;
	color: #FFFFFF;
	background: #26173E;
	isolation: isolate;
}

.blog-lead-story::before {
	content: "";
	position: absolute;
	z-index: -1;
	top: -140px;
	right: -155px;
	width: 360px;
	height: 360px;
	border-radius: 50%;
	background: #E84B1D;
	opacity: 0.96;
}

.blog-lead-story::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: 126px;
	right: -64px;
	width: 156px;
	height: 156px;
	border: 1px solid rgba(255, 255, 255, 0.32);
	border-radius: 50%;
}

.blog-lead-logo {
	position: relative;
	z-index: 2;
	display: block;
	width: 178px;
	height: auto;
}

.blog-lead-story__copy {
	position: relative;
	z-index: 2;
	display: flex;
	margin-top: 34px;
	flex: 1;
	flex-direction: column;
	justify-content: center;
}

.blog-lead-eyebrow {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 16px;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.11);
	color: #F4DFFB;
	font-size: 11.5px;
	font-weight: 800;
	letter-spacing: 0.04em;
	line-height: 1.2;
	text-transform: uppercase;
}

.blog-lead-story__copy h2 {
	max-width: 15ch;
	margin: 0;
	color: #FFFFFF;
	font-family: 'Poppins', sans-serif;
	font-size: clamp(31px, 3.05vw, 42px);
	font-weight: 800;
	letter-spacing: -0.035em;
	line-height: 1.02;
	text-wrap: balance;
}

.blog-lead-story__copy p {
	max-width: 36ch;
	margin: 20px 0 0;
	color: #D8CAE9;
	font-size: 16px;
	line-height: 1.55;
}

.blog-lead-story__copy .blog-lead-price {
	margin-top: 16px;
	color: #FFFFFF;
	font-size: 13.5px;
	font-weight: 800;
	line-height: 1.45;
}

.cta-modal--blog-lead [data-market-copy] {
	display: none;
}

.cta-modal--blog-lead[data-pricing-market="co"] [data-market-copy="co"],
.cta-modal--blog-lead[data-pricing-market="intl"] [data-market-copy="intl"],
.cta-modal--blog-lead[data-pricing-market="pending"] [data-market-copy="pending"] {
	display: block;
}

.blog-lead-services {
	display: grid;
	gap: 10px;
	margin: 25px 0 0;
	padding: 0;
	list-style: none;
	color: #F6F0FC;
	font-size: 14px;
	font-weight: 700;
}

.blog-lead-services li {
	display: flex;
	align-items: center;
	gap: 10px;
}

.blog-lead-services span {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #F46A3F;
	box-shadow: 0 0 0 4px rgba(232, 75, 29, 0.16);
}

.blog-lead-panel {
	position: relative;
	display: flex;
	min-width: 0;
	padding: 44px 46px 36px;
	align-items: center;
	background: #FFFFFF;
}

.blog-lead-panel > * {
	width: 100%;
}

.blog-lead-panel h2 {
	max-width: 16ch;
	margin: 0;
	color: #0B1118;
	font-family: 'Poppins', sans-serif;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.1;
	text-wrap: balance;
}

.blog-lead-panel .cta-modal-form > p {
	max-width: 47ch;
	margin: 12px 0 0;
	color: #5A6775;
	font-size: 15px;
	line-height: 1.5;
}

.blog-lead-form {
	margin-top: 24px;
}

.blog-lead-fields {
	display: grid;
	gap: 13px;
}

.blog-lead-fields + .blog-lead-fields,
.blog-lead-fields + .blog-lead-field,
.blog-lead-field + .blog-lead-field {
	margin-top: 13px;
}

.blog-lead-fields--two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.blog-lead-field--wide {
	grid-column: 1 / -1;
}

.blog-lead-field label {
	display: block;
	margin-bottom: 6px;
	color: #41505F;
	font-size: 12.5px;
	font-weight: 700;
	line-height: 1.3;
}

.blog-lead-field input,
.blog-lead-field select,
.blog-lead-field textarea {
	width: 100%;
	min-height: 46px;
	padding: 11px 13px;
	border: 1px solid #D9E0E7;
	border-radius: 12px;
	outline: 0;
	background: #FFFFFF;
	color: #19232E;
	font-family: 'Nunito', sans-serif;
	font-size: 14px;
	line-height: 1.4;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.blog-lead-field textarea {
	min-height: 66px;
	resize: vertical;
}

.blog-lead-field input::placeholder,
.blog-lead-field textarea::placeholder {
	color: #596777;
	opacity: 1;
}

.blog-lead-field input:focus,
.blog-lead-field select:focus,
.blog-lead-field textarea:focus {
	border-color: #E84B1D;
	box-shadow: 0 0 0 3px rgba(232, 75, 29, 0.14);
}

.blog-lead-consent {
	margin-top: 15px;
	font-size: 12px;
	line-height: 1.4;
}

.blog-lead-consent a {
	color: #5B358B;
	font-weight: 800;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
}

.blog-lead-consent a:hover,
.blog-lead-consent a:focus-visible {
	color: #C13E16;
}

.blog-lead-submit {
	position: relative;
	display: flex;
	width: 100%;
	min-height: 51px;
	margin-top: 17px;
	padding: 13px 20px;
	border: 0;
	border-radius: 12px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: #C13E16;
	box-shadow: 0 16px 30px -16px rgba(200, 54, 16, 0.85);
	color: #FFFFFF;
	font-family: 'Poppins', sans-serif;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.blog-lead-submit:hover {
	background: #A9300D;
	box-shadow: 0 19px 34px -16px rgba(200, 54, 16, 0.95);
	transform: translateY(-2px);
}

.blog-lead-submit:active {
	transform: translateY(0);
}

.blog-lead-form.is-sending .blog-lead-submit__label,
.blog-lead-form.is-sending .blog-lead-submit svg {
	visibility: hidden;
}

.blog-lead-form.is-sending .blog-lead-submit::after {
	content: "";
	position: absolute;
	width: 20px;
	height: 20px;
	border: 2px solid rgba(255, 255, 255, 0.45);
	border-top-color: #FFFFFF;
	border-radius: 50%;
	animation: blog-lead-spin 0.7s linear infinite;
}

.blog-lead-assurance {
	margin: 11px 0 0;
	color: #687585;
	font-size: 11.5px;
	font-weight: 700;
	line-height: 1.4;
	text-align: center;
}

.cta-modal--blog-lead .blog-lead-close {
	z-index: 5;
	top: 14px;
	right: 14px;
	width: 38px;
	height: 38px;
	padding: 0;
	border: 1px solid #E1E6EC;
	border-radius: 50%;
	background: #FFFFFF;
	box-shadow: 0 10px 25px -16px rgba(11, 17, 24, 0.7);
	color: #41505F;
	cursor: pointer;
}

.cta-modal--blog-lead .blog-lead-close:hover {
	background: #F5F7F9;
	color: #0B1118;
}

.blog-lead-success {
	padding: 26px 4px;
	text-align: left;
}

.blog-lead-success__icon {
	display: flex;
	width: 68px;
	height: 68px;
	margin-bottom: 26px;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	background: #FDEDE7;
	color: #E84B1D;
}

.blog-lead-success h2 {
	max-width: 12ch;
}

.blog-lead-success p {
	max-width: 40ch;
	margin: 15px 0 0;
	color: #5A6775;
	font-size: 16px;
	line-height: 1.6;
}

.blog-lead-secondary {
	margin-top: 26px;
	padding: 12px 18px;
	border: 1px solid #D9E0E7;
	border-radius: 12px;
	background: #FFFFFF;
	color: #19232E;
	font-family: 'Poppins', sans-serif;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
}

.blog-lead-secondary:hover {
	border-color: #E84B1D;
	color: #C13E16;
}

@keyframes blog-lead-enter {
	from {
		opacity: 0;
		filter: blur(7px);
		transform: translateY(28px) scale(0.97);
	}
	to {
		opacity: 1;
		filter: blur(0);
		transform: none;
	}
}

@keyframes blog-lead-spin {
	to { transform: rotate(360deg); }
}

@media (max-width: 860px) {
	.cta-modal--blog-lead {
		padding: 14px;
	}

	.cta-modal--blog-lead .blog-lead-card {
		width: min(620px, calc(100vw - 28px));
		max-height: calc(100dvh - 28px);
	}

	.blog-lead-layout {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.blog-lead-story {
		min-height: 290px;
		padding: 25px 72px 26px 26px;
	}

	.blog-lead-story::before {
		top: -165px;
		right: -145px;
	}

	.blog-lead-logo {
		width: 146px;
	}

	.blog-lead-story__copy {
		margin-top: 30px;
		flex: initial;
	}

	.blog-lead-story__copy h2 {
		max-width: 19ch;
		font-size: 29px;
		line-height: 1.08;
	}

	.blog-lead-story__copy p,
	.blog-lead-services {
		display: none;
	}

	.blog-lead-story__copy .blog-lead-price {
		display: block;
		margin-top: 13px;
		font-size: 12.5px;
	}

	.blog-lead-story__copy {
		max-width: 68%;
	}

	.blog-lead-panel {
		padding: 30px 26px 28px;
	}

	.cta-modal--blog-lead .blog-lead-close {
		top: 16px;
		right: 16px;
	}
}

@media (max-width: 560px) {
	.cta-modal--blog-lead {
		padding: 8px;
	}

	.cta-modal--blog-lead .blog-lead-card {
		width: calc(100vw - 16px);
		max-height: calc(100dvh - 16px);
		border-radius: 14px;
	}

	.blog-lead-story {
		min-height: 245px;
		padding: 21px 62px 20px 20px;
	}

	.blog-lead-logo {
		width: 130px;
	}

	.blog-lead-story__copy {
		margin-top: 24px;
	}

	.blog-lead-story__copy h2 {
		max-width: 17ch;
		font-size: 25px;
	}

	.blog-lead-panel {
		padding: 25px 20px 24px;
	}

	.blog-lead-panel h2 {
		max-width: 18ch;
		font-size: 24px;
	}

	.blog-lead-panel .cta-modal-form > p {
		margin-top: 9px;
		font-size: 14px;
	}

	.blog-lead-form {
		margin-top: 19px;
	}

	.blog-lead-fields--two {
		grid-template-columns: 1fr;
	}

	.blog-lead-fields,
	.blog-lead-fields + .blog-lead-fields,
	.blog-lead-fields + .blog-lead-field {
		gap: 11px;
		margin-top: 11px;
	}

	.blog-lead-field input,
	.blog-lead-field select,
	.blog-lead-field textarea {
		min-height: 44px;
	}

	.blog-lead-consent {
		margin-top: 13px;
	}

	.blog-lead-submit {
		margin-top: 14px;
	}

	.blog-lead-assurance {
		font-size: 10.5px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.cta-modal--blog-lead .blog-lead-card,
	.blog-lead-form.is-sending .blog-lead-submit::after {
		animation-duration: 0.01ms;
		animation-iteration-count: 1;
	}
}

html[data-theme="dark"] .blog-lead-panel {
	background: #151B23;
}

html[data-theme="dark"] .blog-lead-panel h2,
html[data-theme="dark"] .blog-lead-field label {
	color: #F4F7FA;
}

html[data-theme="dark"] .blog-lead-panel .cta-modal-form > p,
html[data-theme="dark"] .blog-lead-success p,
html[data-theme="dark"] .blog-lead-assurance,
html[data-theme="dark"] .blog-lead-consent {
	color: #B5C0CD;
}

html[data-theme="dark"] .cta-modal--blog-lead .blog-lead-close,
html[data-theme="dark"] .blog-lead-secondary {
	border-color: #34404E;
	background: #202832;
	color: #F4F7FA;
}
