/**
 * Credelio Dónde comprar — Hero.
 */

.credelio-donde-hero {
	width: 100%;
	max-width: min(100%, 1920px);
	margin: 0 auto;
	padding: clamp(32px, 4vw, 56px) clamp(16px, 2.8vw, 40px);
	box-sizing: border-box;
	background: #ffffff;
}

.credelio-donde-hero__inner {
	max-width: 1440px;
	margin: 0 auto;
}

.credelio-donde-hero__body {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: clamp(24px, 3.5vw, 48px);
}

.credelio-donde-hero__content {
	min-width: 0;
}

.credelio-donde-hero__title {
	margin: 0;
	font-size: clamp(32px, 4.2vw, 64px);
	font-weight: 700;
	line-height: 1.1;
}

.credelio-donde-hero__title-prefix {
	color: #1a1a1a;
}

.credelio-donde-hero__title-accent {
	color: #005032;
}

.credelio-donde-hero__subtitle {
	margin: clamp(12px, 1.4vw, 18px) 0 0;
	max-width: 28em;
	color: #6b6b6b;
	font-size: clamp(14px, 1.25vw, 18px);
	font-weight: 400;
	line-height: 1.45;
}

.credelio-donde-hero__ctas {
	display: inline-flex;
	align-items: stretch;
	margin-top: clamp(22px, 2.4vw, 32px);
	border-radius: 999px;
	overflow: hidden;
	background: #f7f6f3;
}

.credelio-donde-hero__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: clamp(48px, 3.4vw, 56px);
	padding: 11px clamp(18px, 2vw, 30px);
	font-size: clamp(13px, 1.05vw, 15px);
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	white-space: nowrap;
	border-radius: 999px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.credelio-donde-hero__cta--primary {
	position: relative;
	z-index: 1;
	background: #009845;
	color: #ffffff;
}

a.credelio-donde-hero__cta--primary:hover {
	background: #007d39;
	color: #ffffff;
}

.credelio-donde-hero__cta--secondary {
	margin-left: 0;
	padding-left: clamp(20px, 2.2vw, 32px);
	background: transparent;
	color: #1a1a1a;
}

a.credelio-donde-hero__cta--secondary:hover {
	background: #ebe9e5;
	color: #1a1a1a;
}

.credelio-donde-hero__btn-icon--cta {
	width: 18px;
	height: 18px;
	object-fit: contain;
}

.credelio-donde-hero__visual {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(280px, 34vw, 520px);
	overflow: visible;
}

.credelio-donde-hero__image,
.elementor .credelio-donde-hero__image {
	display: block;
	width: min(100%, 620px);
	height: auto;
	object-fit: contain;
	object-position: center;
}

@media (min-width: 1600px) {
	.credelio-donde-hero {
		padding-left: 48px;
		padding-right: 48px;
	}

	.credelio-donde-hero__title {
		font-size: 68px;
	}
}

@media (max-width: 1000px) {
	.credelio-donde-hero__body {
		grid-template-columns: 1fr;
	}

	.credelio-donde-hero__visual {
		order: -1;
		min-height: 280px;
	}

	.credelio-donde-hero__ctas {
		width: 100%;
		display: flex;
	}

	.credelio-donde-hero__cta {
		flex: 1 1 0;
		white-space: normal;
		text-align: center;
	}
}

@media (max-width: 640px) {
	.credelio-donde-hero {
		padding-left: 12px;
		padding-right: 12px;
	}

	.credelio-donde-hero__ctas {
		flex-direction: column;
		border-radius: 18px;
		gap: 8px;
		overflow: visible;
		background: transparent;
	}

	.credelio-donde-hero__cta--secondary {
		margin-left: 0;
		padding-left: clamp(18px, 2vw, 30px);
		background: #f7f6f3;
	}

	.credelio-donde-hero__title {
		font-size: 30px;
	}
}
