/* Portafolio y visor. Los controles de la demo viven dentro de su propio documento. */
.pf-section, .pf-dialog { --pf-text:#f3f6ff; --pf-muted:#b6c4d7; --pf-line:#334359; --pf-accent:#8de7f5; color:var(--pf-text); }
.pf-section { padding:clamp(64px,8vw,112px) 0; scroll-margin-top:64px; }
.pf-wrap { width:min(1200px,90%); margin:auto; }
.pf-heading { display:flex; align-items:end; justify-content:space-between; gap:30px; margin-bottom:28px; }
.pf-label { margin:0 0 10px; color:var(--pf-accent); font:600 .71rem/1.5 ui-monospace,monospace; letter-spacing:.11em; text-transform:uppercase; }
.pf-heading h2 { margin:0; color:var(--pf-text); font-size:clamp(2.25rem,5vw,4.4rem); letter-spacing:-.065em; line-height:1.08; }
.pf-heading h2 span { color:var(--pf-accent); }
.pf-heading>p { max-width:40ch; margin:0 0 4px; color:var(--pf-muted); line-height:1.6; }
.pf-filters, .pf-actions, .pf-tools, .pf-resetbox { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.pf-filters { margin:0 0 24px; }
.pf-section button,.pf-dialog button,.pf-dialog a,.pf-external,.pf-inquiry { font:inherit; cursor:pointer; text-decoration:none; }
.pf-filters button,.pf-tools button,.pf-tools a,.pf-foot button,.pf-resetbox button,.pf-icon { min-height:40px; padding:8px 13px; border:1px solid var(--pf-line); border-radius:7px; background:#101927; color:var(--pf-text); font-size:.82rem; }
.pf-filters button { border-radius:20px; padding-inline:18px; }
.pf-filters [aria-pressed=true],.pf-switch [aria-pressed=true] { background:var(--pf-accent); border-color:var(--pf-accent); color:#09212c; }
.pf-section :is(button,a,summary):focus-visible,.pf-dialog :is(button,a,iframe):focus-visible { outline:3px solid var(--pf-accent); outline-offset:2px; }
.pf-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px; }
.pf-card { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid #28364b; background:#101722; border-radius:18px; }
.pf-image { position:relative; padding:6.3% 6.3% 0; overflow:hidden; aspect-ratio:1.95; background:radial-gradient(ellipse at 100% 0%,#825a83,transparent 80%),#393956; }
.pf-image-ricks-barbershop { background:linear-gradient(105deg,#314b55,#6f867a); }
.pf-image-eduardos-barbershop { background:linear-gradient(105deg,#605450,#3e4266); }
.pf-image-pisada-bacana { background:linear-gradient(105deg,#3c6058,#739686); }
.pf-image-duvant12-store { background:linear-gradient(105deg,#6f5949,#9e8b68); }
.pf-image-duvant12-dashboard { background:linear-gradient(105deg,#404661,#8d809a); }
.pf-image img { display:block; width:100%; height:auto; border:1px solid #ffffff40; border-radius:7px 7px 0 0; box-shadow:0 12px 30px #03091680; }
.pf-external { position:absolute; right:12px; top:12px; display:grid; place-items:center; width:40px; height:40px; border-radius:50%; border:1px solid #ffffff50; background:#111923; color:white; font-size:1.2rem; }
.pf-info { display:flex; flex:1; flex-direction:column; padding:clamp(18px,3vw,29px); }
.pf-info h3 { margin:0; font-size:clamp(1.3rem,2.1vw,1.85rem); line-height:1.16; letter-spacing:-.04em; }
.pf-description,.pf-details { color:var(--pf-muted); line-height:1.55; }
.pf-description { margin:13px 0; }
.pf-details { font-size:.85rem; margin:0 0 22px; }
.pf-details summary { color:#d8e7fb; cursor:pointer; padding:5px 0; width:fit-content; }
.pf-details ul { list-style:disc; padding-left:22px; margin:6px 0; }
.pf-details p { margin:4px 0; }
.pf-actions { margin-top:auto; gap:10px 19px; }
.pf-launch { min-height:44px; border:0; border-radius:7px; background:#e1f2fa; color:#101622; padding:9px 16px; font-weight:650!important; }
.pf-inquiry { display:inline-flex; align-items:center; min-height:42px; color:var(--pf-accent); font-size:.88rem; text-decoration:underline; text-underline-offset:4px; }
.pf-sr { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
.pf-card[hidden],.pf-dialog [hidden] { display:none!important; }
html.pf-viewing { overflow:hidden; }
.pf-dialog { position:fixed; inset:0; padding:0; border:1px solid var(--pf-line); margin:auto; width:min(1320px,96vw); max-width:none; max-height:96dvh; background:#0d1420; border-radius:14px; overflow:hidden; }
.pf-dialog::backdrop { background:#030712da; }
.pf-shell { height:min(860px,92dvh); display:flex; flex-direction:column; background:#0d1420; }
.pf-dialog.pf-expanded { width:100vw; max-height:100dvh; border-radius:0; }
.pf-expanded .pf-shell,.pf-shell:fullscreen { height:100dvh; width:100%; }
.pf-top,.pf-foot { position:static; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:12px 17px; border:0; background:transparent; }
.pf-top .pf-label { margin:0 0 2px; }
.pf-top .pf-label span { margin-left:8px; color:var(--pf-muted); }
.pf-top h2 { overflow-wrap:anywhere; margin:0; font-size:clamp(1rem,2.1vw,1.55rem); line-height:1.25; letter-spacing:-.035em; }
.pf-icon { flex:none; width:42px; padding:0; font-size:1.6rem!important; }
.pf-tools { padding:0 17px 12px; gap:6px; }
.pf-tools button,.pf-tools a,.pf-foot button,.pf-resetbox button { font-size:.79rem; line-height:1.25; }
.pf-tools a { display:inline-flex; align-items:center; }
.pf-switch { display:inline-flex; }
.pf-switch button:first-child { border-radius:7px 0 0 7px; }
.pf-switch button:last-child { border-radius:0 7px 7px 0; }
.pf-stage { position:relative; display:flex; justify-content:center; flex:1; min-height:72px; background:repeating-linear-gradient(135deg,#151f2c 0 1px,#121a27 1px 9px); border-block:1px solid var(--pf-line); }
#pf-screen { width:100%; min-width:0; background:white; }
#pf-screen.pf-phone { max-width:390px; }
#pf-screen iframe { display:block; width:100%; height:100%; border:0; }
#pf-status { position:absolute; inset:0; display:grid; align-content:center; padding:25px; text-align:center; background:#101927; color:white; }
.pf-resetbox { padding:8px 16px; color:white; background:#26344a; }
.pf-foot { font-size:.8rem; color:var(--pf-muted); }
.pf-dialog button:disabled { opacity:.45; cursor:default; }
@media(hover:hover) {
  .pf-filters button:hover,.pf-tools :is(button,a):hover,.pf-foot button:enabled:hover,.pf-external:hover { border-color:var(--pf-accent); }
  .pf-launch:hover { background:white; }
  .pf-inquiry:hover { color:white; }
}
@media(max-width:720px) {
  .pf-heading { display:block; }
  .pf-heading>p { margin-top:16px; }
  .pf-grid { grid-template-columns:1fr; }
  .pf-dialog { width:100%; max-height:100dvh; border-radius:0; }
  .pf-shell { height:100dvh; }
  .pf-top,.pf-foot,.pf-tools { padding:8px; }
  .pf-tools { padding-top:0; }
  .pf-tools button,.pf-tools a { padding:6px 9px; min-height:35px; }
  .pf-foot span { text-align:center; }
  .pf-filters button { padding:7px 12px; }
}
@media(max-height:450px) {
  .pf-shell { height:100dvh; }
  .pf-top,.pf-foot,.pf-tools { padding:3px 8px; }
  .pf-top .pf-label { display:none; }
  .pf-tools button,.pf-tools a,.pf-foot button,.pf-icon { min-height:30px; }
}
@media(max-height:450px) {
  .pf-dialog { max-height:100dvh; }
  .pf-shell { height:calc(100dvh - 2px); }
}
.pf-image-jimena-nails { background:linear-gradient(105deg,#64475d,#aa9295); }
.pf-image-sneaker-fresh { background:linear-gradient(105deg,#3a575f,#8499aa); }
