/* /soluciones/fotos-del-evento/ — demo · prefijo fd- */
.fd { padding-block: var(--space-xl); }
.fd-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.fd-copy { display: grid; gap: clamp(14px, 2vw, 24px); min-width: 0; }
.fd-title { font-size: var(--step-4); line-height: .92; letter-spacing: -.045em; font-weight: 760; }
.fd-lead { max-width: 44ch; }

.fd-qr { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 32px); padding: clamp(14px, 1.8vw, 22px); border: 1px solid var(--line-strong); border-radius: var(--radius-l); background: rgba(21, 21, 26, .7); width: fit-content; max-width: 100%; }
.fd-qr__img { width: clamp(132px, 14vw, 168px); height: auto; aspect-ratio: 1; display: block; border-radius: 8px; image-rendering: pixelated; flex: none; }
.fd-qr__txt { display: grid; gap: .7rem; justify-items: start; min-width: 0; }
.fd-qr__k { margin: 0; color: var(--muted); }
.fd-qr__url { color: var(--paper); overflow-wrap: anywhere; text-transform: none; }
.fd-fine { margin: 0; font-size: var(--step--1); color: var(--muted); max-width: 52ch; }

/* celular de CSS */
.fd-phonewrap { display: grid; justify-items: center; gap: 18px; }
.fd-phone {
  --w: min(320px, 78vw); position: relative; width: var(--w); aspect-ratio: 9 / 19; padding: 10px; border-radius: 44px;
  background: #1b1b22; box-shadow: inset 0 0 0 2px #34343f, 0 0 0 1px #000, 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.fd-phone__btn { position: absolute; right: -3px; width: 3px; background: #34343f; border-radius: 0 2px 2px 0; }
.fd-phone__btn--a { top: 17%; height: 9%; } .fd-phone__btn--b { top: 29%; height: 14%; }
.fd-phone__screen { position: relative; width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--paper); isolation: isolate; }
.fd-phone__notch { position: absolute; z-index: 3; top: 8px; left: 50%; transform: translateX(-50%); width: 28%; height: 18px; border-radius: 12px; background: #0d0d10; pointer-events: none; }
.fd-frame { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; border: 0; background: var(--paper); }
.fd-phone__fallback { position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; margin: 0; color: #55545c; font-family: var(--font-mono); font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; }
.fd-phone__cap { margin: 0; display: flex; align-items: center; gap: .6em; font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--paper-2); }
.fd-cap-sq { width: .6em; height: .6em; background: var(--accent); box-shadow: .55em .55em 0 -.1em var(--cobalt); margin-right: .5em; }

@media (max-width: 899px) {
  .fd-grid { grid-template-columns: minmax(0, 1fr); }
  .fd-qr { display: none; } /* ya estás en el celular: el botón alcanza */
}
.fd-phone__fallback.is-fail { flex-direction: column; gap: 14px; padding: 24px; text-align: center; background: var(--paper); color: #0d0d10; display: flex; align-items: center; justify-content: center; text-transform: none; font-size: .9rem; }
.fd-phone__fallback.is-fail img { border-radius: 6px; }
