/* port-opiniones — tinta cálida #201A17. Nombres a la izquierda (con barra de avance del turno) y cita grande a la derecha
   en un carrusel con snap. Celular: la cita primero y abajo solo las iniciales como selector (44 px). */

.port-op { position: relative; overflow: hidden; padding: clamp(72px, 8vw, 128px) 0; background: #201A17; color: #fff; }
.port-op::before { content: ""; position: absolute; right: -12%; top: -30%; width: 60vw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 91, 35, .16), rgba(32, 26, 23, 0)); pointer-events: none; }
.port-op__in { position: relative; display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(32px, 5vw, 88px); align-items: center; max-width: 1320px; margin: 0 auto; padding: 0 var(--m); }

.port-op__ceja { margin-bottom: 14px; color: var(--lima); font-size: 13.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.port-op h2 { max-width: 13ch; font-size: clamp(32px, 4vw, 56px); color: #fff; text-wrap: balance; }

.port-op__nombres { display: grid; gap: 8px; margin-top: clamp(28px, 3vw, 44px); }
.port-op__nombres button { position: relative; display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px 10px 10px; overflow: hidden; border: 0; border-radius: 18px; background: rgba(251, 248, 244, .04); color: rgba(255, 255, 255, .72); font: inherit; text-align: left; cursor: pointer; transition: background-color .3s, color .3s; }
.port-op__nombres button:hover { background: rgba(251, 248, 244, .1); color: #fff; }
.port-op__nombres button[aria-current="true"], .port-op__nombres button[aria-current="true"]:hover { background: #FBF8F4; color: #121011; }
.port-op__nombres b { display: block; font-size: 16px; font-weight: 700; }
.port-op__nombres small { display: block; margin-top: 2px; font-size: 13px; opacity: .8; }
.port-op__nombres button:focus-visible { outline: 3px solid var(--lima); outline-offset: 2px; }
.port-op__barra { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #FF5B23; transform: scaleX(0); transform-origin: left; }
.port-op__nombres button[aria-current="true"] .port-op__barra { animation: portop-turno var(--turno, 6500ms) linear both; }
.port-op.is-quieto .port-op__barra { animation-play-state: paused !important; }
@keyframes portop-turno { to { transform: scaleX(1); } }

.port-op__ini { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #FF5B23; color: #121011; font-size: 15px; font-weight: 800; letter-spacing: .02em; }
.port-op__nombres button:nth-child(3n+2) .port-op__ini, .port-op__slide:nth-child(3n+2) .port-op__ini { background: var(--lima); }
.port-op__nombres button:nth-child(3n+3) .port-op__ini, .port-op__slide:nth-child(3n+3) .port-op__ini { background: #121011; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.port-op__nombres button[aria-current="true"]:nth-child(3n+3) .port-op__ini { box-shadow: none; }

.port-op__pista { display: flex; gap: 16px; margin: 0; padding: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; list-style: none; overscroll-behavior-x: contain; border-radius: 30px; }
.port-op__pista::-webkit-scrollbar { display: none; }
.port-op__pista:focus-visible { outline: 3px solid var(--lima); outline-offset: 4px; }
.port-op__slide { flex: 0 0 100%; scroll-snap-align: start; }
.port-op__slide figure { display: flex; flex-direction: column; height: 100%; margin: 0; padding: clamp(28px, 4vw, 56px); border-radius: 30px; background: #121011; box-shadow: inset 0 0 0 1px rgba(251, 248, 244, .08); }
.port-op__comillas { color: #FF5B23; }
.port-op blockquote { margin: 24px 0 0; }
.port-op blockquote p { font-family: 'Instrument Serif', Georgia, serif; font-size: clamp(26px, 2.8vw, 40px); font-style: italic; line-height: 1.22; letter-spacing: -.005em; color: #FBF8F4; }
.port-op figcaption { display: none; align-items: center; gap: 12px; margin-top: auto; padding-top: 28px; }
.port-op figcaption b { display: block; font-size: 16px; }
.port-op figcaption small { display: block; color: rgba(255, 255, 255, .64); font-size: 13.5px; }

@media (max-width: 860px) {
	.port-op__in { grid-template-columns: minmax(0, 1fr); }
}

/* ── Celular: cita en tarjeta de 88% con su autor; abajo los selectores son solo iniciales ── */
@media (max-width: 600px) {
	.port-op { padding: 56px 0; }
	.port-op h2 { font-size: clamp(28px, 8.4vw, 38px); }
	.port-op__in { gap: 24px; padding: 0; }
	.port-op__lado { display: contents; }
	.port-op__ceja, .port-op h2 { padding: 0 var(--m); }
	.port-op__ceja { margin-bottom: -14px; }
	.port-op__pista { order: 3; gap: 12px; padding: 0 var(--m); scroll-padding: 0 var(--m); border-radius: 0; }
	.port-op__slide { flex-basis: 88%; }
	.port-op__slide figure { padding: 24px 22px; border-radius: 24px; }
	.port-op__comillas { width: 40px; height: 30px; }
	.port-op blockquote { margin-top: 16px; }
	.port-op blockquote p { font-size: 23px; }
	.port-op figcaption { display: flex; padding-top: 20px; }
	.port-op__nombres { order: 4; display: flex; justify-content: center; gap: 10px; margin: 0; padding: 0 var(--m); }
	.port-op__nombres button { min-height: 0; padding: 3px; border-radius: 50%; background: none; }
	.port-op__nombres button > span:not(.port-op__ini) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
	.port-op__nombres button[aria-current="true"], .port-op__nombres button[aria-current="true"]:hover { background: none; box-shadow: 0 0 0 2px #FF5B23; }
	.port-op__barra { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	.port-op__barra { display: none; }
}
