/* ==========================================================================
   Portafolio — efecto "classic duo": grid de dos columnas con desfase alterno.
   Hereda tokens y reveals de secciones.css. Solo transform/opacity (§7.5).
   ========================================================================== */

/* Reel de agencia */
.vreel { padding-top: 0; }
.vreel__video {
	width: 100%;
	aspect-ratio: 16 / 9;
	background: var(--ink-2, #15151c);
	border-radius: 4px;
	display: block;
}
/* Placeholder de marca mientras Vale entrega el reel. */
.vreel__pendiente {
	display: grid;
	place-content: center;
	gap: 0.75rem;
	width: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 4px;
	text-align: center;
	background-image:
		radial-gradient(120% 120% at 50% 30%, color-mix(in srgb, var(--acento-2, #d310c4) 28%, transparent), transparent 60%),
		linear-gradient(135deg, var(--ink, #0a0a0a), var(--ink-2, #15151c));
	border: 1px solid rgb(255 255 255 / 0.1);
}
.vreel__play {
	font-size: 2.2rem;
	color: var(--paper, #fff);
	width: 4.5rem;
	height: 4.5rem;
	margin: 0 auto;
	display: grid;
	place-items: center;
	border: 1px solid rgb(255 255 255 / 0.4);
	border-radius: 999px;
}
.vreel__nota { margin: 0; color: rgb(255 255 255 / 0.75); letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; }

/* Classic duo — un poco más ancho que el wrap por defecto: el portafolio es imagen. */
.vport { --wrap: 92rem; }
.vport__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: clamp(1.5rem, 4vw, 4rem);
	align-items: start;
}
/* Desfase: la segunda columna baja para el ritmo "duo" de Harington. */
.vport__card:nth-child(even) { margin-top: clamp(3rem, 10vw, 9rem); }

.vport__card {
	display: block;
	text-decoration: none;
	color: inherit;
}
.vport__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	background: var(--ink-2, #15151c);
}
.vport__media img,
.vport__ph {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.vport__ph {
	background-image:
		radial-gradient(120% 120% at 70% 20%, color-mix(in srgb, var(--rojo) 35%, transparent), transparent 60%),
		linear-gradient(135deg, var(--ink, #0a0a0a), var(--ink-2, #15151c));
}
.vport__card:hover .vport__media img,
.vport__card:hover .vport__ph,
.vport__card:focus-visible .vport__media img,
.vport__card:focus-visible .vport__ph { transform: scale(1.05); }

.vport__meta { padding: 1.1rem 0 0; }
.vport__cliente {
	display: block;
	font-size: 0.85rem;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--rojo);
	font-weight: 700;
}
.vport__titulo {
	margin: 0.25rem 0 0;
	font-size: clamp(1.3rem, 2.5vw, 2rem);
	font-weight: 800;
	letter-spacing: -0.01em;
	line-height: 1.05;
	transition: color 0.25s ease;
}
.vport__card:hover .vport__titulo,
.vport__card:focus-visible .vport__titulo { color: var(--rojo); }
.vport__unidad {
	display: block;
	margin-top: 0.4rem;
	color: var(--gris, #8c8c96);
	font-size: 0.9rem;
}
.vport__vacio { max-width: 44rem; font-size: 1.15rem; line-height: 1.6; color: rgb(255 255 255 / 0.78); }

@media (max-width: 700px) {
	.vport__grid { grid-template-columns: 1fr; }
	.vport__card:nth-child(even) { margin-top: 0; }
}

/* Detalle del caso */
.vcaso__video { position: relative; aspect-ratio: 16 / 9; }
.vcaso__video :is(iframe, video) { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vcaso__img, .vcaso__ph { width: 100%; border-radius: 4px; }
.vcaso__ph {
	aspect-ratio: 16 / 9;
	background-image: radial-gradient(120% 120% at 70% 20%, color-mix(in srgb, var(--rojo) 35%, transparent), transparent 60%), linear-gradient(135deg, var(--ink, #0a0a0a), var(--ink-2, #15151c));
}
.vcaso__texto { max-width: 50rem; font-size: 1.15rem; line-height: 1.7; color: rgb(255 255 255 / 0.85); }
