/* --- BASE --- */
:root{
	--white: #FFFFFF;
	--grey1: #CCCCCC;
	--grey: #4D4D4D;
  --grey60: #4D4D4D99;
  --grey70: #4D4D4DB3;
  --grey80: #4D4D4DCC;
  --grey90: #4D4D4DE6;
	--lblue: #5D9BBD;
	--black: #1A1A1A;
	--lblue-hover: #2B6A8C;
	--green: #25D366;
	--green-hover: #1EBE5D;
	--red: #B60718;
	--red-hover: #700E17;
	--shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
	--transition: all 0.3s ease;
}

*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Montserrat', sans-serif;
}

html{
	scroll-behavior: smooth;
}

body{
	background-color: var(--white);
	color: var(--black);
	line-height: 1.6;
}

/* --- NAVIGATION --- */
.navbar{
	position: fixed;
	top: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(5px);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.2rem 8%;
	box-shadow: 0 2px 15px rgba(0,0,0,0.05);
	z-index: 1000;
}

.logo{
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--black);
	display: flex;
	align-items: center;
	gap: 10px;
}
.img-logo{
	width: 1.5rem;
}

.logo i{
	color: var(--lblue);
}

.nav-links{
	display: flex;
	list-style: none;
	gap: 2rem;
}

.nav-links a{
	text-decoration: none;
	color: var(--black);
	font-weight: 500;
	transition: var(--transition);
}

.nav-links a:hover{
	color: var(--lblue);
}

/* --- HERO SECTION --- */
.hero{
	padding: 180px 8% 100px;
	background: linear-gradient(135deg, var(--white) 0%, var(--grey1) 100%);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
}

.hero-content{
	max-width: 600px;
}

.tagline{
	display: inline-block;
	background-color: rgba(0, 168, 232, 0.1);
	color: var(--lblue);
	padding: 6px 16px;
	border-radius: 20px;
	font-weight: 600;
	font-size: 0.85rem;
	margin-bottom: 1.5rem;
}

.hero h1{
	font-size: 2.8rem;
	line-height: 1.2;
	margin-bottom: 1.5rem;
	color: var(--black);
}

.hero h1 span{
	color: var(--lblue);
}

.hero p{
	color: var(--grey);
	font-size: 1.1rem;
	margin-bottom: 2rem;
}

.hero-image{
	display: flex;
	width: 45%;
	border-radius: 16px;
	border: 1px solid var(--lblue);
	overflow: hidden;
	box-shadow: var(--shadow);
}
.hero-image img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 1s ease;
}
.hero-image:hover img{
	transform: scale(1.2);
}

/* --- WHATSAPP BUTTONS --- */
.btn-whatsapp{
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background-color: var(--green);
	color: var(--white);
	padding: 14px 28px;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
	transition: var(--transition);
}

.btn-whatsapp:hover{
	background-color: var(--green-hover);
	transform: translateY(-3px);
	box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-float{
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 30px;
	right: 30px;
	background-color: var(--green);
	color: var(--white);
	border-radius: 50px;
	text-align: center;
	font-size: 32px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	z-index: 9999;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: var(--transition);
}

.whatsapp-float:hover{
	background-color: var(--green-hover);
	transform: scale(1.1) translateY(-5px);
	box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

/* --- COMMON SECTIONS --- */
section{
	padding: 80px 8%;
	opacity: 0;
	transform: translateY(30px);
	transition: all 0.8s ease-out;
}

section.visible{
	opacity: 1;
	transform: translateY(0);
}

.section-header{
	text-align: center;
	margin-bottom: 50px;
}

.section-header h2{
	font-size: 2.2rem;
	color: var(--black);
	margin-bottom: 10px;
}

.section-header p{
	color: var(--grey);
}

.linea-decorativa{
	width: 60px;
	height: 4px;
	background-color: var(--lblue);
	margin: 15px auto 0;
	border-radius: 2px;
}

/* --- SERVICES --- */
.services-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
}

.service-card{
	background: var(--white);
	padding: 35px 25px;
	border-radius: 12px;
	border: 1px solid #E2E8F0;
	transition: var(--transition);
}

.service-card:hover{
	transform: translateY(-8px);
	border-color: var(--lblue);
	box-shadow: var(--shadow);
}

.service-card i{
	font-size: 2.5rem;
	color: var(--lblue);
	margin-bottom: 20px;
}

.service-card h3{
	font-size: 1.3rem;
	margin-bottom: 12px;
}

.service-card p{
	color: var(--grey);
	font-size: 0.95rem;
}

/* --- MEDICAL INSURANCE --- */
.med-insurances{
	background-color: var(--grey1);
}

.logos-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
	gap: 30px;
	align-items: center;
}

.logo-box{
	background: var(--white);
	padding: 20px;
	border-radius: 8px;
	text-align: center;
	font-weight: 700;
	color: var(--grey);
	box-shadow: 0 2px 8px rgba(0,0,0,0.03);
	filter: grayscale(100%);
	opacity: 0.7;
	transition: var(--transition);
}

.logo-box:hover{
	filter: grayscale(0%);
	opacity: 1;
	transform: scale(1.05);
	color: var(--lblue);
}

/* --- TO PATIENTS --- */
.indicaciones-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.indicacion-card{
	background: var(--white);
	border-radius: 12px;
	padding: 30px;
	border-left: 5px solid var(--lblue);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.indicacion-content h3{
	margin-bottom: 10px;
	font-size: 1.2rem;
}

.indicacion-content p{
	color: var(--grey);
	font-size: 0.95rem;
	margin-bottom: 20px;
}

.btn-download{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background-color: transparent;
	color: var(--red);
	border: 2px solid var(--red);
	padding: 10px 18px;
	border-radius: 6px;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	transition: var(--transition);
	cursor: pointer;
}

.btn-download:hover{
	background-color: var(--red);
	color: var(--white);
}

/* --- IMAGE GALLERY --- */
.gallery-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 20px;
}

.gallery-item{
	position: relative;
	border-radius: 10px;
	overflow: hidden;
	height: 220px;
	box-shadow: var(--shadow);
}

.gallery-item img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: var(--transition);
}

.gallery-item:hover img{
	transform: scale(1.08);
}

/* --- FOOTER --- */
footer{
	background-color: var(--black);
	color: var(--white);
	padding: 70px 8% 20px;
}

.footer-grid{
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 50px;
}

.footer-col h4{
	font-size: 1.2rem;
	margin-bottom: 20px;
	position: relative;
}

.footer-col h4::after{
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 30px;
	height: 3px;
	background-color: var(--lblue);
}

.footer-col p, .footer-col ul{
	color: #A0AEC0;
	font-size: 0.95rem;
	list-style: none;
}

.footer-col ul li{
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer-col ul li i{
	color: var(--lblue);
}

.social-links{
	display: flex;
	gap: 15px;
	margin-top: 15px;
}

.social-btn{
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: rgba(255,255,255,0.1);
	color: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	transition: var(--transition);
}

.social-btn:hover{
	background-color: var(--lblue);
	transform: translateY(-3px);
}

.social-btn.ws:hover{
	background-color: var(--green);
}

.footer-bottom{
	text-align: center;
	padding-top: 25px;
	border-top: 1px solid rgba(255,255,255,0.1);
	color: #A0AEC0;
	font-size: 0.85rem;
}

/* --- PHONE WIDTH --- */
/* ----------------------------------------------------------- */
@media( max-width: 768px ){
	.navbar{
		padding: 1rem 5%;
 	}
	.nav-links{
		display: none;
 	}
	.hero{
		flex-direction: column;
	 	padding-top: 130px;
	 	text-align: center;
 	}
	.hero-image{
		width: 100%;
 	}
	.btn{
		width: 100%;
		justify-content: center;
 	}
	section{
		padding: 60px 5%;
 	}
	.whatsapp-float{
			width: 50px;
			height: 50px;
			font-size: 26px;
			bottom: 20px;
			right: 20px;
	}
}
