/* =====================================================
   REDISEÑO — secciones nuevas de Home/Index e Investigacion.
   Todas las clases compartidas usan el prefijo "hr-" para no
   chocar con el resto de las hojas de estilo del sitio
   (style.css, responsive.css, etc.). Reutiliza el grid de
   Bootstrap (container/row/col-*), la tipografía 'Poppins' y
   el verde de marca (#197d04) ya usados en el resto del sitio.
   ===================================================== */

:root {
	--hr-green-deep: #0f3d2e;
	--hr-green: #197d04;
	--hr-green-light: #e8f2ec;
	--hr-text-soft: #5b6b63;
	--hr-line: #e1e6e2;
}


/* ---------- Bloques genéricos ---------- */

.hr-section {
	padding: 160px 0;
}

	.hr-section--tint {
		background: var(--hr-green-light);
	}

.hr-eyebrow {
	font-size: 12px;
	font-weight: 700;
	color: var(--hr-green);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	margin-bottom: 12px;
}

.hr-section-title {
	font-size: 32px;
	font-weight: 700;
	color: var(--hr-green-deep);
	line-height: 1.35;
	margin-bottom: 22px;
}

.hr-section-text {
	font-size: 16px;
	line-height: 1.9;
	font-weight: 500;
	color: var(--hr-text-soft);
}

.hr-head-center {
	max-width: 720px;
	margin: 0 auto 90px auto;
	text-align: center;
}

.hr-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 15px 30px;
	border: 2.5px solid var(--hr-green);
	border-radius: 5px;
	color: var(--hr-green) !important;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .5px;
	transition: all .2s ease-in-out;
}

	.hr-btn-outline:hover {
		background: var(--hr-green);
		color: #fff !important;
	}


/* ---------- Nuestro propósito (tríptico) ---------- */

.hr-purpose-icon {
	width: 80px;
	height: 80px;
	border: 2.5px solid var(--hr-green);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 24px auto;
	font-size: 28px;
	color: var(--hr-green);
}

.hr-purpose-col {
	text-align: center;
	padding: 0 30px;
	margin-bottom: 60px;
}

	.hr-purpose-col h4 {
		font-size: 17px;
		font-weight: 700;
		letter-spacing: .5px;
		color: var(--hr-green-deep);
		margin-bottom: 14px;
	}

	.hr-purpose-col p {
		font-size: 15px;
		line-height: 1.85;
		font-weight: 500;
		color: var(--hr-text-soft);
		margin-bottom: 0;
	}


/* ---------- Programa principal ---------- */

.hr-program-subtitle {
	font-weight: 600;
	color: var(--hr-green-deep);
}

.hr-program-btn {
	margin-top: 18px;
}

.hr-program-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

	.hr-program-gallery img {
		width: 100%;
		aspect-ratio: 1 / 1;
		object-fit: cover;
		border-radius: 8px;
		display: block;
	}

.hr-program-gallery--three {
	grid-template-columns: repeat(2, 1fr);
}

	.hr-program-gallery--three img:first-child {
		grid-column: span 2;
		aspect-ratio: 16 / 9;
		object-position: top center;
	}

	.hr-program-gallery--three img:last-child {
		object-position: top center;
	}


/* ---------- Nuestro enfoque (cards) ---------- */

.hr-feature-card {
	background: #fff;
	border: 2px solid var(--hr-line);
	border-radius: 8px;
	overflow: hidden;
	height: 100%;
	margin-bottom: 60px;
	transition: box-shadow .2s ease-in-out, transform .2s ease-in-out;
}

	.hr-feature-card:hover {
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
		transform: translateY(-3px);
	}

.hr-feature-card-img {
	height: 270px;
	overflow: hidden;
}

	.hr-feature-card-img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}

.hr-feature-card-body {
	padding: 50px 42px;
}

	.hr-feature-card-body h4 {
		font-size: 16px;
		font-weight: 700;
		letter-spacing: .5px;
		color: var(--hr-green);
		margin-bottom: 16px;
	}

	.hr-feature-card-body p {
		font-size: 15px;
		line-height: 1.85;
		font-weight: 500;
		color: var(--hr-text-soft);
		margin-bottom: 22px;
	}

	.hr-feature-card-body a {
		font-size: 13px;
		font-weight: 700;
		color: var(--hr-green-deep);
	}


/* ---------- Testimonios ---------- */

.hr-testi-card {
	background: #fff;
	border-radius: 8px;
	border-left: 6px solid var(--hr-green);
	padding: 38px 34px;
	height: 100%;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

	.hr-testi-card .fa-quote-left {
		font-size: 20px;
		color: var(--hr-green);
		margin-bottom: 14px;
		display: block;
	}

.hr-testi-card-msg {
	font-size: 14.5px;
	line-height: 1.85;
	color: var(--hr-text-soft);
	font-style: italic;
	margin-bottom: 22px;
}

.hr-testi-card-who {
	display: flex;
	align-items: center;
	gap: 14px;
}

	.hr-testi-card-who img {
		width: 52px;
		height: 52px;
		border-radius: 50%;
		object-fit: cover;
		flex-shrink: 0;
	}

	.hr-testi-card-who div {
		display: flex;
		flex-direction: column;
	}

	.hr-testi-card-who strong {
		font-size: 14px;
		color: var(--hr-green-deep);
	}

	.hr-testi-card-who span {
		font-size: 12px;
		color: var(--hr-text-soft);
	}

.hr-testi-cta {
	margin-top: 60px;
}


/* ---------- Desde Costa Rica ---------- */

.hr-cr-band {
	background:
		linear-gradient(rgba(10, 30, 22, .38), rgba(10, 30, 22, .52)),
		url('https://gaonkhgnnianmvsgdeuz.supabase.co/storage/v1/object/public/imagenes/home/costa-rica-playa-montanas.jpg') center/cover;
	color: #fff;
	text-align: center;
}

	.hr-cr-band .hr-eyebrow {
		color: #bcd8ca;
	}

	.hr-cr-band .hr-section-title {
		color: #fff;
	}

	.hr-cr-band .hr-section-text {
		color: #d7e6dd;
	}

.hr-cr-text {
	max-width: 680px;
	margin: 0 auto;
}

/* La banda de Costa Rica queda pegada al footer sin la franja
   blanca que deja el margin-top de .custom-footer en las demás
   páginas (aquí no hace falta porque ya termina en fondo oscuro). */
.custom-footer {
	margin-top: 0;
}


/* ---------- Investigación: funciones del equipo médico ---------- */

.investigacion-feature-card {
	background: #fff;
	border: 1px solid var(--hr-line);
	border-radius: 8px;
	padding: 32px 28px;
	height: 100%;
	text-align: center;
	transition: box-shadow .2s ease-in-out, transform .2s ease-in-out;
}

	.investigacion-feature-card:hover {
		box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
		transform: translateY(-3px);
	}

	.investigacion-feature-card h4 {
		font-size: 15px;
		font-weight: 700;
		color: var(--hr-green-deep);
		margin-bottom: 10px;
	}

	.investigacion-feature-card p {
		font-size: 14px;
		line-height: 1.8;
		color: var(--hr-text-soft);
		margin-bottom: 0;
	}

.investigacion-feature-icon {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--hr-green-light);
	color: var(--hr-green);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 18px auto;
	font-size: 22px;
}

.investigacion-cta-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 14px;
}


/* ---------- Responsive ---------- */

@media (max-width: 991px) {
	.hr-section {
		padding: 110px 0;
	}

	.hr-head-center {
		margin-bottom: 60px;
	}
}

@media (max-width: 767px) {
	.hr-section {
		padding: 80px 0;
	}

	.hr-section-title {
		font-size: 26px;
	}
}
