:root{
	--brand-gold:#bc955c;
	--brand-dark:#111827;
	--brand-muted:#6b7280;
	--brand-bg:#f8fafc;
}

body{
	background: var(--brand-bg);
}

/* Navbar */
.navbar-modern{
	backdrop-filter: saturate(180%) blur(8px);
	-webkit-backdrop-filter: saturate(180%) blur(8px);
	background: rgba(255,255,255,0.85) !important;
	border-bottom: 2px solid var(--brand-gold) !important;
}

/* Hero */
.hero{
	position: relative;
	min-height: 60vh;
	display: grid;
	place-items: center;
	padding-top: 70px;
	background-size: cover;
	background-position: center;
}
.hero::after{
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(17,24,39,0.55) 0%, rgba(17,24,39,0.35) 40%, rgba(248,250,252,1) 100%);
}
.hero-inner{
	position: relative;
	z-index: 1;
	text-align: center;
	max-width: 960px;
	padding: 0 16px;
}
.hero-title{
	color: #fff;
	font-weight: 700;
	letter-spacing: .2px;
}
.hero-subtitle{
	color: #e5e7eb;
}

/* Search */
.search-wrap{
	background: rgba(255,255,255,0.95);
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0,0,0,.12);
	padding: 12px 16px;
	display: flex;
	gap: 12px;
	align-items: center;
}
.search-wrap input[type="text"]{
	border: none;
	outline: none;
	box-shadow: none;
	min-width: 280px;
}
.search-wrap .btn-brand{
	background: var(--brand-gold);
	border-color: var(--brand-gold);
	color: #111827;
	font-weight: 600;
}
.search-wrap .btn-brand:hover{
	filter: brightness(0.95);
}

/* Cards */
.grid-heading{
	font-weight: 700;
	color: var(--brand-dark);
	margin-bottom: 2rem !important;
}

/* Wrapper de card moderna */
.card-modern-wrapper{
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-modern-wrapper:hover{
	text-decoration: none;
	transform: translateY(-8px);
}

/* Card moderna base */
.card.tarjeta.card-modern{
	position: relative;
	border: none;
	border-radius: 20px;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
	overflow: hidden;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.card-modern-wrapper:hover .card-modern{
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
	transform: scale(1.02);
}

/* Overlay con gradiente animado */
.card-gradient-overlay{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, rgba(188, 149, 92, 0.05) 0%, rgba(188, 149, 92, 0.15) 100%);
	opacity: 0;
	transition: opacity 0.4s ease;
	pointer-events: none;
	z-index: 1;
}

.card-modern-wrapper:hover .card-gradient-overlay{
	opacity: 1;
}

/* Contenedor de logo */
.card-logo-container{
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(188, 149, 92, 0.1) 0%, rgba(188, 149, 92, 0.05) 100%);
	overflow: hidden;
	padding: 1rem;
}

.card-logo-bg{
	position: absolute;
	top: 50%;
	left: 50%;
	width: 120%;
	height: 120%;
	background: radial-gradient(circle, rgba(188, 149, 92, 0.15) 0%, transparent 70%);
	transform: translate(-50%, -50%) scale(0);
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	border-radius: 50%;
}

.card-modern-wrapper:hover .card-logo-bg{
	transform: translate(-50%, -50%) scale(1);
}

.card-logo-img{
	position: relative;
	z-index: 2;
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.card-modern-wrapper:hover .card-logo-img{
	transform: scale(1.15) rotate(5deg);
	filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

/* Cuerpo de la card */
.card-body-modern{
	position: relative;
	z-index: 2;
	padding: 1.5rem !important;
	display: flex;
	flex-direction: column;
	height: 100%;
}

/* Icono de la card */
.card-icon-wrapper{
	position: absolute;
	top: 1rem;
	right: 1rem;
	width: 45px;
	height: 45px;
	background: linear-gradient(135deg, var(--brand-gold) 0%, #d4af70 100%);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(188, 149, 92, 0.3);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 3;
}

.card-icon{
	color: white;
	font-size: 20px;
	transition: all 0.4s ease;
}

.card-modern-wrapper:hover .card-icon-wrapper{
	transform: scale(1.15) rotate(10deg);
	box-shadow: 0 6px 25px rgba(188, 149, 92, 0.4);
}

.card-modern-wrapper:hover .card-icon{
	transform: rotate(-10deg) scale(1.1);
}

/* Título y texto */
.estiloTitulo{
	font-weight: 700;
	color: var(--brand-dark);
	font-size: 1.1rem;
	margin-bottom: 0.75rem;
	margin-top: 0.5rem;
	transition: color 0.3s ease;
	line-height: 1.3;
}

.card-modern-wrapper:hover .estiloTitulo{
	color: var(--brand-gold);
}

.estiloParrafo{
	color: var(--brand-muted);
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 0;
	flex-grow: 1;
	transition: color 0.3s ease;
}

.card-modern-wrapper:hover .estiloParrafo{
	color: #4b5563;
}

/* Flecha de acción */
.card-arrow{
	position: absolute;
	bottom: 1rem;
	right: 1rem;
	width: 35px;
	height: 35px;
	background: var(--brand-gold);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 14px;
	opacity: 0;
	transform: translateX(-10px);
	transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 4px 15px rgba(188, 149, 92, 0.3);
}

.card-modern-wrapper:hover .card-arrow{
	opacity: 1;
	transform: translateX(0);
}

.card-modern-wrapper:hover .card-arrow i{
	animation: arrowSlide 0.6s ease;
}

@keyframes arrowSlide{
	0%{
		transform: translateX(-5px);
	}
	50%{
		transform: translateX(3px);
	}
	100%{
		transform: translateX(0);
	}
}

/* Imagen de logo (mantener compatibilidad) */
.img_logo img:not(.card-logo-img){
	object-fit: contain;
}

/* Efecto de brillo en hover */
.card-modern::before{
	content: "";
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transform: rotate(45deg);
	transition: all 0.6s;
	opacity: 0;
	z-index: 1;
}

.card-modern-wrapper:hover .card-modern::before{
	opacity: 1;
	animation: shine 0.8s ease;
}

@keyframes shine{
	0%{
		transform: translateX(-100%) translateY(-100%) rotate(45deg);
	}
	100%{
		transform: translateX(100%) translateY(100%) rotate(45deg);
	}
}

/* Animación de entrada para las cards */
@keyframes cardFadeIn{
	from{
		opacity: 0;
		transform: translateY(20px);
	}
	to{
		opacity: 1;
		transform: translateY(0);
	}
}

.card-modern-wrapper{
	opacity: 0;
	animation: cardFadeIn 0.6s ease forwards;
}

.col:nth-of-type(1) .card-modern-wrapper{
	animation-delay: 0.1s;
}

.col:nth-of-type(2) .card-modern-wrapper{
	animation-delay: 0.2s;
}

.col:nth-of-type(3) .card-modern-wrapper{
	animation-delay: 0.3s;
}

.col:nth-of-type(4) .card-modern-wrapper{
	animation-delay: 0.4s;
}

.col:nth-of-type(5) .card-modern-wrapper{
	animation-delay: 0.5s;
}

/* Responsive para cards */
@media (max-width: 768px){
	.card-icon-wrapper{
		width: 40px;
		height: 40px;
		top: 0.75rem;
		right: 0.75rem;
	}
	
	.card-icon{
		font-size: 18px;
	}
	
	.card-body-modern{
		padding: 1.25rem !important;
	}
	
	.estiloTitulo{
		font-size: 1rem;
	}
	
	.estiloParrafo{
		font-size: 0.85rem;
	}
}

/* Footer */
footer{
	background: #9F2241;
	padding: 24px 16px;
	border-top: 2px solid var(--brand-gold);
}
footer a:hover{
	opacity: .9;
}

/* Utilities */
.badge-gold{
	background: var(--brand-gold);
	color: #111827;
	border-radius: 999px;
	padding: 6px 12px;
	font-weight: 600;
}

/* Badge Moderno Interactivo */
.badge-modern{
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50px;
	padding: 12px 24px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.badge-modern:hover{
	background: rgba(255, 255, 255, 0.25);
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.badge-item{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #fff;
	font-weight: 600;
	font-size: 14px;
	letter-spacing: 0.5px;
	cursor: pointer;
	transition: all 0.3s ease;
	padding: 4px 8px;
	border-radius: 20px;
	position: relative;
}

.badge-item i{
	font-size: 16px;
	transition: all 0.3s ease;
	animation: pulse 2s ease-in-out infinite;
}

.badge-item:first-of-type i{
	animation-delay: 0s;
	color: #ffd700;
}

.badge-item:nth-of-type(2) i{
	animation-delay: 0.7s;
	color: #4ade80;
}

.badge-item:nth-of-type(3) i{
	animation-delay: 1.4s;
	color: #f87171;
}

.badge-item:hover{
	background: rgba(255, 255, 255, 0.2);
	transform: scale(1.1);
}

.badge-item:hover i{
	transform: scale(1.2) rotate(5deg);
	animation-play-state: paused;
}

.badge-text{
	position: relative;
}

.badge-item:hover .badge-text{
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.badge-divider{
	color: rgba(255, 255, 255, 0.6);
	font-size: 18px;
	margin: 0 4px;
	animation: fadeInOut 2s ease-in-out infinite;
}

.badge-divider:nth-of-type(2){
	animation-delay: 0.3s;
}

.badge-divider:nth-of-type(4){
	animation-delay: 0.6s;
}

@keyframes pulse{
	0%, 100%{
		opacity: 1;
		transform: scale(1);
	}
	50%{
		opacity: 0.8;
		transform: scale(1.1);
	}
}

@keyframes fadeInOut{
	0%, 100%{
		opacity: 0.6;
	}
	50%{
		opacity: 1;
	}
}

/* Responsive para badge */
@media (max-width: 768px){
	.badge-modern{
		flex-wrap: wrap;
		justify-content: center;
		gap: 8px;
		padding: 10px 16px;
	}
	
	.badge-item{
		font-size: 12px;
	}
	
	.badge-item i{
		font-size: 14px;
	}
	
	.badge-divider{
		font-size: 14px;
	}
}

