/**
 * CONEXIÓN SALUD
 * Asociación Sindical de Profesionales de la Salud
 * Diseño: Profesional, Limpio, Moderno
 * Responsive: Mobile First 100%
 */

/* ===========================================
   VARIABLES Y CONFIGURACIÓN
=========================================== */
:root {
	/* Colores */
	--primary: #0545a1;
	--primary-dark: #033679;
	--primary-light: #3366cc;
	--secondary: #2ecc71;
	--accent: #00b4d8;
	
	/* Textos */
	--text-dark: #1a1a1a;
	--text-gray: #555555;
	--text-light: #777777;
	
	/* Fondos */
	--bg-white: #ffffff;
	--bg-light: #f8f9fa;
	--bg-dark: #1a1a1a;
	
	/* Sombras */
	--shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
	--shadow: 0 4px 8px rgba(0,0,0,0.1);
	--shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
	
	/* Bordes */
	--radius: 8px;
	--radius-lg: 12px;
	
	/* Transiciones */
	--transition: 0.3s ease;
}

/* ===========================================
   RESET Y BASE
=========================================== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	line-height: 1.7;
	color: var(--text-dark);
	background-color: var(--bg-white);
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Poppins', sans-serif;
	font-weight: 600;
	line-height: 1.3;
	color: var(--text-dark);
	margin-bottom: 1rem;
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
	margin-bottom: 1rem;
	color: var(--text-gray);
	line-height: 1.8;
	text-align: justify;
}

a {
	color: var(--primary);
	text-decoration: none;
	transition: var(--transition);
}

a:hover {
	color: var(--primary-dark);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul {
	list-style: none;
}

button {
	cursor: pointer;
	border: none;
	outline: none;
	font-family: inherit;
}

/* ===========================================
   UTILIDADES
=========================================== */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

@media (min-width: 768px) {
	.container {
		padding: 0 40px;
	}
}

.section {
	padding: 60px 0;
}

/* Fondo alternado para secciones */
.section.bg-gray {
	background-color: #eef2f6 !important;
	border-top: 1px solid rgba(0, 0, 0, 0.04);
	border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

@media (min-width: 768px) {
	.section {
		padding: 100px 0;
	}
}

.section-title {
	text-align: center;
	margin-bottom: 50px;
}

.section-title h2 {
	position: relative;
	display: inline-block;
	padding-bottom: 15px;
	margin-bottom: 15px;
}

.section-title h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
}

.section-title p {
	max-width: 700px;
	margin: 0 auto;
	font-size: 1.1rem;
	color: var(--text-light);
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 32px;
	font-size: 16px;
	font-weight: 600;
	border-radius: var(--radius);
	transition: all var(--transition);
	cursor: pointer;
	text-decoration: none;
	border: 2px solid transparent;
}

.btn-primary {
	background: var(--primary);
	color: white;
}

.btn-primary:hover {
	background: var(--primary-dark);
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-secondary {
	background: var(--secondary);
	color: white;
}

.btn-secondary:hover {
	background: #27ae60;
	transform: translateY(-2px);
}

.btn-outline {
	background: transparent;
	color: var(--primary);
	border-color: var(--primary);
}

.btn-outline:hover {
	background: var(--primary);
	color: white;
}

.btn-white {
	background: white;
	color: var(--primary);
}

.btn-white:hover {
	background: var(--bg-light);
}

/* ===========================================
   PRELOADER
=========================================== */
#preloader {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
}

#preloader.fade-out {
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.5s;
}

.loader {
	width: 50px;
	height: 50px;
	border: 4px solid var(--bg-light);
	border-top-color: var(--primary);
	border-radius: 50%;
	animation: spin 0.8s linear infinite;
}

@keyframes spin {
	to { transform: rotate(360deg); }
}

/* ===========================================
   HEADER Y NAVEGACIÓN
=========================================== */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: white;
	box-shadow: var(--shadow-sm);
	transition: all var(--transition);
}

.header.scrolled {
	box-shadow: var(--shadow);
}

.nav {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 15px 20px;
	max-width: 1200px;
	margin: 0 auto;
}

@media (min-width: 768px) {
	.nav {
		padding: 20px 40px;
	}
}

.nav__logo {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--primary);
	z-index: 1001;
}


.nav__logo img {
	height: 64px;
	width: auto;
	transition: transform 0.2s ease;
}

.nav__logo:hover img {
	transform: translateY(-1px) scale(1.01);
}

@media (min-width: 768px) {
	.nav__logo img {
		height: 115px;
	}
}

.nav__toggle {
	display: block;
	font-size: 1.8rem;
	color: var(--text-dark);
	cursor: pointer;
	z-index: 1001;
	background: transparent;
	border: 0;
	padding: 0;
	line-height: 1;
}

@media (min-width: 992px) {
	.nav__toggle {
		display: none;
	}
}

.nav__menu {
	position: fixed;
	top: 0;
	right: -100%;
	width: 300px;
	height: 100vh;
	background: white;
	padding: 100px 30px 30px;
	box-shadow: -5px 0 20px rgba(0,0,0,0.1);
	transition: right var(--transition);
	overflow-y: auto;
	z-index: 1000;
	display: block;
}

.nav__menu.show {
	right: 0;
}

@media (min-width: 992px) {
	.nav__menu {
		position: static;
		right: auto;
		width: auto;
		height: auto;
		padding: 0;
		background: transparent;
		box-shadow: none;
		overflow: visible;
	}
}

.nav__list {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

@media (min-width: 992px) {
	.nav__list {
		flex-direction: row;
		gap: 35px;
		align-items: center;
	}
}

.nav__link {
	font-size: 16px;
	font-weight: 500;
	color: var(--text-gray);
	position: relative;
	transition: color var(--transition);
}

.nav__link:hover,
.nav__link.active {
	color: var(--primary);
}

@media (min-width: 992px) {
	.nav__link::after {
		content: '';
		position: absolute;
		bottom: -5px;
		left: 0;
		width: 0;
		height: 2px;
		background: var(--primary);
		transition: width var(--transition);
	}
	
	.nav__link:hover::after,
	.nav__link.active::after {
		width: 100%;
	}
}

.nav__overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.5);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--transition);
	z-index: 999;
}

.nav__overlay.show {
	opacity: 1;
	pointer-events: all;
}

body.menu-open {
	overflow: hidden;
}

@media (min-width: 992px) {
	.nav__overlay {
		display: none;
	}
}

/* ===========================================
   HERO / BANNER PRINCIPAL CON CARRUSEL
=========================================== */
.hero {
	position: relative;
	overflow: hidden;
	margin-top: 80px;
}

.hero__carousel {
	position: relative;
	height: 100vh;
	width: 100%;
}

.hero__slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1.2s ease-in-out;
	pointer-events: none;
}

.hero__slide.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.hero__slide::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: 
		url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 30m-20 0a20 20 0 1 1 40 0a20 20 0 1 1 -40 0' fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='2'/%3E%3C/svg%3E");
	opacity: 0.3;
	z-index: 1;
}

.hero__slide .container {
	position: relative;
	z-index: 2;
}

.hero__content {
	text-align: center;
	color: white;
	max-width: 900px;
	margin: 0 auto;
	padding: 40px 0;
}

.hero__title {
	font-size: clamp(2rem, 6vw, 3.5rem);
	font-weight: 700;
	color: white;
	margin-bottom: 20px;
	line-height: 1.2;
	animation: fadeInUp 0.8s ease-out;
}

.hero__subtitle {
	font-size: clamp(1rem, 3vw, 1.3rem);
	color: rgba(255,255,255,0.95);
	margin-bottom: 35px;
	line-height: 1.6;
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
	justify-content: center;
	animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* Controles del Carrusel */
.hero__control {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(10px);
	color: white;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	cursor: pointer;
	transition: all var(--transition);
}

.hero__control:hover {
	background: rgba(255, 255, 255, 0.3);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-50%) scale(1.1);
}

.hero__control--prev {
	left: 20px;
}

.hero__control--next {
	right: 20px;
}

@media (max-width: 768px) {
	.hero__control {
		width: 40px;
		height: 40px;
		font-size: 1.4rem;
	}
	
	.hero__control--prev {
		left: 10px;
	}
	
	.hero__control--next {
		right: 10px;
	}
}

/* Indicadores del Carrusel */
.hero__indicators {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 12px;
	z-index: 10;
}

.hero__indicator {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.4);
	border: 2px solid rgba(255, 255, 255, 0.6);
	cursor: pointer;
	transition: all var(--transition);
	padding: 0;
}

.hero__indicator:hover {
	background: rgba(255, 255, 255, 0.6);
	transform: scale(1.2);
}

.hero__indicator.active {
	background: white;
	width: 32px;
	border-radius: 6px;
}

/* Estadísticas */
.hero__stats-wrapper {
	background: white;
	padding: 40px 0;
	box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
	position: relative;
	z-index: 5;
}

.hero__stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 30px;
}

.stat {
	text-align: center;
}

.stat__number {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--primary);
	display: block;
	margin-bottom: 8px;
}

.stat__label {
	font-size: 0.9rem;
	color: var(--text-gray);
	text-transform: uppercase;
	letter-spacing: 1px;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===========================================
   SECCIÓN: QUIÉNES SOMOS
=========================================== */
.about {
	background: white;
}

.about__grid {
	display: grid;
	gap: 40px;
	align-items: center;
}

@media (min-width: 992px) {
	.about__grid {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}
}

.about__image {
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
}

.about__image img {
	width: 100%;
	height: auto;
	object-fit: cover;
	transition: transform 0.5s;
}

.about__image:hover img {
	transform: scale(1.05);
}

.about__content h2 {
	color: var(--primary);
	margin-bottom: 20px;
}

.about__content h3 {
	color: var(--text-dark);
	font-size: 1.3rem;
	margin-top: 25px;
	margin-bottom: 15px;
}

.about__content p {
	margin-bottom: 15px;
}

/* Valores Corporativos */
.values-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 30px;
}

.value-card {
	background: var(--bg-light);
	padding: 25px;
	border-radius: var(--radius);
	border: 1px solid #e0e0e0;
	transition: all var(--transition);
}

.value-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: var(--primary);
}

.value-card__icon {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: white;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	margin-bottom: 15px;
}

.value-card__title {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 10px;
}

.value-card__description {
	font-size: 0.95rem;
	color: var(--text-gray);
	line-height: 1.6;
	margin: 0;
}

/* ===========================================
   SECCIÓN: SERVICIOS
=========================================== */
/* Categorías de Servicios */
.services__categories {
	margin-bottom: 50px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.category-selector {
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.category-card {
	background: white;
	border-radius: 8px;
	padding: 30px;
	border: 1px solid #e0e0e0;
	transition: all var(--transition);
}

.category-card:hover {
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	border-color: var(--primary);
}

.category-header {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	margin-bottom: 20px;
}

.category-card .category-icon {
	width: 50px;
	height: 50px;
	min-width: 50px;
	background: #f5f5f5;
	color: var(--text-dark);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.8rem;
	transition: all var(--transition);
}

.category-card:hover .category-icon {
	background: var(--primary);
	color: white;
}

.category-info {
	flex: 1;
}

.category-card h3 {
	font-size: 1.3rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0 0 8px 0;
	letter-spacing: 0.5px;
}

.category-card p {
	font-size: 0.95rem;
	color: #666;
	margin: 0;
	line-height: 1.5;
}

.btn-servicios {
	background: transparent;
	color: var(--primary);
	border: 2px solid var(--primary);
	padding: 10px 24px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.95rem;
	transition: all var(--transition);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.btn-servicios:hover {
	background: var(--primary);
	color: white;
}

.btn-servicios i {
	font-size: 1.1rem;
	transition: transform 0.3s;
}

.btn-servicios:hover i {
	transform: translateX(4px);
}

/* Lista de Servicios */
.services__list-container {
	max-width: 900px;
	margin: 0 auto;
	animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.services__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #e0e0e0;
	flex-wrap: wrap;
	gap: 15px;
}

.btn-back {
	background: white;
	color: var(--primary);
	border: 2px solid var(--primary);
	padding: 10px 20px;
	border-radius: 6px;
	font-weight: 600;
	font-size: 0.9rem;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: all var(--transition);
	cursor: pointer;
}

.btn-back:hover {
	background: var(--primary);
	color: white;
	transform: translateX(-3px);
}

.services__header h3 {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text-dark);
	margin: 0;
}

.services__list {
	display: grid;
	gap: 12px;
}

.service-item {
	display: flex;
	align-items: center;
	gap: 18px;
	background: white;
	padding: 18px 22px;
	border-radius: 8px;
	border: 1px solid #e8e8e8;
	transition: all 0.2s ease;
}

.service-item:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	border-color: var(--primary);
	transform: translateX(3px);
}

.service-item__icon {
	width: 40px;
	height: 40px;
	min-width: 40px;
	background: #f5f5f5;
	color: var(--primary);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all var(--transition);
}

.service-item:hover .service-item__icon {
	background: var(--primary);
	color: white;
	transform: scale(1.05);
}

.service-item__content {
	flex: 1;
}

.service-item__content h4 {
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-dark);
	margin: 0 0 4px 0;
}

.service-item__content p {
	font-size: 0.85rem;
	color: #666;
	line-height: 1.4;
	margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.services__header {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.category-header {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.service-item {
		padding: 15px;
	}
	
	.service-item__icon {
		width: 35px;
		height: 35px;
		min-width: 35px;
		font-size: 1.1rem;
	}
}

/* Mantener estilos antiguos para compatibilidad */
.services__filters {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: center;
	margin-bottom: 50px;
}

.filter-btn {
	padding: 10px 24px;
	background: white;
	color: var(--text-gray);
	border: 2px solid #e0e0e0;
	border-radius: 50px;
	font-size: 0.95rem;
	font-weight: 500;
	transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
	background: var(--primary);
	color: white;
	border-color: var(--primary);
	transform: translateY(-2px);
}

.services__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 25px;
}

.service-card {
	background: white;
	border-radius: var(--radius-lg);
	padding: 30px;
	border: 1px solid #e0e0e0;
	transition: all var(--transition);
	text-align: center;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary);
}

.service-card__icon {
	width: 55px;
	height: 55px;
	background: linear-gradient(135deg, #e3f2fd, var(--accent));
	color: var(--primary);
	border-radius: var(--radius-lg);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.6rem;
	margin: 0 auto 20px;
	transition: all var(--transition);
}

.service-card:hover .service-card__icon {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: white;
	transform: rotate(5deg) scale(1.1);
}

.service-card__title {
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 12px;
}

.service-card__description {
	font-size: 0.95rem;
	color: var(--text-light);
	line-height: 1.6;
	margin: 0;
}

/* ===========================================
   SECCIÓN: EQUIPO
=========================================== */
.team {
	background: white;
}

.team__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 30px;
}

.team-member {
	background: white;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: all var(--transition);
	border: 1px solid #e0e0e0;
}

.team-member:hover {
	transform: translateY(-10px);
	box-shadow: var(--shadow-lg);
}

.team-member__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1;
	background: linear-gradient(135deg, #e3f2fd, var(--accent));
}

.team-member__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.team-member:hover .team-member__image img {
	transform: scale(1.1);
}

.team-member__content {
	padding: 25px;
	text-align: center;
}

.team-member__name {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.team-member__role {
	font-size: 0.95rem;
	color: var(--primary);
	font-weight: 500;
	margin-bottom: 12px;
}

.team-member__specialty {
	font-size: 0.9rem;
	color: var(--text-light);
	margin-bottom: 15px;
}

.team-member__social {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.social-link {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--bg-light);
	color: var(--text-gray);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	transition: all var(--transition);
}

.social-link:hover {
	background: var(--primary);
	color: white;
	transform: translateY(-3px);
}

/* ===========================================
   SECCIÓN: BLOG
=========================================== */
.blog {
	background: var(--bg-light);
}

.blog__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
}

.blog-card {
	background: white;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow);
	transition: all var(--transition);
	border: 1px solid #e0e0e0;
}

.blog-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-lg);
}

.blog-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, #e3f2fd, var(--accent));
}

.blog-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s;
}

.blog-card:hover .blog-card__image img {
	transform: scale(1.1);
}

.blog-card__badge {
	position: absolute;
	top: 15px;
	left: 15px;
	background: var(--primary);
	color: white;
	padding: 6px 15px;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
}

.blog-card__content {
	padding: 25px;
}

.blog-card__meta {
	display: flex;
	gap: 15px;
	margin-bottom: 15px;
	font-size: 0.85rem;
	color: var(--text-light);
}

.blog-card__title {
	font-size: 1.3rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 12px;
	line-height: 1.4;
}

.blog-card__title a {
	color: inherit;
	transition: color var(--transition);
}

.blog-card__title a:hover {
	color: var(--primary);
}

.blog-card__excerpt {
	font-size: 0.95rem;
	color: var(--text-gray);
	line-height: 1.6;
	margin-bottom: 15px;
}

.blog-card__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--primary);
	font-weight: 600;
	font-size: 0.95rem;
	transition: gap var(--transition);
}

.blog-card__link:hover {
	gap: 12px;
}

/* ===========================================
   SECCIÓN: TESTIMONIOS
=========================================== */
.testimonials__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	gap: 30px;
	margin-bottom: 60px;
}

.testimonial-card {
	background: var(--bg-light);
	padding: 30px;
	border-radius: var(--radius-lg);
	border: 1px solid #e0e0e0;
	position: relative;
	transition: all var(--transition);
}

.testimonial-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow-lg);
	border-color: var(--primary);
}

.testimonial-card__quote {
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 3rem;
	color: var(--primary);
	opacity: 0.2;
	line-height: 1;
}

.testimonial-card__content {
	margin-top: 30px;
	margin-bottom: 20px;
}

.testimonial-card__text {
	font-size: 1rem;
	color: var(--text-gray);
	line-height: 1.8;
	font-style: italic;
	margin: 0;
}

.testimonial-card__author {
	display: flex;
	align-items: center;
	gap: 15px;
}

.testimonial-card__avatar {
	width: 55px;
	height: 55px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid var(--primary);
	flex-shrink: 0;
}

.testimonial-card__avatar img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.testimonial-card__info h4 {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 5px;
}

.testimonial-card__info p {
	font-size: 0.9rem;
	color: var(--text-light);
	margin: 0;
}

.testimonial-card__rating {
	display: flex;
	gap: 4px;
	color: #fbbf24;
	font-size: 0.95rem;
	margin-top: 8px;
}

/* Hospitales Aliados */
.partners {
	margin-top: 60px;
	padding-top: 60px;
	border-top: 2px solid #e0e0e0;
}

.partners h3 {
	text-align: center;
	color: var(--text-dark);
	margin-bottom: 40px;
	font-size: 1.8rem;
}

.partners__grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 25px;
}

.partner-card {
	background: white;
	padding: 25px;
	border-radius: var(--radius);
	border: 1px solid #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all var(--transition);
	min-height: 120px;
}

.partner-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--shadow);
	border-color: var(--primary);
}

.partner-card img {
	max-width: 100%;
	max-height: 60px;
	object-fit: contain;
	filter: grayscale(100%);
	opacity: 0.6;
	transition: all var(--transition);
}

.partner-card:hover img {
	filter: grayscale(0%);
	opacity: 1;
}

/* ===========================================
   SECCIÓN: FAQ
=========================================== */

.faq__categoria {
	margin-top: 30px;
	margin-bottom: 10px;
}

.faq__categoria-titulo {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--text-dark);
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.faq__categoria-titulo::before {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	display: inline-block;
}
.faq {
	background: var(--bg-light);
}

.faq__container {
	max-width: 900px;
	margin: 0 auto;
}

.faq__item {
	background: white;
	border-radius: var(--radius);
	margin-bottom: 15px;
	border: 1px solid #e0e0e0;
	overflow: hidden;
	transition: all var(--transition);
}

.faq__item:hover {
	box-shadow: var(--shadow);
}

.faq__question {
	width: 100%;
	padding: 20px 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
	background: transparent;
	text-align: left;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--text-dark);
	cursor: pointer;
	transition: all var(--transition);
}

.faq__question:hover {
	color: var(--primary);
}

.faq__question i {
	font-size: 1.3rem;
	color: var(--primary);
	transition: transform var(--transition);
	flex-shrink: 0;
}

.faq__item.active .faq__question {
	color: var(--primary);
}

.faq__item.active .faq__question i {
	transform: rotate(180deg);
}

.faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
}

.faq__item.active .faq__answer {
	max-height: 2000px;
}

.faq__answer-content {
	padding: 0 25px 20px;
	font-size: 1rem;
	color: var(--text-gray);
	line-height: 1.8;
}

/* ===========================================
   SECCIÓN: CONTACTO
=========================================== */
.contact__grid {
	display: grid;
	gap: 40px;
}

@media (min-width: 992px) {
	.contact__grid {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
	}
}

.contact-info {
	display: grid;
	gap: 20px;
}

.contact-info__item {
	display: flex;
	gap: 20px;
	padding: 25px;
	background: var(--bg-light);
	border-radius: var(--radius);
	border: 1px solid #e0e0e0;
	transition: all var(--transition);
}

.contact-info__item:hover {
	transform: translateX(10px);
	border-color: var(--primary);
	box-shadow: var(--shadow);
}

.contact-info__icon {
	width: 55px;
	height: 55px;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	color: white;
	border-radius: var(--radius);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.5rem;
	flex-shrink: 0;
}

.contact-info__content h4 {
	font-size: 1.15rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.contact-info__content p {
	font-size: 0.95rem;
	color: var(--text-gray);
	margin: 0;
	line-height: 1.6;
}

.contact-info__content a {
	color: var(--primary);
	font-weight: 500;
}

.contact-form {
	background: var(--bg-light);
	padding: 35px;
	border-radius: var(--radius-lg);
	border: 1px solid #e0e0e0;
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.form-input,
.form-textarea {
	width: 100%;
	padding: 14px 18px;
	font-size: 1rem;
	font-family: inherit;
	color: var(--text-dark);
	background: white;
	border: 2px solid #e0e0e0;
	border-radius: var(--radius);
	transition: all var(--transition);
}

.form-input:focus,
.form-textarea:focus {
	outline: none;
	border-color: var(--primary);
	box-shadow: 0 0 0 4px rgba(5, 69, 161, 0.1);
}

.form-textarea {
	resize: vertical;
	min-height: 140px;
}

.btn-submit {
	width: 100%;
	padding: 16px;
	font-size: 1.05rem;
	font-weight: 600;
	color: white;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	border: none;
	border-radius: var(--radius);
	cursor: pointer;
	transition: all var(--transition);
}

.btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
}

.btn-submit:active {
	transform: translateY(0);
}

.contact__map {
	margin-top: 50px;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-lg);
	height: 450px;
}

.contact__map iframe {
	width: 100%;
	height: 100%;
	border: none;
}

/* ===========================================
   FOOTER
=========================================== */
.footer {
	background: var(--bg-dark);
	color: #ffffff;
	padding: 60px 0 30px;
}

.footer__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer__column h4 {
	color: white;
	font-size: 1.2rem;
	margin-bottom: 20px;
}

.footer__column p {
	font-size: 0.95rem;
	line-height: 1.8;
	margin-bottom: 15px;
	color: #ffffff;
}

.footer__links {
	list-style: none;
}

.footer__links li {
	margin-bottom: 12px;
}

.footer__links a {
	color: #ffffff;
	font-size: 0.95rem;
	transition: color var(--transition);
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer__links a:hover {
	color: #ffffff;
	padding-left: 5px;
}

.footer__links a i {
	font-size: 0.8rem;
}

.footer__social {
	display: flex;
	gap: 12px;
	margin-top: 20px;
}

.footer__social a {
	width: 42px;
	height: 42px;
	background: rgba(255,255,255,0.1);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.2rem;
	transition: all var(--transition);
}

.footer__social a:hover {
	background: var(--primary);
	transform: translateY(-3px);
}

.footer__bottom {
	padding-top: 30px;
	border-top: 1px solid rgba(255,255,255,0.1);
	text-align: center;
}

.footer__bottom p {
	font-size: 0.9rem;
	color: #ffffff;
	margin: 0;
}

/* ===========================================
   BOTÓN WHATSAPP FLOTANTE
=========================================== */
.whatsapp-float {
	position: fixed;
	bottom: 25px;
	right: 25px;
	z-index: 1000;
}

.whatsapp-btn {
	width: 60px;
	height: 60px;
	background: linear-gradient(135deg, #25d366, #128c7e);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	box-shadow: var(--shadow-lg);
	transition: all var(--transition);
	animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
	transform: scale(1.1);
}

@keyframes pulse-whatsapp {
	0%, 100% {
		box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
	}
	50% {
		box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
	}
}

/* ===========================================
   SCROLL TO TOP
=========================================== */
.scroll-top {
	position: fixed;
	bottom: 25px;
	left: 25px;
	width: 48px;
	height: 48px;
	background: var(--primary);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	opacity: 0;
	pointer-events: none;
	transition: all var(--transition);
	z-index: 1000;
	box-shadow: var(--shadow);
}

.scroll-top.show {
	opacity: 1;
	pointer-events: all;
}

.scroll-top:hover {
	background: var(--primary-dark);
	transform: translateY(-5px);
}

/* ===========================================
   ALERTAS Y MENSAJES
=========================================== */
.alert {
	padding: 15px 20px;
	border-radius: var(--radius);
	margin-bottom: 20px;
	font-size: 0.95rem;
	border: 1px solid transparent;
}

.alert-success {
	background: #d4edda;
	color: #155724;
	border-color: #c3e6cb;
}

.alert-error {
	background: #f8d7da;
	color: #721c24;
	border-color: #f5c6cb;
}

.alert-info {
	background: #d1ecf1;
	color: #0c5460;
	border-color: #bee5eb;
}

/* ===========================================
   RESPONSIVE ADICIONAL
=========================================== */
@media (max-width: 575px) {
	.hero {
		min-height: 90vh;
	}
	
	.section {
		padding: 50px 0;
	}
	
	.hero__stats {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ===========================================
   ACCESIBILIDAD
=========================================== */
:focus-visible {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border-width: 0;
}

/* ===========================================
   FIN DEL ARCHIVO CSS
=========================================== */
