/*
 * Conqr · Work (widgets IG Grid y Case). Port exacto de site.css: .igsec/.ighead/.igava/.igwho/.igfollow/
 * .igtabs/.iggrid/.igt/.igo (capa final: 1200 px, 4 columnas, 4 px; móvil 3 y 2 px), .chero (+ padding
 * del h1 de la capa final), .sub, .facts, .tags y las .sec / .split2 del caso.
 */

/* ---------- Instagram ---------- */
.cq-igsec .cq-ighead,
.cq-igsec .cq-igtabs,
.cq-igsec .cq-iggrid {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}
.cq-ighead {
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 0 0 26px;
	border-bottom: 1px solid var(--cq-faint);
	flex-wrap: wrap;
}
.cq-igava {
	width: 64px;
	height: 64px;
	border-radius: 50%;
	padding: 3px;
	background: conic-gradient(from 200deg, #2F5BFF, #A9BCFF, #fff, #2F5BFF);
	flex: 0 0 auto;
}
.cq-igava img {
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: contain;
	padding: 16px 9px;
	background: #000;
	display: block;
	box-sizing: border-box;
}
.cq-igwho {
	display: grid;
	gap: 4px;
	margin-right: auto;
}
.cq-igwho b {
	font-size: 18px;
	letter-spacing: -.01em;
}
.cq-igwho span {
	font-size: 13px;
	color: var(--cq-dim);
}
.cq-igfollow {
	display: inline-flex;
	align-items: center;
	height: 44px;
	padding: 0 24px;
	border-radius: 999px;
	background: var(--cq-paper);
	color: var(--cq-ink);
	text-decoration: none;
	font-size: 14px;
	font-weight: 500;
	transition: background .3s, color .3s;
}
.cq-igfollow:hover {
	background: var(--cq-blue);
	color: var(--cq-paper);
}
.cq-igtabs {
	display: flex;
	justify-content: center;
	gap: 48px;
	margin-top: -1px;
	margin-bottom: 18px;
}
.cq-igtabs span {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 0;
	font-size: 12px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--cq-dim);
	border-top: 1px solid transparent;
}
.cq-igtabs span.on {
	color: var(--cq-paper);
	border-top-color: var(--cq-paper);
}
.cq-igtabs svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
}
.cq-iggrid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 4px;
}
.cq-igt {
	position: relative;
	display: block;
	aspect-ratio: 3 / 4;
	overflow: hidden;
	background: #0b0f26;
	opacity: 0;
	transform: translateY(24px) scale(.98);
	transition: opacity .7s ease var(--d), transform .9s cubic-bezier(.2, .8, .2, 1) var(--d);
}
.cq-igt.in {
	opacity: 1;
	transform: none;
}
.cq-igt img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	display: block;
	image-rendering: auto;
	transition: transform .8s cubic-bezier(.2, .8, .2, 1);
}
.cq-igo {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	background: rgba(0, 0, 0, .42);
	opacity: 0;
	transition: opacity .3s;
}
.cq-igo svg {
	width: 26px;
	height: 26px;
	fill: #fff;
}
.cq-igt:hover img { transform: scale(1.06); }
.cq-igt:hover .cq-igo { opacity: 1; }


/* ---------- caso ---------- */
.cq-chero {
	position: relative;
	isolation: isolate;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: calc(env(safe-area-inset-top, 0px) + 140px) var(--cq-m) clamp(64px, 12vh, 120px);
	overflow: hidden;
	line-height: normal;
}
.cq-chero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background-size: cover;
	background-position: center;
	-webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
	mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
}
.cq-chero__meta {
	position: absolute;
	top: calc(env(safe-area-inset-top, 0px) + 110px);
	left: var(--cq-m);
	right: var(--cq-m);
	justify-content: space-between;
}
.cq-chero__meta a {
	color: inherit;
	text-decoration: none;
}
.cq-chero__h1 {
	margin: 0;
	padding: 0 0 .16em;
	font-family: inherit;
	font-size: clamp(64px, 12vw, 220px);
	font-weight: 700;
	letter-spacing: -.065em;
	line-height: .86;
	max-width: 12ch;
	text-transform: lowercase;
	color: inherit;
}
.cq-chero__sub {
	margin: 22px 0 0;
	font-size: clamp(17px, 1.4vw, 21px);
	color: rgba(255, 255, 255, .85);
}

/* las .sec del caso (dentro del widget) */
.cq-csec {
	position: relative;
	padding: clamp(96px, 17vh, 190px) var(--cq-m);
	line-height: normal;
}
.cq-csec.is-tight {
	padding-top: 0;
}
.cq-csplit {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(28px, 5vw, 96px);
	align-items: start;
}
.cq-csec__h2 {
	margin: 0;
	font-family: inherit;
	font-size: clamp(42px, 6.2vw, 108px);
	font-weight: 700;
	letter-spacing: -.055em;
	line-height: .95;
	max-width: 15ch;
	text-transform: lowercase;
	color: inherit;
}
p.cq-csec__lead,
.cq-csec__lead p {
	max-width: 40ch;
}
.cq-csec__k {
	margin-bottom: 22px;
}
.cq-facts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 0;
	margin: 0;
	border-top: 1px solid var(--cq-faint);
}
.cq-facts > div {
	padding: 22px 24px 22px 0;
	border-bottom: 1px solid var(--cq-faint);
}
.cq-facts dt,
.cq-fact__k {
	font-size: 12px;
	color: var(--cq-dim);
	margin-bottom: 8px;
}
.cq-facts dd,
.cq-fact__v {
	margin: 0;
	font-size: clamp(20px, 1.8vw, 28px);
	font-weight: 700;
	letter-spacing: -.03em;
	line-height: 1.15;
}
.cq-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.cq-tags li {
	height: 36px;
	padding: 0 16px;
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	font-size: 13px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .24);
	color: rgba(255, 255, 255, .82);
	transition: background .35s, color .35s, box-shadow .35s;
}
.cq-tags li:hover {
	background: var(--cq-paper);
	color: var(--cq-ink);
	box-shadow: none;
}
.cq-tags a {
	color: inherit;
	text-decoration: none;
}

@media (max-width: 820px) {
	.cq-iggrid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2px;
	}
	.cq-igfollow {
		width: 100%;
		justify-content: center;
	}
	.cq-csplit {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (prefers-reduced-motion: reduce) {
	.cq-igt {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
.elementor-editor-active .cq-igt {
	opacity: 1;
	transform: none;
}

/* Páginas únicas (2026-10-27): el encabezado y las .sec del caso / entrada como contenedores nativos */
.elementor .e-con.cq-chero {
	display: flex;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: flex-end;
	align-items: stretch;
	gap: 0;
	padding: calc(env(safe-area-inset-top, 0px) + 140px) var(--cq-m) clamp(64px, 12vh, 120px);
	min-height: 100vh;
	min-height: 100svh;
	width: 100%;
}
.elementor .e-con.cq-chero.is-post {
	min-height: 86vh;
}
.elementor .e-con.cq-chero__bg {
	position: absolute;
	inset: 0;
	width: auto;
	min-height: 0;
	padding: 0;
	background-size: cover;
	background-position: center;
}
.elementor .cq-chero > .e-con.cq-meta {
	position: absolute;
}
.elementor .e-con.cq-csec {
	padding: clamp(96px, 17vh, 190px) var(--cq-m);
	width: 100%;
	min-height: 0;
}
.elementor .e-con.cq-csec.is-tight {
	padding-top: 0;
}
.elementor .e-con.cq-csplit {
	display: grid;
}
.elementor .e-con.cq-facts {
	display: grid;
	padding: 0;
	width: auto;
	min-height: 0;
}
.elementor .e-con.cq-fact {
	display: block;
	width: auto;
	min-height: 0;
}
.cq-fact > .elementor-widget {
	display: block;
}
.cq-fact__k {
	display: block;
}
.elementor-widget.cq-chero__sub {
	margin: 22px 0 0;
}
