a { color: inherit; text-decoration: none; }

.color-one-text { color: var(--ink) !important; font-weight: 400; }

/* Los títulos de sección usan un solo color; el énfasis lo da la tipografía */
.dark-text, .blue-text { color: inherit; }
.white-text { color: white; }

/*****  DATOS DEL DOCTOR (HERO)  *****/
#doctor-data {
	position: relative;
	overflow: hidden;
	background-color: var(--blush);
}

#name-doctor {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
	align-items: center;
	gap: 56px;
	width: 92%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 68px 0 80px;
}

#doctor-info { order: 1; max-width: 600px; }

.title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(34px, 4vw, 48px);
	font-weight: 500;
	line-height: 1.1;
	letter-spacing: -0.015em;
	color: var(--ink);
}

#doctor-info > h1.title {
	font-size: clamp(46px, 6vw, 76px);
	line-height: 1;
	letter-spacing: -0.025em;
	font-variation-settings: "opsz" 144;
}

.subtitle {
	font-size: 17px;
	color: var(--text);
	line-height: 1.6;
	margin: 14px 0 0;
}

#doctor-info > p { margin: 0; }

#doctor-info > p.hero-lead {
	margin-top: 18px;
	font-family: var(--font-display);
	font-size: clamp(24px, 2.6vw, 32px);
	line-height: 1.2;
	color: var(--primary-ink);
	font-weight: 400;
}

#doctor-info > p.hero-sub {
	margin-top: 18px;
	font-size: 18px;
	line-height: 1.65;
	max-width: 46ch;
}

#hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

#hero-actions a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 30px;
	border-radius: 999px;
	font-size: 16px;
	font-weight: 600;
	transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s;
}

.btn-primary { background-color: var(--primary); color: white; border: 1.5px solid var(--primary); }
.btn-primary:hover { background-color: var(--primary-hover); border-color: var(--primary-hover); box-shadow: var(--shadow-soft); }

.btn-secondary { background-color: transparent; color: var(--primary-ink); border: 1.5px solid var(--primary); }
.btn-secondary:hover { background-color: var(--blush-2); }

.hero-facts {
	list-style: none;
	margin: 36px 0 0;
	padding: 24px 0 0;
	border-top: 1px solid var(--blush-2);
	display: grid;
	gap: 12px;
	font-size: 15px;
	color: var(--ink);
}

.hero-facts li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.45; }
.hero-facts img { width: 22px; height: 22px; flex: none; margin-top: 1px; }

.hero-cedulas { margin: 20px 0 0 !important; font-size: 13.5px; color: var(--gray); line-height: 1.6; }
.hero-cedulas span { display: inline-block; margin-right: 18px; }

/* Marco en arco: aquí va la foto de la doctora (ver comentario en index.html) */
#doctor-photo {
	order: 2;
	position: relative;
	justify-self: end;
	width: 100%;
	max-width: 380px;
}

#doctor-photo::before {
	content: "";
	position: absolute;
	inset: 0;
	border: 1.5px solid var(--pink);
	border-radius: 50% 50% 26px 26px / 36% 36% 26px 26px;
	transform: translate(18px, 18px);
}

#doctor-photo > svg, #doctor-photo > img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	object-position: center top;
	border-radius: 50% 50% 26px 26px / 36% 36% 26px 26px;
	background-color: var(--blush-2);
}

#doctor-photo .figure-art { color: var(--pink); }

#networks-mobile { display: none; }
/*****  FIN DATOS DEL DOCTOR  *****/


@media only screen and (max-width: 767px) {
	#name-doctor {
		grid-template-columns: 1fr;
		gap: 34px;
		padding: 34px 0 56px;
		text-align: center;
	}

	#doctor-photo { order: 1; justify-self: center; max-width: 240px; }
	#doctor-photo::before { transform: translate(12px, 12px); }
	#doctor-info { order: 2; margin: 0 auto; }
	#doctor-info > p.hero-sub { margin-left: auto; margin-right: auto; font-size: 16px; }
	#hero-actions { justify-content: center; }
	#hero-actions a { flex: 1 1 200px; }
	.hero-facts { justify-items: center; text-align: left; }
	.hero-facts li { max-width: 320px; }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
	#name-doctor { gap: 36px; padding: 48px 0 64px; }
	#doctor-photo { max-width: 300px; }
}
