/* ===== Desarrollos de terceros ===== */
.psk-devs{
	padding: 56px 0 48px;
	background:
		radial-gradient(720px 280px at 10% 0%, rgba(13,148,136,0.08), transparent 60%),
		linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
	border-top: 1px solid #E2E8F0;
}
.psk-devs .psk-section-head{ max-width: 640px; }
.dev-section-actions{
	display: flex;
	justify-content: center;
	margin-top: 28px;
}
.dev-link-all{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #0F2550;
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 13px;
	padding: 12px 22px;
	border-radius: 12px;
	transition: transform 0.15s ease, background 0.15s ease;
}
.dev-link-all:hover{ background: #0D9488; transform: translateY(-2px); color: #fff !important; }

.dev-grid{
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
}
@media (min-width: 720px){
	.dev-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px){
	.dev-grid{ grid-template-columns: repeat(3, 1fr); }
}

.dev-card{
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 20px;
	overflow: visible;
	color: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
	height: 100%;
	position: relative;
	z-index: 1;
}
.dev-card:hover,
.dev-card.is-sharing{
	transform: translateY(-6px);
	box-shadow: 0 18px 40px rgba(15,37,80,0.12);
	border-color: #C8E6C0;
	color: inherit;
	z-index: 4;
}
.dev-card-hit{
	display: flex;
	flex-direction: column;
	flex: 1;
	text-decoration: none !important;
	color: inherit;
	overflow: hidden;
	border-radius: 20px 20px 0 0;
}
.dev-card-hit:hover{ color: inherit; }
.dev-card-media{
	position: relative;
	aspect-ratio: 16 / 10;
	background: linear-gradient(145deg, var(--dev-cat, #4DB833), #0F2550);
	overflow: hidden;
}
.dev-card-media img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}
.dev-card:hover .dev-card-media img{ transform: scale(1.05); }
.dev-card-fallback{
	width: 100%;
	height: 100%;
	min-height: 160px;
	display: grid;
	place-items: center;
	color: #fff;
	font-size: 42px;
	background: linear-gradient(145deg, var(--dev-cat, #4DB833), #0F2550);
}
.dev-card-fallback--lg{ min-height: 280px; font-size: 64px; border-radius: 18px; }
.dev-card-play{
	position: absolute;
	top: 12px;
	right: 12px;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(15,37,80,0.75);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 12px;
	padding-left: 2px;
}
.dev-card-cat{
	position: absolute;
	left: 12px;
	bottom: 12px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: rgba(15,37,80,0.82);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 5px 10px;
	border-radius: 999px;
	backdrop-filter: blur(6px);
}
.dev-card-cat--static{
	position: static;
	margin-bottom: 12px;
}
.dev-card-body{
	padding: 18px 18px 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
}
.dev-card-body h3{
	margin: 0;
	font-size: 17px;
	font-weight: 800;
	color: #0F2550 !important;
	line-height: 1.3;
}
.dev-card-body p{
	margin: 0;
	font-size: 13px;
	color: #64748B;
	line-height: 1.5;
	flex: 1;
}
.dev-card-meta{
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 12px;
	font-size: 12px;
	color: #94A3B8;
	margin-top: 6px;
}
.dev-card-meta i{ margin-right: 4px; }
.dev-card-meta-right{
	display: flex;
	align-items: center;
	gap: 12px;
}

.dev-actions{
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 14px 14px;
	border-top: 1px solid #F1F5F9;
	position: relative;
}
.dev-actions--detail{
	padding: 0 0 16px;
	margin: 4px 0 12px;
	border-top: 0;
	border-bottom: 1px solid #E2E8F0;
}
.dev-votes{
	display: flex;
	align-items: center;
	gap: 6px;
}
.dev-vote-btn,
.dev-share-toggle{
	display: inline-flex;
	align-items: center;
	gap: 6px;
	border: 1px solid #E2E8F0;
	background: #fff;
	color: #475569;
	font-size: 13px;
	font-weight: 700;
	padding: 7px 12px;
	border-radius: 999px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.dev-vote-btn:hover{ border-color: #CBD5E1; background: #F8FAFC; }
.dev-vote-up.is-active{
	background: #ECFDF3;
	border-color: #86EFAC;
	color: #15803D;
}
.dev-vote-down.is-active{
	background: #FEF2F2;
	border-color: #FECACA;
	color: #B91C1C;
}
.dev-share{ position: relative; }
.dev-share-toggle{
	background: #0F2550;
	border-color: #0F2550;
	color: #fff;
}
.dev-share-toggle:hover{ background: #0D9488; border-color: #0D9488; color: #fff; }
.dev-share-menu{
	display: none;
	position: absolute;
	right: 0;
	left: auto;
	bottom: calc(100% + 8px);
	min-width: 190px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(15,37,80,0.16);
	padding: 6px;
	z-index: 20;
}
.dev-actions--detail .dev-share-menu{
	bottom: auto;
	top: calc(100% + 8px);
}
.dev-share-menu.is-open{ display: flex; flex-direction: column; }
.dev-share-item{
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	border: 0;
	background: transparent;
	text-align: left;
	padding: 8px 10px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 600;
	color: #0F2550;
	cursor: pointer;
}
.dev-share-item:hover{ background: #F1F5F9; }
.dev-share-item .fa-whatsapp{ color: #25D366; }
.dev-share-item .fa-facebook-f{ color: #1877F2; }
.dev-share-item .fa-twitter{ color: #0F1419; }
.dev-share-item .fa-linkedin-in{ color: #0A66C2; }
.dev-share-item .fa-telegram-plane{ color: #229ED9; }
.dev-panel-votes{
	display: flex;
	gap: 12px;
	font-size: 12px;
	color: #64748B;
	margin-bottom: 10px;
}
.dev-panel-votes i{ margin-right: 4px; }
.dev-panel-votes .fa-eye{ color: #1A5A9E; }
.dev-panel-votes .fa-thumbs-up{ color: #16A34A; }
.dev-panel-votes .fa-thumbs-down{ color: #DC2626; }

.dev-empty{
	text-align: center;
	padding: 48px 20px;
	background: #fff;
	border: 1px dashed #CBD5E1;
	border-radius: 20px;
	color: #64748B;
}
.dev-empty i{ font-size: 36px; color: #0D9488; margin-bottom: 12px; display: block; }
.dev-empty h3{ margin: 0 0 8px; color: #0F2550 !important; }
.dev-empty p{ margin: 0; }

/* Catalogo */
.psk-devs-page{
	background: #F8FAFC;
	padding: 36px 0 64px;
}
.dev-page-head{
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}
.dev-page-head h1{
	margin: 0 0 6px;
	font-size: clamp(26px, 4vw, 34px);
	font-weight: 800;
}
.dev-filters{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	width: 100%;
	max-width: 680px;
}
.dev-filters .form-control{
	flex: 1 1 180px;
	min-width: 160px;
	width: auto;
	border-radius: 10px;
	height: 42px;
}
.dev-filters .btn{ height: 42px; border-radius: 10px; flex: 0 0 auto; }

/* Detalle */
.dev-detail{ max-width: 1100px; margin: 0 auto; }
.dev-back{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: #1A5A9E !important;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none !important;
	margin-bottom: 18px;
}
.dev-detail-hero{
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 24px;
	padding: 22px;
	box-shadow: 0 10px 30px rgba(15,37,80,0.06);
}
@media (min-width: 900px){
	.dev-detail-hero{ grid-template-columns: 1.1fr 0.9fr; padding: 28px; }
}
.dev-detail-main{
	border-radius: 18px;
	overflow: hidden;
	background: #0F2550;
	aspect-ratio: 16 / 10;
}
.dev-detail-main img,
.dev-detail-main iframe{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 0;
	display: block;
}
.dev-thumbs{
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 10px;
}
.dev-thumb{
	width: 72px;
	height: 56px;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	background: #F1F5F9;
	cursor: pointer;
}
.dev-thumb img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.dev-thumb.is-active{ border-color: #4DB833; }
.dev-detail-info h1{
	margin: 0 0 8px;
	font-size: clamp(24px, 3vw, 32px);
	font-weight: 800;
	line-height: 1.2;
}
.dev-detail-date{
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 16px;
	color: #94A3B8;
	font-size: 13px;
	margin-bottom: 16px;
}
.dev-detail-views{ color: #64748B; }
.dev-detail-desc{
	font-size: 15px;
	line-height: 1.55;
	color: #334155;
	white-space: pre-wrap;
}
.dev-btn-url{
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 18px;
	background: linear-gradient(135deg, #0D9488, #0F766E);
	color: #fff !important;
	text-decoration: none !important;
	font-weight: 700;
	padding: 12px 18px;
	border-radius: 12px;
}
.dev-video-block{
	margin-top: 28px;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 24px;
	padding: 22px;
}
.dev-video-block h2,
.dev-contact h2{
	font-size: 18px;
	margin: 0 0 16px;
}
.dev-video-frame{
	position: relative;
	padding-top: 56.25%;
	border-radius: 16px;
	overflow: hidden;
	background: #000;
}
.dev-video-frame iframe{
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.dev-contact{ margin-top: 28px; }
.dev-contact-card{
	display: flex;
	gap: 16px;
	align-items: flex-start;
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 20px;
	padding: 20px;
}
.dev-contact-avatar{
	width: 72px;
	height: 72px;
	border-radius: 18px;
	object-fit: cover;
	background: #E8F7E3;
	flex-shrink: 0;
}
.dev-contact-body{
	display: flex;
	flex-direction: column;
	gap: 4px;
}
.dev-contact-body strong{ font-size: 18px; color: #0F2550; }
.dev-contact-body span{ color: #64748B; font-size: 14px; }
.dev-contact-links{
	display: flex;
	flex-wrap: wrap;
	gap: 10px 16px;
	margin-top: 10px;
}
.dev-contact-links a{
	font-weight: 600;
	font-size: 13px;
	text-decoration: none !important;
}

/* Panel */
.dev-panel-grid{
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}
@media (min-width: 800px){
	.dev-panel-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1200px){
	.dev-panel-grid{ grid-template-columns: repeat(3, 1fr); }
}
.dev-panel-card{
	background: #fff;
	border: 1px solid #E2E8F0;
	border-radius: 16px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
}
.dev-panel-card.is-hidden{ opacity: 0.65; }
.dev-panel-media{
	height: 140px;
	background: linear-gradient(145deg, var(--dev-cat, #4DB833), #0F2550);
	position: relative;
}
.dev-panel-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.dev-badge-hidden{
	position: absolute;
	top: 10px;
	right: 10px;
	background: #FEF3C7;
	color: #B45309;
	font-size: 11px;
	font-weight: 700;
	padding: 3px 8px;
	border-radius: 999px;
}
.dev-panel-body{ padding: 14px 16px 16px; }
.dev-panel-body h3{ margin: 4px 0 6px; font-size: 16px; }
.dev-panel-body p{ margin: 0 0 12px; font-size: 12px; color: #94A3B8; }
.dev-mini-cat{ font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.05em; }
.dev-panel-actions{ display: flex; gap: 6px; flex-wrap: wrap; }
.dev-exist-wrap{
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 10px;
}
.dev-exist-img{
	position: relative;
	width: 92px;
	height: 72px;
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #E2E8F0;
}
.dev-exist-img img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.dev-exist-img .btn{
	position: absolute;
	top: 4px;
	right: 4px;
	padding: 2px 6px;
}

.btn-cta-dev{
	background: linear-gradient(135deg, #14B8A6, #0D9488 40%, #0F766E);
	border-color: rgba(13,148,136,.5);
}
.btn-cta-dev i{ background: rgba(255,255,255,.16); }
