.hr-home {
	--hr-bg: #ffffff;
	--hr-bg-alt: #f6f9fc;
	--hr-text: #0f172a;
	--hr-muted: #475569;
	--hr-line: #dbe4ee;
	--hr-primary: #0f4ea8;
	--hr-primary-dark: #0b3a7c;
	--hr-accent: #1d6fe8;
	--hr-white: #ffffff;
	--hr-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
	--hr-radius: 20px;
	--hr-max: 1200px;
	color: var(--hr-text);
}

.hr-home * {
	box-sizing: border-box;
}

.hr-home img {
	display: block;
	height: auto;
	max-width: 100%;
}

.hr-home a {
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.hr-container {
	margin-inline: auto;
	width: min(100% - 32px, var(--hr-max));
}

.hr-section {
	background: var(--hr-bg);
	padding: 56px 0;
}

.hr-section-alt {
	background: var(--hr-bg-alt);
}

/* Blue tint sections */
.hr-section-blue-soft {
	background: #eef4ff;
}

.hr-section-blue-mid {
	background: #dbeafe;
}

/* Cards sobre fondo azul suave — borde más visible */
.hr-section-blue-soft .hr-card,
.hr-section-blue-soft .hr-post-card,
.hr-section-blue-soft .hr-topic-card {
	background: #ffffff;
	border-color: #bfdbfe;
	box-shadow: 0 4px 12px rgba(15, 78, 168, 0.07);
}

.hr-section-blue-mid .hr-trust-card {
	background: #ffffff;
	border-color: #93c5fd;
	box-shadow: 0 4px 12px rgba(15, 78, 168, 0.08);
}

/* Eyebrow sobre fondo azul — tono más oscuro para contraste */
.hr-section-blue-soft .hr-eyebrow,
.hr-section-blue-mid .hr-eyebrow {
	color: var(--hr-primary);
}

.hr-section-heading {
	margin-bottom: 24px;
	max-width: 760px;
}

.hr-section-heading h2,
.hr-about-title {
	font-size: clamp(1.7rem, 2.6vw, 2.3rem);
	letter-spacing: -0.03em;
	line-height: 1.1;
	margin: 0 0 8px;
}

.hr-section-heading p,
.hr-about-copy,
.hr-featured-copy p,
.hr-card p,
.hr-post-body p,
.hr-method-copy p,
.hr-trust-card p,
.hr-topic-card p,
.hr-final-cta p {
	color: var(--hr-muted);
	line-height: 1.6;
	margin: 0;
}

.hr-section-heading-flex {
	align-items: end;
	display: flex;
	gap: 20px;
	justify-content: space-between;
}

.hr-eyebrow {
	color: var(--hr-accent);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.hr-hero {
	background:
		linear-gradient(180deg, rgba(8, 15, 30, 0.45) 0%, rgba(8, 15, 30, 0.72) 100%),
		var(--hr-hero-image, linear-gradient(180deg, #ffffff 0%, #f8fbff 100%));
	background-color: #0f172a;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	min-height: clamp(420px, 65vh, 640px);
	padding: 72px 0;
	position: relative;
}

.hr-hero-container {
	align-items: center;
	display: flex;
	width: min(100% - 48px, 1380px);
}

.hr-hero-content {
	margin-inline: auto;
	max-width: 1200px;
	position: relative;
	text-align: center;
	z-index: 10;
}

.hr-hero-copy {
	max-width: none;
	position: relative;
	width: 100%;
	z-index: 1;
}

.hr-featured,
.hr-method,
.hr-about-block {
	align-items: center;
	display: grid;
	gap: 32px;
	grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
}

.hr-featured {
	align-items: stretch;
	grid-template-columns: 380px minmax(0, 1fr);
	margin-inline: auto;
	max-width: 900px;
}

.hr-hero-title {
	color: var(--hr-white);
	font-size: clamp(2.2rem, 4.5vw, 3.6rem);
	letter-spacing: -0.04em;
	line-height: 1.05;
	margin: 0 auto 20px;
	max-width: 900px;
	text-wrap: balance;
}

.hr-hero-texts {
	margin-bottom: 28px;
}

.hr-hero-texts {
	max-width: none;
}

.hr-lead {
	color: rgba(255, 255, 255, 0.95);
	font-size: 1.35rem;
	line-height: 1.6;
	margin: 0 auto;
	max-width: 1000px;
}

.hr-hero-supporting-copy {
	color: rgba(255, 255, 255, 0.85);
	font-size: 1.12rem;
	line-height: 1.6;
	margin: 20px auto 0;
	max-width: 900px;
}

.hr-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: center;
}

.hr-about-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 28px;
}

.hr-hero-actions-wrap {
	display: flex;
	justify-content: flex-end;
	width: 100%;
}

.hr-hero-actions-wide {
	align-items: stretch;
	justify-content: flex-end;
	margin-top: 0;
	width: 100%;
}

.hr-btn {
	align-items: center;
	backdrop-filter: blur(8px);
	border-radius: 999px;
	display: inline-flex;
	font-weight: 700;
	gap: 8px;
	justify-content: center;
	min-height: 56px;
	padding: 0 32px;
	text-decoration: none;
	transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.hr-btn:hover {
	transform: translateY(-2px);
}

.hr-btn-primary {
	background: var(--hr-accent);
	box-shadow: 0 10px 20px -5px rgba(29, 111, 232, 0.45);
	color: var(--hr-white);
}

.hr-btn-primary:hover {
	background: var(--hr-primary);
	box-shadow: 0 15px 25px -5px rgba(29, 111, 232, 0.55);
	color: var(--hr-white);
}

.hr-btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: var(--hr-white);
}

.hr-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--hr-white);
}

/* Secondary button on light backgrounds */
.hr-section .hr-btn-secondary {
	background: transparent;
	border-color: var(--hr-primary);
	color: var(--hr-primary);
}

.hr-section .hr-btn-secondary:hover {
	background: var(--hr-primary);
	border-color: var(--hr-primary);
	color: var(--hr-white);
	box-shadow: 0 10px 20px -5px rgba(15, 78, 168, 0.3);
}

/* Restore white style for dark sections */
.hr-hero .hr-btn-secondary,
.hr-final-cta .hr-btn-secondary {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.25);
	color: var(--hr-white);
}

.hr-hero .hr-btn-secondary:hover,
.hr-final-cta .hr-btn-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: rgba(255, 255, 255, 0.5);
	color: var(--hr-white);
}

.hr-text-link {
	color: var(--hr-primary);
	font-weight: 700;
	text-decoration: none;
}

.hr-text-link:hover {
	text-decoration: underline;
}

.hr-card,
.hr-featured,
.hr-post-card,
.hr-method,
.hr-trust-card,
.hr-topic-card,
.hr-about-box {
	background: var(--hr-white);
	border: 1px solid var(--hr-line);
	border-radius: var(--hr-radius);
	box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.025);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hr-card:hover,
.hr-post-card:hover,
.hr-featured:hover {
	box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
	transform: translateY(-4px);
}

.hr-card,
.hr-post-body,
.hr-featured-copy,
.hr-method-copy,
.hr-method-list-wrap,
.hr-trust-card,
.hr-topic-card,
.hr-about-box {
	padding: 28px;
}

.hr-card h3,
.hr-post-body h3,
.hr-topic-card h3,
.hr-trust-card h3 {
	color: var(--hr-primary-dark);
	font-weight: 800;
	margin: 0 0 12px;
}

.hr-trust-card h3::before {
	color: var(--hr-accent);
	content: '✓ ';
	font-weight: 900;
	margin-right: 4px;
}

.hr-check-list,
.hr-method-list {
	color: var(--hr-muted);
	margin: 18px 0 0;
	padding-left: 18px;
}

.hr-check-list li,
.hr-method-list li {
	margin: 8px 0;
}

.hr-grid {
	display: grid;
	gap: 18px;
}

.hr-grid-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hr-grid-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hr-featured {
	overflow: hidden;
}

.hr-featured-media {
	background: none;
	min-height: 100%;
}

.hr-featured .hr-featured-media {
	align-items: stretch;
	display: flex;
	overflow: hidden;
}

.hr-featured-media img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	width: 100%;
}

.hr-featured-placeholder,
.hr-post-thumb-placeholder {
	background:
		linear-gradient(135deg, rgba(29, 111, 232, 0.09), rgba(15, 78, 168, 0.18)),
		#eff6ff;
	height: 100%;
	min-height: 200px;
}

.hr-badge,
.hr-post-meta {
	color: var(--hr-accent);
	display: inline-block;
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
}

.hr-featured-copy h3 {
	font-size: 1.45rem;
	font-weight: 700;
	line-height: 1.2;
	margin: 10px 0 12px;
}

/* Featured card — compact padding */
.hr-featured .hr-featured-copy {
	align-content: center;
	display: grid;
	padding: 32px 36px;
}

.hr-featured .hr-featured-media {
	align-items: stretch;
	display: flex;
	overflow: hidden;
}

.hr-featured-copy h3 a,
.hr-post-body h3 a {
	color: var(--hr-text);
	text-decoration: none;
	transition: color 0.2s ease;
}

.hr-featured-copy h3 a:hover,
.hr-post-body h3 a:hover {
	color: var(--hr-primary);
}

.hr-featured-copy p {
	margin-bottom: 18px;
}

.hr-post-card {
	overflow: hidden;
}

.hr-post-thumb img,
.hr-post-thumb-placeholder {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
}

.hr-post-meta-row {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.hr-post-date {
	color: var(--hr-muted);
	font-size: 0.92rem;
}

.hr-post-body h3 {
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1.35;
	margin-top: 14px;
}

.hr-post-body p {
	margin: 10px 0 16px;
}

.hr-method {
	gap: 0;
	grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
	padding: 0;
}

.hr-method-copy {
	padding-right: 10px;
}

.hr-method-list-wrap {
	border-left: 1px solid var(--hr-line);
	height: 100%;
}

.hr-trust-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.hr-topic-card {
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	color: var(--hr-text);
	display: block;
	position: relative;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hr-topic-card::after {
	color: var(--hr-accent);
	content: '→';
	font-weight: 800;
	position: absolute;
	right: 28px;
	top: 28px;
	transition: transform 0.2s ease;
}

.hr-topic-card:hover {
	border-color: rgba(15, 78, 168, 0.35);
	box-shadow: 0 15px 20px -5px rgba(15, 23, 42, 0.08), 0 6px 8px -4px rgba(15, 23, 42, 0.04);
	text-decoration: none;
	transform: translateY(-4px);
}

.hr-topic-card:hover::after {
	transform: translateX(4px);
}

.hr-about-block {
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
}

.hr-about-box {
	background:
		linear-gradient(180deg, rgba(15, 78, 168, 0.03), rgba(255, 255, 255, 1)),
		var(--hr-white);
}

.hr-final-cta {
	background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
	color: var(--hr-white);
}

.hr-final-cta-inner {
	margin-inline: auto;
	max-width: 820px;
	text-align: center;
}

.hr-final-cta h2 {
	color: var(--hr-white);
	font-size: clamp(2.1rem, 4vw, 3.2rem);
	letter-spacing: -0.04em;
	line-height: 1.05;
	margin: 0 0 16px;
}

.hr-final-cta p {
	color: rgba(255, 255, 255, 0.82);
	margin-inline: auto;
	max-width: 700px;
}

.hr-final-cta .hr-hero-actions {
	justify-content: center;
}

.hr-final-cta .hr-btn-secondary {
	background: transparent;
	border-color: rgba(255, 255, 255, 0.3);
	color: var(--hr-white);
}

.hr-final-cta .hr-btn-secondary:hover {
	border-color: rgba(255, 255, 255, 0.58);
	color: var(--hr-white);
}

.hr-empty {
	background: var(--hr-white);
	border: 1px dashed var(--hr-line);
	border-radius: 14px;
	color: var(--hr-muted);
	padding: 20px;
}

/* Outline button — for light background sections */
.hr-btn-outline {
	background: transparent;
	border: 2px solid var(--hr-primary);
	color: var(--hr-primary);
	font-size: 0.95rem;
	min-height: 48px;
	padding: 0 28px;
}

.hr-btn-outline:hover {
	background: var(--hr-primary);
	border-color: var(--hr-primary);
	color: var(--hr-white);
	box-shadow: 0 10px 20px -5px rgba(15, 78, 168, 0.3);
}

/* Section action — centers the button below the grid */
.hr-section-action {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

/* Final CTA buttons — more breathing room above */
.hr-final-cta-actions {
	margin-top: 40px;
}

@media (max-width: 1080px) {
	.hr-grid-4,
	.hr-grid-3,
	.hr-trust-grid,
	.hr-featured,
	.hr-method,
	.hr-about-block {
		grid-template-columns: 1fr;
	}

	.hr-section-heading-flex {
		align-items: start;
		flex-direction: column;
	}

	.hr-method-list-wrap {
		border-left: 0;
		border-top: 1px solid var(--hr-line);
	}

	.hr-hero-actions {
		justify-content: flex-start;
	}

	.hr-featured {
		grid-template-columns: 1fr;
		max-width: 100%;
	}

	.hr-featured .hr-featured-media {
		max-height: 260px;
		width: 100%;
	}

	.hr-featured-media img {
		height: 260px;
		object-fit: cover;
		width: 100%;
	}
}

@media (max-width: 680px) {
	.hr-section,
	.hr-hero {
		padding: 40px 0;
	}

	.hr-hero {
		background-position: 70% center;
	}

	.hr-hero-container {
		width: min(100% - 32px, 100%);
	}

	.hr-hero-title {
		font-size: 2.6rem;
	}

	.hr-card,
	.hr-post-body,
	.hr-featured-copy,
	.hr-method-copy,
	.hr-method-list-wrap,
	.hr-trust-card,
	.hr-topic-card,
	.hr-about-box {
		padding: 22px;
	}

	.hr-hero-actions .hr-btn {
		flex-basis: 100%;
		font-size: 0.95rem;
		min-height: 50px;
		padding: 0 20px;
	}
}
