/* Carrusel */
.carousel {
	position: relative;
	background: var(--bg, #f8f9fb);
	border-bottom: 1px solid var(--border, #e5e7eb);
	margin-top: 28px;            /*linea de separacion del header*/
	padding-bottom: 28px;        /*bajar la linea de separacion*/
	/*margin-bottom: 10px;         separacion del carrusel con el siguiente bloque*/
}
.carousel .container {
	position: relative;
	padding: 16px 0;
}
.carousel-track {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,0.1));
	background: #000;
}
.carousel-slide {
	display: none;
}
.carousel-slide.is-active {
	display: block;
}
.carousel-slide img {
	display: block;
	width: 100%;
	height: clamp(280px, 40vw, 520px);
	object-fit: cover;
}

/* Flechas del carrusel numero 1 */
.carousel-btn {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	border: none;
	background: rgba(255,255,255,0.9);
	color: #111827;
	width: 29px;               /*dimensiones de los botones - ancho*/
	height: 29px;              /*dimensiones de los botones - alto*/	
	border-radius: 999px;
	box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,0.1));
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.carousel-btn:hover { background: #fff; }
.carousel-btn.prev { left: 16px; }
.carousel-btn.next { right: 16px; }

@media (max-width: 860px) {
	.carousel .container { padding: 12px 0; }
	.carousel-btn { width: 36px; height: 36px; }
}
:root {
	--bg: #ffffff;
	--bg-soft: #f5f6f7;
	--text: #1a1a1a;
	--text-soft: #4a4a4a;
	--primary: #5a6ec5;                             /*cambiar de color a la barra de menus*/
	--border: #e6e6e6;
	--shadow: 0 8px 24px rgba(0,0,0,0.08);            /*Barra de Redes Sociales cambiar dimenciones */
	/* Tamaños para la barra social */
	--social-size: 60px; /* tamaño del círculo */
	--social-font: 28px; /* tamaño del icono */
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
	margin: 0;
	font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.6;
}

.skip-link {
	position: absolute;
	left: -999px;
	top: -999px;
}
.skip-link:focus {
	left: 16px;
	top: 16px;
	background: #000;
	color: #fff;
	padding: 8px 12px;
	border-radius: 8px;
}

.container {
	width: min(1100px, 92vw);
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 50;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}
.header-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand:visited { color: inherit; }
.brand:hover { color: inherit; text-decoration: none; }
.brand:focus { outline: none; }
.brand-logo { width: 56px; height: 56px; object-fit: contain; }
.brand-link { display: block; text-decoration: none; }
.brand-link:focus { outline: 2px solid #003a70; outline-offset: 2px; }
.brand-text { display: grid; }
.brand-top { font-size: 12px; color: var(--text-soft); letter-spacing: .08em; }
.brand-name { font-weight: 700; font-size: 20px; }

.site-nav .menu {
	list-style: none;
	display: flex;
	gap: 24px;
	margin: 0;
	padding: 0;
}
.site-nav a {
	text-decoration: none;
	color: var(--text);
	font-weight: 600;
}
.site-nav a:hover { color: var(--primary); }

/* Menú desplegable */
.menu-item-dropdown {
	position: relative;
}
.menu-item-dropdown > a {
	display: flex;
	align-items: center;
	gap: 8px;
}
.menu-item-dropdown > a i {
	font-size: 12px;
	transition: transform 0.3s ease;
}
.submenu {
	list-style: none;
	position: absolute;
	top: 100%;
	left: 0;
	background: #fff;
	border: 1px solid var(--border);
	border-radius: 8px;
	box-shadow: 0 8px 16px rgba(0,0,0,0.1);
	padding: 8px 0;
	margin: 8px 0 0;
	min-width: 200px;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 100;
}
.menu-item-dropdown:hover .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}
.menu-item-dropdown:hover > a i {
	transform: rotate(180deg);
}
.submenu li {
	margin: 0;
}
.submenu a {
	display: block;
	padding: 12px 20px;
	color: var(--text);
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: all 0.2s ease;
}
.submenu a:hover {
	background: var(--bg, #f8f9fb);
	color: var(--primary);
	padding-left: 24px;
}

.nav-toggle {
	display: none;
	border: none;
	background: transparent;
	font-size: 22px;
	padding: 8px;
	cursor: pointer;
	color: var(--text);
	transition: color 0.3s ease;
}
.nav-toggle:hover {
	color: var(--primary);
}

/* Media Query para dispositivos móviles y tablets */
@media (max-width: 1024px) {
	.nav-toggle {
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	.site-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--bg);
		border-bottom: 1px solid var(--border);
		padding: 16px 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}
	
	.site-nav.open {
		/* En móviles, el menú ocupa la pantalla disponible y hace scroll */
		position: fixed;
		top: var(--header-h, 80px);
		left: 0;
		right: 0;
		max-height: calc(100dvh - var(--header-h, 80px));
		overflow-y: auto;
		z-index: 1000;
	}
	
	.site-nav .menu {
		flex-direction: column;
		gap: 0;
		padding: 0 16px;
	}
	
	.site-nav .menu > li {
		border-bottom: 1px solid var(--border);
		padding: 12px 0;
	}
	
	.site-nav .menu > li:first-child {
		border-top: none;
	}
	
	.site-nav a {
		display: block;
		padding: 8px 0;
	}
	
	/* Menú desplegable en móviles */
	.menu-item-dropdown > a {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 8px;
	}
	
	.submenu {
		position: static;
		opacity: 0;
		visibility: hidden;
		max-height: 0;
		overflow: hidden;
		background: var(--bg-soft);
		border: none;
		box-shadow: none;
		border-radius: 0;
		margin: 0;
		padding: 0;
		transform: none;
		transition: all 0.3s ease;
		min-width: auto;
	}
	
	.menu-item-dropdown > a i {
		transition: transform 0.3s ease;
	}
	
	.menu-item-dropdown.open .submenu {
		opacity: 1;
		visibility: visible;
		/* permitir submenús largos sin corte */
		max-height: 1000px;
		padding: 8px 0;
		margin: 8px 0;
	}
	
	.menu-item-dropdown.open > a i {
		transform: rotate(180deg);
	}
	
	.submenu li {
		padding: 0;
	}
	
	.submenu a {
		padding: 10px 16px 10px 32px;
	}
	
	.submenu a:hover {
		padding-left: 36px;
	}
}

.section { padding: 48px 0; }
.section h2 { margin: 0 0 12px; }
.section p { margin: 0; color: var(--text-soft); }

.site-footer {
	background: var(--bg);
}
.site-footer .container {
	padding: 48px 0;
}

/* Footer content layout */
.footer-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 32px;
	padding-bottom: 32px;
	margin-bottom: 24px;
}

/* Footer navigation links */
.footer-nav {
	flex: 1;
}
.footer-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
}
.footer-links a {
	text-decoration: none;
	color: var(--text);
	font-size: 18px;             /*cambiar el tamaño de la fuente */
	transition: color 0.3s ease;
}
.footer-links a:hover {
	color: var(--primary);
}

/* Footer social icons */
.footer-social {
	display: flex;
	gap: 14px;
	align-items: center;
}
.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: #f0f0f0;
	color: #1a1a1a;
	text-decoration: none;
	transition: background-color 0.3s ease, color 0.3s ease;
}
.footer-social a:hover {
	background: var(--primary);
	color: #fff;
}
.footer-social i {
	font-size: 20px;/*16*/
}


/* Responsive footer */
@media (max-width: 768px) {
	.footer-content {
		flex-direction: column;
		align-items: flex-start;
		gap: 24px;
	}
	
	.footer-links {
		flex-direction: column;
		gap: 12px;
	}
}

/* Responsive */

.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0,0,0,0);
	border: 0;
}

/* Carrusel de Noticias */
.news-carousel { 
	padding: 2rem 0; 
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}
.news-carousel h2 {
	text-align: left;
	margin-bottom: 1.5rem;
}
.news-carousel .container {
	position: relative;
}
.news-carousel .news-viewport { 
	overflow: hidden;
	position: relative;
	/* Permite desplazar horizontal con gestos sin bloquear el scroll vertical */
	touch-action: pan-y;
}
.news-track { 
	display: flex; 
	gap: 1rem; 
	transition: transform 0.3s ease; 
	will-change: transform; 
	cursor: grab;
	touch-action: pan-y;
}
.news-track.is-dragging {
	cursor: grabbing;
	user-select: none;
}
.news-card { 
	background: #fff; 
	border-radius: 8px; 
	box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
	overflow: hidden; 
	flex: 0 0 calc((100% - 2rem) / 3); 
	display: flex; 
	flex-direction: column;
	margin-bottom: 1rem;
}
.news-card img { 
	width: 100%; 
	height: 140px; 
	object-fit: cover; 
	display: block; 
}
.news-content { 
	padding: 0.75rem 1rem 1rem; 
	flex: 1; 
	display: flex; 
	flex-direction: column; 
}
.news-content time { 
	font-size: 0.85rem; 
	color: #666; 
}
.news-content h3 { 
	margin: 0.4rem 0; 
	font-size: 1rem; 
	line-height: 1.2; 
}
.news-content p { 
	margin: 0; 
	font-size: 0.9rem; 
	color: #444; 
	flex: 1; 
}
.news-link { 
	margin-top: 0.6rem; 
	color: #0066cc; 
	text-decoration: none; 
	font-weight: 600; 
}
.news-link:hover {
	text-decoration: underline;
}
.news-btn { 
	position: absolute; 
	top: 50%; 
	transform: translateY(-50%); 
	background: #fff; 
	color: #000; 
	border: none; 
	width: 20px;        /*20dimenciones de los botones */
	height: 20px; 
	border-radius: 50%; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	cursor: pointer;
	transition: background 200ms ease;
	z-index: 10;
}
.news-btn:hover {
	background: #e6e6e6;
}
.news-btn.prev { 
	left: 0.8rem; 
}
.news-btn.next { 
	right: 0.8rem; 
}
@media (max-width: 900px) { 
	.news-card { 
		flex: 0 0 calc((100% - 1rem) / 2); 
	} 
}
@media (max-width: 560px) { 
	.news-card { 
		flex: 0 0 100%; 
	} 
	.news-btn { 
		display: none; 
	} 
}

/* Paginación (botones) para carrusel de noticias */
.news-pagination {
	display: flex;
	gap: 20px; /*separacion de botones*/
	justify-content: center;
	margin-top: 20px;  
}
.news-dot {
	width: 30px;        /*30-10ancho de los botones de deslizamiento*/
	height: 10px;
	border-radius: 999px;
	background: #d1d5db;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease;
}
.news-dot:focus {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}
.news-dot.active {
	background: #111827;
	transform: scale(1.2);
}
@media (max-width: 560px) {
	.news-pagination { margin-bottom: 8px; gap: 10px; }
	.news-dot { width: 12px; height: 12px; }
}

/* ====== Barra de Redes Sociales ====== */
/* Aumentar solo el icono dentro del botón */

.social-bar {
	position: fixed;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 100;
}

.social-bar nav {
	background: #ffffff;
	border-radius: px;
	padding: 12px 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(10px);
}

.social-links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.social-links li a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: var(--social-size); /* tamaño controlable desde :root */
	height: var(--social-size);
	border-radius: 50%;
	color: #111827;
	font-size: var(--social-font);
	text-decoration: none;
	transition: all 300ms ease;
	background: #f3f4f6;
}

.social-links li a:hover {
	background: #003a70;
	color: #fff;
	transform: scale(1.1);
	box-shadow: 0 4px 12px rgba(0, 58, 112, 0.3);
}

.social-links li a:focus {
	outline: 2px solid #003a70;
	outline-offset: 2px;
}

.social-links li a i {
	font-size: var(--social-font);
	line-height: 1;
}
/* Responsivo: ocultar en pantallas pequeñas */
@media (max-width: 768px) {
	.social-bar {
		right: 10px;
	}
	
	.social-bar nav {
		padding: 10px 6px;
	}
	
	/* Reducir tamaños en pantallas pequeñas */
	:root {
		--social-size: 48px;
		--social-font: 18px;
	}
}

/* ========== CARRUSEL DE VIDEOS ========== */
.videos-carousel { 
	padding: 2rem 0; 
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}
.videos-carousel h2 {
	text-align: left;
	margin-bottom: 1.5rem;
}
.videos-carousel .container {
	position: relative;
}
.videos-carousel .videos-viewport { 
	overflow: hidden;
	position: relative;
}
.videos-track { 
	display: flex; 
	gap: 1rem; 
	transition: transform 400ms ease; 
	will-change: transform; 
}
.video-card { 
	background: #fff; 
	border-radius: 8px; 
	box-shadow: 0 2px 8px rgba(0,0,0,0.08); 
	overflow: hidden; 
	flex: 0 0 calc((100% - 2rem) / 3); 
	display: flex; 
	flex-direction: column;
	margin-bottom: 1rem;
}
.video-container {
	width: 100%;
	height: 180px;
	background: #000;
	position: relative;
	overflow: hidden;
}
.video-container iframe {
	width: 100%;
	height: 100%;
}
.video-content { 
	padding: 0.75rem 1rem 1rem; 
	flex: 1; 
	display: flex; 
	flex-direction: column; 
}
.video-content h3 { 
	margin: 0.4rem 0; 
	font-size: 1rem; 
	line-height: 1.2; 
	font-weight: 600;
}
.videos-btn { 
	position: absolute; 
	top: 50%; 
	transform: translateY(-50%); 
	background: #fff; 
	color: #000; 
	border: none; 
	width: 20px;
	height: 20px; 
	border-radius: 50%; 
	display: flex; 
	align-items: center; 
	justify-content: center; 
	cursor: pointer;
	transition: background 200ms ease;
	z-index: 10;
}
.videos-btn:hover {
	background: #e6e6e6;
}
.videos-btn.prev { 
	left: 0.8rem; 
}
.videos-btn.next { 
	right: 0.8rem; 
}

@media (max-width: 900px) { 
	.video-card { 
		flex: 0 0 calc((100% - 1rem) / 2); 
	} 
}
@media (max-width: 560px) { 
	.video-card { 
		flex: 0 0 100%; 
	} 
	.videos-btn { 
		width: 16px; 
		height: 16px; 
		font-size: 12px; 
	} 
	.video-container {
		height: 150px;
	}
}

/* Paginación de videos */
.videos-pagination {
	display: flex;
	gap: 20px;
	justify-content: center;
	margin-top: 20px;  
}
.videos-dot {
	width: 30px;
	height: 10px;
	border-radius: 999px;
	background: #d1d5db;
	border: none;
	padding: 0;
	cursor: pointer;
	transition: transform 160ms ease, background 160ms ease;
}
.videos-dot:focus {
	outline: 2px solid var(--primary);
	outline-offset: 3px;
}
.videos-dot.active {
	background: #111827;
	transform: scale(1.2);
}
@media (max-width: 560px) {
	.videos-pagination { margin-bottom: 8px; gap: 10px; }
	.videos-dot { width: 12px; height: 12px; }
}

.videos-carousel .video-container{
  height: 200px;       /* usa el alto de tus iframes (314) */
  overflow: hidden;
}
/*corregir el croll de los videos de facebook*/
.videos-carousel .video-container iframe{
  width: 100% !important;
  height: 314px !important;
  display: block;
  border: 0;
}

/* Carrusel de Anuncios */
.announcements-carousel {
	padding: 2rem 0;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
}
.announcements-carousel h2 {
	text-align: left;
	margin-bottom: 1.5rem;
}
.announcements-carousel .container {
	position: relative;
}
.announcements-carousel .announcements-viewport {
	overflow: hidden;
	position: relative;
	border-radius: 8px;
}
.announcements-track {
	display: flex;
	gap: 1rem;
	transition: transform 400ms ease;
	will-change: transform;
}
.announcements-viewport {
	overflow: hidden;
	touch-action: pan-y; /* permite scroll vertical */
}
.announcement-card {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	overflow: hidden;
	flex: 0 0 calc((100% - 2rem) / 3);
	display: flex;
	flex-direction: column;
	margin-bottom: 1rem;
	cursor: pointer;
	transition: transform 0.3s, box-shadow 0.3s;
}
.announcement-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 16px rgba(0,0,0,0.12);
}
.announcement-card img {
	width: 100%;
	height: 350px;                                /*modificar la altura de las tarjetas anuncios*/
	object-fit: cover;
	display: block;
}

.announcements-nav {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 0.75rem;
	margin-top: 1.5rem;
	padding: 0;
}

.announcements-btn {
	width: 16px;
	height: 16px;
	border: none;
	border-radius: 50%;
	background: #d0d0d0;
	cursor: pointer;
	transition: all 300ms ease;
	padding: 0;
	flex-shrink: 0;
}

.announcements-btn.active {
	background: var(--primary);                      /*#131212color botom de desplazamiento */   /*********************************************************/
	width: 40px;
	border-radius: 999px;
}

.announcements-btn:hover:not(.active) {
	background: #a8a8a8;
	transform: scale(1.15);
}

.announcements-btn.active:hover {
	box-shadow: 0 0 8px rgba(90, 110, 197, 0.4);
}

.announcements-pagination {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 1.5rem;
}
.announcement-dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: 2px solid var(--primary);
	background: transparent;
	cursor: pointer;
	transition: all 200ms ease;
	padding: 0;
}
.announcement-dot.active {
	background: var(--primary);
}
.announcement-dot:hover {
	transform: scale(1.2);
}

@media (max-width: 900px) {
	.announcement-card {
		flex: 0 0 calc((100% - 1rem) / 2);
	}
	.announcements-track {
		gap: 0.75rem;
	}
}

@media (max-width: 560px) {
	.announcement-card {
		flex: 0 0 100%;
	}
	.announcements-track {
		gap: 0;
	}
}

/* ========== CARRUSEL TARJETAS MUNICIPALES ========== */
.municipal-carousel {
	padding: 2.5rem 0;
	background: var(--bg);
	border-bottom: 1px solid var(--border);
	margin-top: -30px;
}

.municipal-carousel h2 {
	text-align: left;
	margin-bottom: 1.5rem;
	
}

.municipal-swiper {
	padding: 0;
	margin-bottom: 2rem;
}

.municipal-swiper .swiper-slide {
	height: auto;
	display: flex;
	align-items: center;
	justify-content: center;
}

.municipal-card {
	width: 100%;
	height: clamp(280px, 35vw, 360px);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	color: #fff;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	cursor: pointer;
}

.municipal-card .card-icon {
	font-size: clamp(40px, 6vw, 56px);
	line-height: 1;
}

.municipal-card h3 {
	margin: 0;
	font-size: clamp(16px, 2.5vw, 20px);
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.3;
}

.municipal-card .card-btn {
	margin-top: 12px;
	padding: 10px 20px;
	background: rgba(255, 255, 255, 0.2);
	color: #fff;
	text-decoration: none;
	border-radius: 999px;
	font-weight: 600;
	font-size: 14px;
	transition: background 0.2s ease;
	display: inline-block;
}

.municipal-card .card-btn:hover {
	background: rgba(255, 255, 255, 0.32);
}

/* Colores de tarjetas */                                                   /*calores de tarjetas ******************************************************************/
.card-brown { background: linear-gradient(135deg, #e91102, #c60202); }/*#5d4037, #8d6e63*/
.card-orange { background: linear-gradient(135deg, #ff9800, #f57c00); }/*#ff9800, #f57c00*/
.card-teal { background: linear-gradient(135deg, #009688, #00796b); }
.card-green { background: linear-gradient(135deg, #ca01ee, rgb(133, 2, 189)); }/* #afaf4c, #388e3c*/
.card-blue { background: linear-gradient(135deg, #2196f3, #1976d2); }
.card-red { background: linear-gradient(135deg, #f44336, #d32f2f); }
.card-purple { background: linear-gradient(135deg, #27b09e, #0eb49e); }
.card-yellow { background: linear-gradient(135deg, #3201e4, #2d02c7); }/*#fbc02d, #f57f17*/
.card-gray { background: linear-gradient(135deg, #757575, #424242); }

/* Controles inferiores */
.municipal-controls {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 2rem;
}

.municipal-prev,
.municipal-next {
	border: none;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #fff;
	color: #111827;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	font-size: 18px;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.municipal-prev:hover,
.municipal-next:hover {
	background: #f0f0f0;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
	transform: scale(1.08);
}

.pagination-dots {
	display: flex;
	gap: 12px;
	align-items: center;
}

.dot {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #d1d5db;
	cursor: pointer;
	transition: all 0.3s ease;
}

.dot.active {
	background: #111827;
	width: 32px;
	border-radius: 999px;
}

.dot:hover {
	background: #9ca3af;
}

@media (max-width: 900px) {
	.municipal-controls {
		gap: 1.5rem;
	}
	.municipal-prev,
	.municipal-next {
		width: 40px;
		height: 40px;
		font-size: 16px;
	}
}

@media (max-width: 560px) {
	.municipal-carousel {
		padding: 1.5rem 0;
	}
	.municipal-controls {
		gap: 1rem;
	}
	.municipal-prev,
	.municipal-next {
		width: 36px;
		height: 36px;
		font-size: 14px;
	}
	.pagination-dots {
		gap: 8px;
	}
	.dot {
		width: 8px;
		height: 8px;
	}
	.dot.active {
		width: 24px;
	}
}

/* ========== LIGHTBOX ========== */
.lightbox-overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(0, 0, 0, 0.9);
	z-index: 9999;
	animation: fadeIn 0.3s ease;
}

.lightbox-overlay.active {
	display: flex;
	align-items: center;
	justify-content: center;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

.lightbox-container {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 90vw;
	height: 90vh;
	max-width: 90%;
	max-height: 90%;
}

.lightbox-content {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

.lightbox-img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 4px;
	animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
	from {
		transform: scale(0.8);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

.lightbox-close {
	position: absolute;
	top: 20px;
	right: 40px;
	background: none;
	border: none;
	color: #fff;
	font-size: 36px;
	cursor: pointer;
	padding: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: color 0.3s ease;
	z-index: 10000;
}

.lightbox-close:hover {
	color: #ccc;
}

.lightbox-prev,
.lightbox-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, 0.2);
	border: none;
	color: #fff;
	font-size: 32px;
	cursor: pointer;
	padding: 12px 16px;
	border-radius: 4px;
	transition: background 0.3s ease;
	z-index: 10000;
}

.lightbox-prev:hover,
.lightbox-next:hover {
	background: rgba(255, 255, 255, 0.4);
}

.lightbox-prev {
	left: 20px;
}

.lightbox-next {
	right: 20px;
}

.lightbox-caption {
	display: none;
}

.lightbox-link {
	display: block;
	cursor: pointer;
	text-decoration: none;
}

.lightbox-link img {
	cursor: pointer;
}


/* cuadro de areas de servicios horizontales */
/* Cuadros de servicios horizontales */
.servicios-cuadros {
	margin: 2rem 0;
	border-bottom: 1px solid var(--border, #e5e7eb);
	padding-bottom: 90px;   
	display: flex;
	flex-direction: column;
	gap: 3rem;
}
.servicios-row {
	display: flex;
	gap: 1.5rem;
}
.servicios-row:nth-of-type(2) {
    margin-top: 40px; /* Ajusta el valor según lo que necesites */
}
.servicio-card {
	flex: 1;
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	transition: transform 0.2s;
	cursor: pointer;
}
.servicio-card:hover {
	transform: translateY(-4px) scale(1.03);
}
.servicio-card img {                /*cambiar la dimencion de la cinta con su descripcion de las imagenes- cuadros de servicios horizontales*/
	width: 100%;
	height: 200px;
	object-fit: cover;
	display: block;
}
.servicio-info {
	padding: 1rem;
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 1.2rem;
	font-weight: 600;
}
.servicio-card.azul .servicio-info { background: #143892; }
.servicio-card.rojo .servicio-info { background: #c8102e; }
.servicio-card.verde .servicio-info { background: #3ca43a; }
.servicio-card.fucsia .servicio-info { background: #6554a3; }
.servicio-card.oliva .servicio-info { background: #b66f04; }
.servicio-card.naranja .servicio-info { background: #bb2eaf }
.servicio-arrow {
	font-size: 1.5rem;
	margin-left: 1rem;
}
@media (max-width: 900px) {
	.servicios-row {
		flex-direction: column;
	}
}

/*****************************Touch-carrusel-1*****************************/ 

.carousel-track {
	touch-action: pan-y;
}
/*****************************END*****************************/ 
