/* Reset y configuración base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* Colores pastel */
	--primary-color: #FFB6C1; /* Rosa pastel */
	--secondary-color: #E6E6FA; /* Lavanda */
	--accent-color: #98FB98; /* Verde menta */
	--soft-blue: #B0E0E6; /* Azul polvo */
	--soft-yellow: #FFFFE0; /* Amarillo crema */
	--soft-peach: #FFDAB9; /* Durazno */
	
	/* Colores de texto */
	--text-primary: #4A4A4A;
	--text-secondary: #6B6B6B;
	--text-light: #8A8A8A;
	--white: #FFFFFF;
	
	/* Sombras suaves */
	--shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
	--shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
	
	/* Fuentes */
	--font-family: 'Poppins', sans-serif;
	
	/* Espaciado */
	--container-padding: 2rem;
	--section-padding: 4rem 0;
}

body {
	font-family: var(--font-family);
	line-height: 1.6;
	color: var(--text-primary);
	overflow-x: hidden;
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 var(--container-padding);
}

/* Header y Navegación */
.header {
	position: fixed;
	top: 0;
	width: 100%;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	z-index: 1000;
	box-shadow: var(--shadow-light);
}

.nav-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 70px;
}

.nav-logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--primary-color);
}

.nav-logo i {
	font-size: 2rem;
}

.nav-menu {
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-link {
	text-decoration: none;
	color: var(--text-primary);
	font-weight: 500;
	transition: color 0.3s ease;
	position: relative;
}

.nav-link:hover {
	color: var(--primary-color);
}

/* Estilo especial para el enlace de login */
.nav-link.login-link {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-weight: 600;
	transition: all 0.3s ease;
}

.nav-link.login-link:hover {
	color: white;
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(255, 182, 193, 0.4);
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--primary-color);
	transition: width 0.3s ease;
}

.nav-link:hover::after {
	width: 100%;
}

.nav-toggle {
	display: none;
	flex-direction: column;
	cursor: pointer;
	gap: 4px;
}

.nav-toggle span {
	width: 25px;
	height: 3px;
	background: var(--text-primary);
	transition: 0.3s;
}

/* Hero Section */
.hero {
	padding: 120px 0 80px;
	background: linear-gradient(135deg, var(--soft-blue) 0%, var(--secondary-color) 100%);
	min-height: 100vh;
	display: flex;
	align-items: center;
}

.hero-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 2rem;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.hero-title {
	font-size: 3rem;
	font-weight: 700;
	color: var(--text-primary);
	margin-bottom: 1rem;
	line-height: 1.2;
}

.hero-subtitle {
	font-size: 1.5rem;
	color: var(--primary-color);
	margin-bottom: 1.5rem;
	font-weight: 500;
}

.hero-description {
	font-size: 1.1rem;
	color: var(--text-secondary);
	margin-bottom: 2rem;
	line-height: 1.7;
}

.hero-buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

.btn {
	padding: 12px 24px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	border: none;
	cursor: pointer;
	font-size: 1rem;
}

.btn-primary {
	background: var(--primary-color);
	color: var(--white);
	box-shadow: var(--shadow-light);
}

.btn-primary:hover {
	background: #FF91A4;
	transform: translateY(-2px);
	box-shadow: var(--shadow-medium);
}

.btn-secondary {
	background: var(--white);
	color: var(--text-primary);
	border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
	background: var(--primary-color);
	color: var(--white);
	transform: translateY(-2px);
}

.hero-image {
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero-illustration {
	width: 300px;
	height: 300px;
	background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-medium);
	animation: float 6s ease-in-out infinite;
}

.hero-icon {
	font-size: 8rem;
	color: var(--white);
}

@keyframes float {
	0%, 100% { transform: translateY(0px); }
	50% { transform: translateY(-20px); }
}

/* Secciones generales */
.section-header {
	text-align: center;
	margin-bottom: 4rem;
}

.section-title {
	font-size: 2.5rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1rem;
}

.section-subtitle {
	font-size: 1.1rem;
	color: var(--text-secondary);
	max-width: 600px;
	margin: 0 auto;
}

/* Acerca de mí */
.about {
	padding: var(--section-padding);
	background: linear-gradient(135deg, var(--soft-peach) 0%, var(--secondary-color) 100%);
}

.about-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.about-content {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.about-text h3 {
	font-size: 2rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1rem;
}

.about-description {
	font-size: 1.1rem;
	color: var(--text-secondary);
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.education-section h4 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.education-section h4 i {
	color: var(--primary-color);
	font-size: 1.5rem;
}

.education-timeline {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.education-item {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
	background: var(--white);
	padding: 1.5rem;
	border-radius: 15px;
	box-shadow: var(--shadow-light);
	transition: transform 0.3s ease;
}

.education-item:hover {
	transform: translateX(10px);
}

.education-year {
	background: var(--primary-color);
	color: var(--white);
	padding: 0.5rem 1rem;
	border-radius: 20px;
	font-weight: 600;
	font-size: 1rem;
	min-width: 60px;
	text-align: center;
}

.education-details h5 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}

.education-details p {
	color: var(--text-secondary);
	margin-bottom: 0.5rem;
	font-weight: 500;
}

.education-location {
	background: var(--accent-color);
	color: var(--text-primary);
	padding: 0.2rem 0.8rem;
	border-radius: 10px;
	font-size: 0.9rem;
	font-weight: 500;
}

.about-image {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.about-illustration {
	width: 250px;
	height: 250px;
	background: linear-gradient(135deg, var(--accent-color), var(--soft-blue));
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow-medium);
	animation: float 6s ease-in-out infinite;
	overflow: hidden;
}

.about-icon {
	font-size: 6rem;
	color: var(--white);
}

.doctor-photo {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%;
	transition: transform 0.3s ease;
}

.doctor-photo:hover {
	transform: scale(1.05);
}

.credentials {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.credential-item {
	background: var(--white);
	padding: 1rem 1.5rem;
	border-radius: 15px;
	display: flex;
	align-items: center;
	gap: 1rem;
	box-shadow: var(--shadow-light);
	transition: all 0.3s ease;
}

.credential-item:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-medium);
}

.credential-item i {
	color: var(--primary-color);
	font-size: 1.2rem;
	width: 20px;
	text-align: center;
}

.credential-item span {
	color: var(--text-primary);
	font-weight: 500;
	font-size: 0.95rem;
}

/* Servicios */
.services {
	padding: var(--section-padding);
	background: var(--white);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}

.service-card {
	background: var(--white);
	padding: 2rem;
	border-radius: 20px;
	text-align: center;
	box-shadow: var(--shadow-light);
	transition: all 0.3s ease;
	border: 1px solid rgba(255, 182, 193, 0.2);
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-medium);
}

.service-card:nth-child(1) { background: linear-gradient(135deg, var(--soft-peach), var(--white)); }
.service-card:nth-child(2) { background: linear-gradient(135deg, var(--secondary-color), var(--white)); }
.service-card:nth-child(3) { background: linear-gradient(135deg, var(--accent-color), var(--white)); }
.service-card:nth-child(4) { background: linear-gradient(135deg, var(--soft-blue), var(--white)); }
.service-card:nth-child(5) { background: linear-gradient(135deg, var(--soft-yellow), var(--white)); }
.service-card:nth-child(6) { background: linear-gradient(135deg, var(--primary-color), var(--white)); }

.service-icon {
	width: 80px;
	height: 80px;
	background: var(--white);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 1.5rem;
	box-shadow: var(--shadow-light);
}

.service-icon i {
	font-size: 2rem;
	color: var(--primary-color);
}

.service-card h3 {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1rem;
}

.service-card p {
	color: var(--text-secondary);
	line-height: 1.6;
}

/* Horarios */
.schedule {
	padding: var(--section-padding);
	background: linear-gradient(135deg, var(--soft-yellow) 0%, var(--soft-peach) 100%);
}

.schedule-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 800px;
	margin: 0 auto;
}

.schedule-card {
	background: var(--white);
	padding: 2rem;
	border-radius: 20px;
	text-align: center;
	box-shadow: var(--shadow-light);
	transition: transform 0.3s ease;
}

.schedule-card:hover {
	transform: translateY(-5px);
}

.schedule-card.closed {
	opacity: 0.7;
}

.schedule-card h3 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
}

.schedule-times {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.time-slot {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 1.1rem;
	color: var(--text-secondary);
}

.time-slot i {
	color: var(--primary-color);
}

/* Contacto */
.contact {
	padding: var(--section-padding);
	background: var(--white);
}

.contact-container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: start;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.contact-item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.contact-icon {
	width: 50px;
	height: 50px;
	background: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.contact-icon i {
	color: var(--white);
	font-size: 1.2rem;
}

.contact-details h3 {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 0.5rem;
}

.contact-details p {
	color: var(--text-secondary);
	line-height: 1.6;
}

.contact-details a {
	color: var(--primary-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

.contact-details a:hover {
	color: #FF91A4;
}

.contact-map {
	background: linear-gradient(135deg, var(--secondary-color), var(--soft-blue));
	padding: 2rem;
	border-radius: 20px;
	box-shadow: var(--shadow-light);
}

.contact-map h3 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 1.5rem;
	text-align: center;
}

.map-container {
	margin-bottom: 15px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.map-description {
	text-align: center;
	color: var(--text-secondary);
	font-style: italic;
	margin: 0;
}

.map-actions {
	text-align: center;
	margin: 20px 0 15px 0;
}

.btn-directions {
	background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 25px;
	font-size: 1rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.btn-directions:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(255, 182, 193, 0.4);
	background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-directions:active {
	transform: translateY(0);
	box-shadow: 0 2px 10px rgba(255, 182, 193, 0.3);
}

/* Footer */
.footer {
	background: var(--text-primary);
	color: var(--white);
	padding: 3rem 0 1rem;
}

.footer-content {
	text-align: center;
	margin-bottom: 2rem;
}

.footer-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.footer-logo i {
	font-size: 2rem;
	color: var(--primary-color);
}

.footer-content p {
	color: #CCCCCC;
	margin-bottom: 1.5rem;
	max-width: 500px;
	margin-left: auto;
	margin-right: auto;
}

.footer-social {
	display: flex;
	justify-content: center;
	gap: 1rem;
}

.footer-social a {
	width: 40px;
	height: 40px;
	background: var(--primary-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	text-decoration: none;
	transition: all 0.3s ease;
}

.footer-social a:hover {
	background: #FF91A4;
	transform: translateY(-2px);
}

.footer-bottom {
	border-top: 1px solid #555;
	padding-top: 1rem;
	text-align: center;
	color: #CCCCCC;
	font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
	:root {
		--container-padding: 1rem;
		--section-padding: 3rem 0;
	}
	
	.nav-menu {
		display: none;
	}
	
	.nav-toggle {
		display: flex;
	}
	
	.hero-container {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}
	
	.hero-title {
		font-size: 2.5rem;
	}
	
	.hero-subtitle {
		font-size: 1.3rem;
	}
	
	.hero-illustration {
		width: 250px;
		height: 250px;
	}
	
	.hero-icon {
		font-size: 6rem;
	}
	
	.section-title {
		font-size: 2rem;
	}
	
	.about-container {
		grid-template-columns: 1fr;
		gap: 2rem;
		text-align: center;
	}
	
	.about-illustration {
		width: 200px;
		height: 200px;
	}
	
	.about-icon {
		font-size: 4rem;
	}
	
	.education-item {
		flex-direction: column;
		text-align: center;
		gap: 1rem;
	}
	
	.services-grid {
		grid-template-columns: 1fr;
	}
	
	.schedule-container {
		grid-template-columns: 1fr;
	}
	
	.contact-container {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
	
	.hero-buttons {
		justify-content: center;
	}
	
	.btn {
		padding: 10px 20px;
		font-size: 0.9rem;
	}
}

@media (max-width: 480px) {
	.hero-title {
		font-size: 2rem;
	}
	
	.hero-subtitle {
		font-size: 1.1rem;
	}
	
	.hero-description {
		font-size: 1rem;
	}
	
	.section-title {
		font-size: 1.8rem;
	}
	
	.service-card,
	.schedule-card,
	.contact-form,
	.about-text,
	.education-section {
		padding: 1.5rem;
	}
	
	.hero-illustration {
		width: 200px;
		height: 200px;
	}
	
	.hero-icon {
		font-size: 4rem;
	}
	
	.about-illustration {
		width: 200px;
		height: 200px;
	}
}

/* Animaciones adicionales */
.service-card,
.schedule-card,
.contact-item {
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===== BOTÓN FLOTANTE DE WHATSAPP ===== */
.floating-whatsapp {
	position: fixed;
	bottom: 100px;
	right: 30px;
	z-index: 1001;
}

.whatsapp-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
	color: white;
	font-size: 28px;
	text-decoration: none;
	box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	transition: all 0.3s ease;
	animation: pulse 2s infinite;
}

.whatsapp-toggle:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 25px rgba(37, 211, 102, 0.6);
	color: white;
	text-decoration: none;
}

@keyframes pulse {
	0% {
		box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	}
	50% {
		box-shadow: 0 4px 20px rgba(37, 211, 102, 0.8);
	}
	100% {
		box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
	}
}