/* ═══════════════════════════════════════════════════════════════
   TCL OPS — Agency OS overview (#how_it_works.tcl-ops)
   Reemplaza THE UNDERLYING LEVERS (jul 2026 → ago 2026).
   Patrón: headline dos tonos + bento de cards con UI nativa
   recreada en HTML (Slack, Drive, Calendar, Gmail). Tokens del
   sitio: Display/nText, sand #B89C84, radius 5px, gap 16px.
   ═══════════════════════════════════════════════════════════════ */

#how_it_works.tcl-ops *,
#how_it_works.tcl-ops *::before,
#how_it_works.tcl-ops *::after { box-sizing: border-box; }

/* Pisa las alturas fijas legacy de styleV23 (1700px por breakpoint) */
#how_it_works.tcl-ops {
	height: auto !important;
	min-height: 0;
	overflow: visible;
	padding: 100px 0 110px;
	background-color: #282C2F;
	color: #FFFBF9;
}

#how_it_works.tcl-ops .ops-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ── Header — reusa la jerarquía del sitio, headline dos tonos ── */
#how_it_works.tcl-ops .section-div { margin-bottom: 56px; }

#how_it_works.tcl-ops .section-title {
	color: #FFFBF9;
	margin-top: 22px;
}

#how_it_works.tcl-ops .section-title .muted {
	display: block;
	color: rgba(255, 251, 249, 0.45);
}

/* Override fino sobre .section-info del sitio */
#how_it_works.tcl-ops .ops-sub {
	color: rgba(255, 251, 249, 0.72);
	max-width: 620px;
	margin-left: auto;
	margin-right: auto;
}

/* ── Grid ── */
#how_it_works.tcl-ops .ops-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 16px;
}

#how_it_works.tcl-ops .ops-card--half  { grid-column: span 3; }
#how_it_works.tcl-ops .ops-card--third { grid-column: span 2; }

/* Wrapper por card — cada una es su propio reveal-section (el observer del sitio
   usa threshold 0.3: una grid entera nunca llega a 0.3 en mobile) */
#how_it_works.tcl-ops .ops-cell { display: flex; }
#how_it_works.tcl-ops .ops-cell > .ops-card { flex: 1; width: 100%; }

/* ── Card ── */
#how_it_works.tcl-ops .ops-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--color-bg-dark, #1A1D1F);
	border: 1px solid rgba(255, 251, 249, 0.07);
	border-radius: 5px;
	padding: 28px 28px 0;
	overflow: hidden;
}

#how_it_works.tcl-ops .ops-card > * {
	position: relative;
	z-index: 1;
}

#how_it_works.tcl-ops .ops-card__label {
	font-family: 'nText Medium', Helvetica, sans-serif;
	font-size: 11px;
	letter-spacing: 1.3px;
	text-transform: uppercase;
	color: #B89C84;
	margin: 0 0 12px;
}

#how_it_works.tcl-ops .ops-card__title {
	font-family: 'Display Bold', Helvetica, sans-serif;
	font-size: 20px;
	line-height: 1.12;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	color: #FFFBF9;
	margin: 0 0 10px;
}

#how_it_works.tcl-ops .ops-card__title .muted { color: rgba(255, 251, 249, 0.48); }

#how_it_works.tcl-ops .ops-card__desc {
	font-family: 'nText', Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.55;
	color: rgba(255, 251, 249, 0.62);
	margin: 0;
	max-width: 46ch;
}

/* UI mock anclada abajo, recortada por el borde de la card (patrón Ramp) */
#how_it_works.tcl-ops .ops-card__ui {
	position: relative;
	margin-top: auto;
	padding-top: 26px;
}

/* Badge de app montado sobre el borde superior derecho del mock —
   el "runs where your team already works" embebido en cada UI */
#how_it_works.tcl-ops .ops-app-badge {
	position: absolute;
	top: 6px;
	right: -10px;
	z-index: 2;
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.06);
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
}

#how_it_works.tcl-ops .ops-app-badge svg {
	width: 20px;
	height: 20px;
}

#how_it_works.tcl-ops .ops-app-badge--drive svg { width: 22px; height: 19.6px; }

#how_it_works.tcl-ops .ops-card--half .ops-card__ui { max-width: 520px; }

/* ═══════════════════════════════════════════════════════════════
   UI SURFACES — base
   ═══════════════════════════════════════════════════════════════ */

#how_it_works.tcl-ops .ui-surface {
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-bottom: 0;
	border-radius: 9px 9px 0 0;
	box-shadow: 0 -10px 34px rgba(0, 0, 0, 0.28);
}

/* ── Push notification estilo iOS (card 01) ── */
#how_it_works.tcl-ops .ios-notif {
	position: absolute;
	top: 6px;
	right: -12px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 10px;
	width: 300px;
	padding: 10px 12px;
	border-radius: 16px;
	background: rgba(248, 248, 250, 0.92);
	-webkit-backdrop-filter: blur(14px);
	backdrop-filter: blur(14px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

#how_it_works.tcl-ops .ios-notif__icon {
	width: 30px;
	height: 30px;
	min-width: 30px;
	border-radius: 7px;
	background: #FFFFFF;
	border: 1px solid rgba(0, 0, 0, 0.06);
	display: flex;
	align-items: center;
	justify-content: center;
}

#how_it_works.tcl-ops .ios-notif__icon svg { width: 16px; height: 16px; }

#how_it_works.tcl-ops .ios-notif__content { flex: 1; min-width: 0; }

#how_it_works.tcl-ops .ios-notif__row {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 8px;
}

#how_it_works.tcl-ops .ios-notif__row b {
	font-size: 12.5px;
	font-weight: 600;
	color: #111111;
	letter-spacing: -0.1px;
}

#how_it_works.tcl-ops .ios-notif__row span {
	font-size: 11px;
	color: rgba(60, 60, 67, 0.6);
}

#how_it_works.tcl-ops .ios-notif__body {
	font-size: 12px;
	line-height: 1.35;
	color: #1C1C1E;
	margin-top: 1px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ── Slack ── */
#how_it_works.tcl-ops .ui-slack {
	background: #1A1D21;
	padding: 18px 18px 16px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #D1D2D3;
}

/* Cards 04/05 (grid-third row): thread panel a altura fija, mensajes anclados
   abajo. Si el hilo no entra, lo que se recorta es el mensaje más viejo
   (arriba) — el que scrollearía fuera de vista en un cliente de Slack real —
   nunca el más reciente. Así ambas cards quedan a la misma altura y posición. */
#how_it_works.tcl-ops .ops-card--third .ui-surface.ui-slack {
	height: 309px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

#how_it_works.tcl-ops .sl-msg {
	display: flex;
	gap: 10px;
	align-items: flex-start;
}

#how_it_works.tcl-ops .sl-msg + .sl-msg { margin-top: 16px; }

#how_it_works.tcl-ops .sl-ava {
	width: 36px;
	height: 36px;
	min-width: 36px;
	border-radius: 4px;
	background: #111314;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Avatar humano (cliente) — mismo cuadrado, iniciales sobre sand */
#how_it_works.tcl-ops .sl-ava--person {
	background: #B89C84;
	color: #1A1D21;
	font-size: 15px;
	font-weight: 700;
}

#how_it_works.tcl-ops .sl-ava svg {
	width: 19px;
	height: auto;
	fill: #FFFBF9;
	transform: translateY(1px);
}

#how_it_works.tcl-ops .sl-head {
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
}

#how_it_works.tcl-ops .sl-name {
	font-weight: 700;
	font-size: 14px;
	color: #FCFCFC;
	letter-spacing: -0.1px;
}

#how_it_works.tcl-ops .sl-app {
	font-size: 9.5px;
	font-weight: 700;
	letter-spacing: 0.2px;
	color: rgba(255, 255, 255, 0.60);
	background: rgba(255, 255, 255, 0.13);
	border-radius: 3px;
	padding: 1px 4px;
	transform: translateY(-1.5px);
}

#how_it_works.tcl-ops .sl-time {
	font-size: 11.5px;
	color: #ABABAD;
}

#how_it_works.tcl-ops .sl-line { margin-top: 3px; }
#how_it_works.tcl-ops .sl-line strong { color: #F0F0F1; font-weight: 700; }
#how_it_works.tcl-ops .sl-link { color: #1D9BD0; }

#how_it_works.tcl-ops .sl-mention {
	color: #79C0E8;
	background: rgba(29, 155, 209, 0.16);
	border-radius: 3px;
	padding: 0 3px 1px;
}

#how_it_works.tcl-ops .sl-mention--self {
	color: #FFFDF5;
	background: rgba(242, 199, 68, 0.24);
}

#how_it_works.tcl-ops .sl-thread {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	font-size: 12.5px;
}

#how_it_works.tcl-ops .sl-thread__ava {
	width: 22px;
	height: 22px;
	border-radius: 5px;
	background: #B89C84;
	color: #1A1D21;
	font-size: 11px;
	font-weight: 800;
	display: flex;
	align-items: center;
	justify-content: center;
}

#how_it_works.tcl-ops .sl-thread__count { color: #1D9BD0; font-weight: 700; }
#how_it_works.tcl-ops .sl-thread__meta  { color: #ABABAD; }

/* Thread panel (card 04): header + divider de replies */
#how_it_works.tcl-ops .sl-threadbar {
	display: flex;
	align-items: baseline;
	gap: 8px;
	margin: -2px 0 12px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

#how_it_works.tcl-ops .sl-threadbar b {
	font-size: 14px;
	font-weight: 800;
	color: #FCFCFC;
}

#how_it_works.tcl-ops .sl-threadbar span {
	font-size: 12px;
	color: #ABABAD;
}

#how_it_works.tcl-ops .sl-replies {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 12px 0;
	font-size: 12px;
	color: #ABABAD;
}

#how_it_works.tcl-ops .sl-replies::after {
	content: "";
	flex: 1;
	height: 1px;
	background: rgba(255, 255, 255, 0.09);
}

#how_it_works.tcl-ops .sl-btn {
	display: inline-block;
	margin-top: 10px;
	border: 1px solid #565759;
	border-radius: 4px;
	padding: 5px 12px;
	font-size: 12.5px;
	font-weight: 700;
	color: #FFFFFF;
	background: transparent;
}

/* ── Google Calendar — escena: grilla semanal de fondo + event popup ── */
#how_it_works.tcl-ops .gc-scene {
	position: relative;
	/* El espacio para la grilla visible va como padding (no como margin del popup:
	   el margin colapsaba hacia afuera y corría toda la escena hacia abajo) */
	padding-top: 108px;
}

#how_it_works.tcl-ops .gc-bg {
	position: absolute;
	inset: 0;
	background: #131314;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-bottom: 0;
	border-radius: 9px 9px 0 0;
	overflow: hidden;
}

#how_it_works.tcl-ops .gc-bg__days {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	text-align: center;
	padding: 8px 0 6px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	font-family: Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

#how_it_works.tcl-ops .gc-bg__day span {
	display: block;
	font-size: 8.5px;
	letter-spacing: 0.8px;
	color: #9AA0A6;
}

#how_it_works.tcl-ops .gc-bg__day b {
	display: block;
	width: 24px;
	height: 24px;
	line-height: 24px;
	margin: 2px auto 0;
	border-radius: 50%;
	font-size: 12.5px;
	font-weight: 400;
	color: #E8EAED;
}

#how_it_works.tcl-ops .gc-bg__day--today b {
	background: #8AB4F8;
	color: #062E6F;
	font-weight: 500;
}

#how_it_works.tcl-ops .gc-bg__grid {
	position: absolute;
	top: 54px;
	bottom: 0;
	left: 0;
	right: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 44px);
}

#how_it_works.tcl-ops .gc-bg__col {
	position: relative;
	border-left: 1px solid rgba(255, 255, 255, 0.08);
}

#how_it_works.tcl-ops .gc-bg__col:first-child { border-left: 0; }

#how_it_works.tcl-ops .gc-bg__event {
	position: absolute;
	left: 4px;
	right: 4px;
	background: #D50000;
	border-radius: 4px;
	padding: 3px 6px;
	font-family: Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 8.5px;
	line-height: 1.3;
	color: #FFFFFF;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#how_it_works.tcl-ops .gc-bg__event--muted {
	background: #3C4043;
	color: #E8EAED;
}

#how_it_works.tcl-ops .ui-gcal {
	background: #1E1F20;
	border-radius: 14px 14px 0 0;
	padding: 16px 18px 18px;
	font-family: Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	color: #E8EAED;
}

/* Popup flotante sobre la grilla */
#how_it_works.tcl-ops .gc-scene .ui-gcal {
	position: relative;
	margin: 0 14px 0 22px;
	box-shadow: 0 16px 44px rgba(0, 0, 0, 0.55);
}

#how_it_works.tcl-ops .gc-toolbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 14px;
	margin-bottom: 10px;
}

#how_it_works.tcl-ops .gc-toolbar svg {
	width: 15px;
	height: 15px;
	fill: #C4C7C5;
}

#how_it_works.tcl-ops .gc-close {
	display: flex;
	align-items: center;
	justify-content: center;
}

#how_it_works.tcl-ops .gc-close svg { width: 16px; height: 16px; }

#how_it_works.tcl-ops .gc-head {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

#how_it_works.tcl-ops .gc-chip {
	width: 14px;
	height: 14px;
	min-width: 14px;
	border-radius: 4px;
	background: #D50000;
	margin-top: 4px;
}

#how_it_works.tcl-ops .gc-title {
	font-size: 16.5px;
	font-weight: 400;
	line-height: 1.3;
	color: #E8EAED;
	letter-spacing: 0;
}

#how_it_works.tcl-ops .gc-date {
	font-size: 12px;
	color: #C4C7C5;
	margin-top: 3px;
}

#how_it_works.tcl-ops .gc-block {
	margin-top: 14px;
	padding-left: 26px;
	font-size: 12.5px;
}

#how_it_works.tcl-ops .gc-field { margin-top: 9px; color: #C4C7C5; }
#how_it_works.tcl-ops .gc-field b { color: #E8EAED; font-weight: 500; }

/* ── Google Drive ── */
#how_it_works.tcl-ops .ui-drive {
	background: #FFFFFF;
	padding: 14px 18px 6px;
	font-family: Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
	color: #1F1F1F;
}

#how_it_works.tcl-ops .dr-crumb {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #5F6368;
	padding-bottom: 10px;
	border-bottom: 1px solid #E8EAED;
}

#how_it_works.tcl-ops .dr-crumb b { color: #1F1F1F; font-weight: 500; }

#how_it_works.tcl-ops .dr-row {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 2px;
	border-bottom: 1px solid #E8EAED;
	font-size: 14px;
	letter-spacing: 0.1px;
}

#how_it_works.tcl-ops .dr-row:last-child { border-bottom: 0; }

/* Fila clickeada + cursor: explica por qué se abrió el panel */
#how_it_works.tcl-ops .dr-row--active {
	position: relative;
	background: #E8F0FE;
	border-radius: 8px;
	transition: background-color 200ms ease-out;
}

/* Handoff entre clics: cuando el cursor de una fila posterior llega, el
   highlight + cursor de la fila anterior se apagan — un solo cursor
   "viaja" en vez de quedar duplicado en ambas filas */
#how_it_works.tcl-ops .ops-anim-ready .dr-stack:has(.dr-row--versions .dr-cursor.ops-anim-in) .dr-row--materials {
	background: transparent;
}

#how_it_works.tcl-ops .ops-anim-ready .dr-stack:has(.dr-row--versions .dr-cursor.ops-anim-in) .dr-row--materials .dr-cursor {
	/* !important: el cursor tiene una animation con fill-mode forwards
	   (ops-click-travel) que sostiene opacity:1 con prioridad de cascada
	   por encima de cualquier regla normal, sin importar especificidad */
	opacity: 0 !important;
	transition: opacity 200ms ease-out;
}

#how_it_works.tcl-ops .dr-cursor {
	position: absolute;
	left: 74px;
	top: 22px;
	width: 19px;
	height: 19px;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

#how_it_works.tcl-ops .dr-cursor svg {
	width: 19px;
	height: 19px;
	fill: none;
}

/* Ripple del clic, centrado en la punta del cursor */
#how_it_works.tcl-ops .dr-cursor::before {
	content: "";
	position: absolute;
	left: -9px;
	top: -9px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid rgba(26, 115, 232, 0.55);
}

#how_it_works.tcl-ops .dr-row svg {
	width: 20px;
	height: 20px;
	fill: #5F6368;
	flex-shrink: 0;
}

/* ── Drive: stack lista + popup Versions ── */
#how_it_works.tcl-ops .dr-stack { position: relative; }

/* position:relative para que el badge de Drive se monte sobre el borde
   superior derecho de la lista, no del stack completo */
#how_it_works.tcl-ops .dr-stack .ui-drive { position: relative; margin-right: 26%; }

#how_it_works.tcl-ops .dr-pop {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 60%;
	background: #FFFFFF;
	border: 1px solid #E0E3E7;
	border-bottom: 0;
	border-radius: 9px 9px 0 0;
	padding: 12px 14px 2px;
	box-shadow: -16px -12px 38px rgba(0, 0, 0, 0.38);
	font-family: Roboto, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

#how_it_works.tcl-ops .dr-crumb--pop {
	border-bottom: 0;
	padding-bottom: 8px;
	font-size: 11.5px;
}

#how_it_works.tcl-ops .dr-chips {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px;
	padding-bottom: 12px;
}

#how_it_works.tcl-ops .dr-chip {
	display: flex;
	align-items: center;
	gap: 8px;
	background: #F0F4F9;
	border-radius: 8px;
	padding: 9px 10px;
	font-size: 12.5px;
	letter-spacing: 0.1px;
	color: #1F1F1F;
}

#how_it_works.tcl-ops .dr-chip svg {
	width: 16px;
	height: 16px;
	fill: #444746;
	flex-shrink: 0;
}

#how_it_works.tcl-ops .dr-chip__kebab {
	margin-left: auto;
	margin-right: 2px;
	width: 3.5px;
	height: 3.5px;
	border-radius: 50%;
	background: #444746;
	box-shadow: 0 -5.5px 0 #444746, 0 5.5px 0 #444746;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
	#how_it_works.tcl-ops { padding: 80px 0 90px; }
	#how_it_works.tcl-ops .ops-card--half  { grid-column: span 6; }
	#how_it_works.tcl-ops .ops-card--third { grid-column: span 3; }
	#how_it_works.tcl-ops .ops-cell--last { grid-column: span 6; }
	#how_it_works.tcl-ops .ops-card--half .ops-card__ui { max-width: 560px; }
}

@media (max-width: 649px) {
	#how_it_works.tcl-ops .ios-notif { width: 240px; top: 6px; right: -6px; }
	#how_it_works.tcl-ops .ops-card--third,
	#how_it_works.tcl-ops .ops-cell--last { grid-column: span 6; }
	#how_it_works.tcl-ops .ops-card { padding: 24px 20px 0; }
	#how_it_works.tcl-ops .ops-card__title { font-size: 19px; }
	#how_it_works.tcl-ops .ops-sub { font-size: 16px; }
}

/* ═══════════════════════════════════════════════════════════════
   OPS MOTION — vignettes que muestran al OS trabajando (patrón Ramp)
   Sistema genérico: el contenedor .ops-card__ui[data-anim] declara la
   escena; cada elemento con data-step="N" entra en orden secuencial.
   El orquestador (assets/js/tcl-ops-motion.js) maneja secuencia,
   pausas y loop. El estado oculto solo existe bajo .ops-anim-ready
   (la agrega el JS y nunca con prefers-reduced-motion): sin JS o con
   reduced motion la card queda idéntica al diseño estático.
   Solo opacity + transform — el layout no se mueve nunca.
   ═══════════════════════════════════════════════════════════════ */

#how_it_works.tcl-ops {
	--ops-anim-dur: 460ms;
	--ops-anim-ease: cubic-bezier(0.22, 1, 0.36, 1);
	--ops-anim-pop: cubic-bezier(0.34, 1.45, 0.64, 1);
	--ops-anim-rise: 7px;
}

/* Estado oculto */
#how_it_works.tcl-ops .ops-anim-ready [data-step] {
	opacity: 0;
	transform: translateY(var(--ops-anim-rise));
	transition:
		opacity var(--ops-anim-dur) var(--ops-anim-ease),
		transform var(--ops-anim-dur) var(--ops-anim-ease);
	will-change: opacity, transform;
}

/* Variantes de entrada: data-from="top" cae con micro-rebote (push notif);
   data-from="none" solo fade, sin desplazamiento */
#how_it_works.tcl-ops .ops-anim-ready [data-step][data-from="top"] {
	transform: translateY(-14px) scale(0.97);
	transition-timing-function: var(--ops-anim-pop);
}

#how_it_works.tcl-ops .ops-anim-ready [data-step][data-from="none"] {
	transform: none;
}

/* data-from="pop": abre con micro-zoom, para popups/paneles que nacen de un clic */
#how_it_works.tcl-ops .ops-anim-ready [data-step][data-from="pop"] {
	transform: translateY(8px) scale(0.94);
	transition-timing-function: var(--ops-anim-pop);
}

/* ── Click FX (data-fx="click") — un clic real: el cursor viaja hasta el
   target, presiona (dip sobre la punta) y el ripple se expande en el
   momento del press. El anillo estático (::before) es el frame final;
   el ripple transitorio vive en ::after y solo existe durante el press.
   El scale pivotea en la punta del cursor, no en el centro del box. ── */

#how_it_works.tcl-ops .ops-anim-ready [data-step][data-fx="click"] {
	transform: translate(26px, var(--click-travel-y, 30px));
	transform-origin: 4px 3px;
}

#how_it_works.tcl-ops .ops-anim-ready [data-step][data-fx="click"].ops-anim-in {
	animation: ops-click-travel 900ms var(--ops-anim-ease) forwards;
}

#how_it_works.tcl-ops .ops-anim-ready [data-step][data-fx="click"]::before {
	opacity: 0;
	transform: scale(0.4);
}

#how_it_works.tcl-ops .ops-anim-ready [data-step][data-fx="click"].ops-anim-in::before {
	animation: ops-click-ring 360ms 560ms var(--ops-anim-pop) forwards;
}

#how_it_works.tcl-ops .ops-anim-ready [data-step][data-fx="click"]::after {
	content: "";
	position: absolute;
	left: -9px;
	top: -9px;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	border: 2px solid rgba(26, 115, 232, 0.45);
	opacity: 0;
	pointer-events: none;
}

#how_it_works.tcl-ops .ops-anim-ready [data-step][data-fx="click"].ops-anim-in::after {
	animation: ops-click-ripple 520ms 600ms ease-out forwards;
}

@keyframes ops-click-travel {
	0%   { opacity: 0; transform: translate(26px, var(--click-travel-y, 30px)) scale(1); }
	18%  { opacity: 1; }
	55%  { transform: translate(0, 0) scale(1); }
	66%  { transform: translate(0, 0) scale(0.85); }
	80%  { transform: translate(0, 0) scale(1.04); }
	100% { opacity: 1; transform: translate(0, 0) scale(1); }
}

@keyframes ops-click-ring {
	0%   { opacity: 0; transform: scale(0.4); }
	60%  { opacity: 1; transform: scale(1.18); }
	100% { opacity: 1; transform: scale(1); }
}

@keyframes ops-click-ripple {
	0%   { opacity: 0.9; transform: scale(0.4); }
	100% { opacity: 0; transform: scale(2.1); }
}

/* La fila target no está seleccionada hasta el press: el highlight se
   pinta sincronizado con el dip del cursor (fallback sin :has(): queda
   pintado desde el arranque, como el diseño estático) */
#how_it_works.tcl-ops .ops-anim-ready .dr-row--active {
	transition: background-color 240ms ease-out 520ms;
}

#how_it_works.tcl-ops .ops-anim-ready .dr-row--active:has(> .dr-cursor:not(.ops-anim-in)) {
	background: transparent;
	transition-delay: 0ms;
}

/* Estado visible */
#how_it_works.tcl-ops .ops-anim-ready [data-step].ops-anim-in {
	opacity: 1;
	transform: translateY(0) scale(1);
}

/* Reset entre loops: la salida es más corta que la entrada */
#how_it_works.tcl-ops .ops-anim-resetting [data-step] {
	transition-duration: 260ms;
}
