@property --sh-w { syntax: '<length>'; inherits: true; initial-value: 234px; }
@property --sh-pad { syntax: '<length>'; inherits: true; initial-value: 20px; }
@property --sh-panel { syntax: '<length>'; inherits: true; initial-value: 0px; }
.shell, .sh-frame, .sh-bar { display: none; }
.sh-mbar, .sh-tabbar { display: none; }

.nav-pill, .nav-pill.primary, .nav-pill:hover, .nav-pill.active, .nav-pill.sel, .work-filter .nav-pill.sel, .contact-pills .nav-pill.sel, .contact-pills .p-pri:hover,
.nav-cv, .nav-cv:hover, .f-pill, .icon-btn, .icon-btn:hover, .chat-close, .chat-close:hover, .res-lock-btn.is-open, .composer .icon-btn, .composer .icon-btn:hover {
  border-radius: 8px; clip-path: none; overflow: hidden;
}

.sm-tag, .case-tag, .s-tag, .case-wip, .uit-tag, .cpk .cpk-ph, .cpk img,
.deliver, .work-card .media, .svc-next--proyecto .svc-next-media img, .case-img, .case-img.two > span, .case-img.two.has-img > img,
.award-medalla, .case-cover img, .case-shot img, .noti .noti-foto,
.find-card, .find-grid--celeste .find-card, .metric-card, .nota-card, .case-proto {
  border-radius: 8px; clip-path: none; overflow: clip;
}
.find-card::before, .find-grid--celeste .find-card::before, .metric-card::before, .nota-card::before, .case-proto::before, .work-card .media.media-light::before {
  border-radius: 7px; clip-path: none;
}
@media (max-width: 700px) {
  .carta-overlay .carta-card, .carta-overlay .carta-body { border-radius: 8px; clip-path: none; overflow: clip; }
  .carta-overlay .carta-card::before { border-radius: 7px; clip-path: none; }
}

@media (min-width: 961px) {
  .nav-pill, .work-filter .nav-pill, .contact-pills .nav-pill, .res-list .res-item, .res-lock-btn.is-open {
    display: inline-flex; align-items: center; justify-content: center; vertical-align: middle;
    height: 32px; padding: 0 12px; font-size: var(--t-small);
  }
  .res-lock-face .ic-lock { display: none; }
  .pin-inputs { gap: 4px; }
  .pin-d { width: 24px; height: 24px; font-size: var(--t-small); }
  .icon-btn { width: 32px; height: 32px; }
}

@media (min-width: 961px) {
  html.has-shell { --sh-w: 234px; --sh-pad: 20px; --sh-top: 8px; --sh-bar: 52px; --sv-foot: 128px; --sh-bg: #FAFAFA; --sh-active: #E7E7E8; --sh-line: rgba(13, 13, 14, 0.12); --sh-muted: rgba(13, 13, 14, 0.62); --sh-ease: cubic-bezier(0.075, 0.82, 0.165, 1); --sh-x: calc(var(--sh-w) + var(--sh-panel)); transition: --sh-w 1s var(--sh-ease), --sh-pad 1s var(--sh-ease), --sh-panel 0.5s cubic-bezier(0.3, 0, 0, 1); }
  html.has-shell.contact-open { --sh-panel: 408px; }
  html.has-shell.sh-no-anim { transition: none; }
  html.has-shell.shell-collapsed { --sh-w: 72px; --sh-pad: 16px; }

  html.has-shell body { padding-left: var(--sh-x); padding-top: var(--sh-top); }
  html.has-shell .spec-nav, html.has-shell .site-footer { display: none; }
  html.has-shell .hero-spec { min-height: calc(100vh - var(--sh-top) - var(--sh-bar)); }
  .sh-bar { position: sticky; top: var(--sh-top); z-index: 580; display: flex; align-items: center; gap: 8px; height: var(--sh-bar); padding: 0 16px; background: #fff; border-bottom: 1px solid var(--sh-line); color: var(--tinta); font-family: var(--font-ui); font-size: var(--t-small); font-weight: 500; line-height: 20px; }
  .sh-bar .sh-ic { width: 20px; height: 20px; }

  .shell {
    position: fixed; top: 0; left: 0; bottom: 0; z-index: 600;
    width: var(--sh-w); padding: 20px var(--sh-pad);
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    background: var(--nav-bg, var(--sh-bg)); color: var(--nav-fg, var(--tinta));
    font-family: var(--font-ui); font-size: var(--t-body); line-height: 1.25;
    overflow-x: hidden; overflow-y: auto; scrollbar-width: none;
  }
  .sh-top, .sh-bottom, .sh-nav, .sh-links, .sh-contact { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
  .sh-bottom { gap: 16px; }

  .sh-item, .sh-brand, .sh-collapse {
    display: flex; align-items: center; gap: 8px; height: 32px; padding: 4px 8px; width: 100%;
    border-radius: 8px; color: inherit; text-decoration: none; white-space: nowrap; overflow: hidden;
    background-color: transparent; border: 0; font: inherit; text-align: left; cursor: pointer;
    transition: background-color 0.4s;
  }
  .sh-item:hover, .sh-brand:hover, .sh-collapse:hover, .sh-item[aria-current="page"] { background-color: var(--sh-active); }
  .sh-item { font-size: var(--t-small); }
  .sh-item:focus-visible, .sh-brand:focus-visible, .sh-collapse:focus-visible, .sh-card:focus-visible { outline: 2px solid var(--violeta); outline-offset: 0; }

  .sh-ic { flex: none; width: 24px; height: 24px; overflow: visible; }
  .sh-ic * { transition: transform 0.3s; }
  .sh-nav .sh-ic, .sh-collapse .sh-ic, .sh-links .sh-ic, .sh-bell .sh-ic { scale: 0.9; }
  .sh-label { min-width: 0; overflow: hidden; text-overflow: ellipsis; transition: opacity 0.1s; }

  .sh-brand { width: auto; align-self: flex-start; }
  .sh-logo { display: block; flex: none; width: 24px; height: 24px; }
  .sh-id { flex: none; width: 194px; padding: 0 8px; margin: 8px 0 12px; display: flex; flex-direction: column; gap: 4px; transition: opacity 0.1s; }
  .sh-id p { margin: 0; }
  .sh-id-name { font-size: 22px; font-weight: 700; line-height: 1.25; }
  .sh-id-role { font-size: var(--t-meta); line-height: 1.4; color: var(--sh-muted); }
  .sh-id-name + .sh-id-role { font-size: calc(var(--t-meta) + 4px); }
  .shell-collapsed .sh-id { opacity: 0; pointer-events: none; }
  .sh-collapse { height: 28px; margin-bottom: 16px; color: var(--sh-muted); font-size: var(--t-small); }
  .sh-collapse .sh-ic { transition: transform 0.6s; }
  .shell-collapsed .sh-collapse .sh-ic { transform: rotate(180deg); }

  .sh-count { margin-left: auto; flex: none; padding: 2px 8px; border-radius: 8px; background: var(--celeste); color: var(--tinta); font-size: calc(var(--t-label) + 1px); font-weight: 600; line-height: 16px; }

  .sh-card {
    display: flex; flex-direction: column; gap: 4px; padding: 4px 4px 12px;
    border-radius: 16px; background: #fff; border: 1px solid var(--sh-line); color: inherit; text-decoration: none;
    transition: opacity 0.1s;
  }
  .sh-card-media { display: block; overflow: hidden; border-radius: 12px; background: var(--pill); margin-bottom: 4px; }
  .sh-card-media img { display: block; width: 100%; height: auto; }
  .sh-card-title, .sh-card-sub { padding: 0 8px; }
  .sh-card-title { font-size: var(--t-small); font-weight: 500; }
  .sh-card-sub { font-size: calc(var(--t-label) + 1px); color: var(--sh-muted); }

  .sh-mail { font-size: var(--t-meta); }
  .sh-mail-text { height: 20px; }
  .sh-mail-roll { display: flex; flex-direction: column; transition: transform 0.4s; }
  .sh-mail-roll > span { height: 20px; line-height: 20px; }
  .sh-mail.is-copied .sh-mail-roll { transform: translateY(-20px); }
  .sh-time { margin: 0; padding-left: 40px; height: 20px; font-size: var(--t-small); color: var(--sh-muted); font-variant-numeric: tabular-nums; white-space: nowrap; transition: opacity 0.1s; }

  .sh-item:hover .i-line { transform: translateY(-1.5px); }
  .sh-item:hover .i-box { transform: translate(1px, -1px); }
  .sh-item:hover .i-box1 { transform: translate(-1px, 1px); }
  .i-spin { transform-origin: 12px 12.8px; }
  .sh-nav .i-spin { transform: scale(0.855) rotate(0deg); }
  .sh-nav .sh-item:hover .i-spin { transform: scale(0.855) rotate(72deg); }
  .sh-item:hover .i-fly { transform: translate(2px, -2px); }
  .sh-item:hover .i-drop { transform: translateY(-2px); }
  .sh-item:hover .i-dot { transform: translateY(-1.5px); }
  .sh-item:hover .i-slide { transform: translate(1.5px, -1.5px); }

  .shell-collapsed .shell .sh-label, .shell-collapsed .sh-count, .shell-collapsed .sh-time, .shell-collapsed .sh-card { opacity: 0; pointer-events: none; }

  .sh-frame {
    display: block; position: fixed; top: var(--sh-top); left: var(--sh-x); right: 0; bottom: 0; z-index: 590; pointer-events: none;
    border-top: 1px solid var(--sh-line); border-left: 1px solid var(--sh-line); border-top-left-radius: 16px;
    box-shadow: 0 0 0 100vmax var(--nav-bg, var(--sh-bg));
  }

  .shell::-webkit-scrollbar { display: none; }
  @view-transition { navigation: auto; }
  .shell { view-transition-name: sh-shell; }
  .sh-frame { view-transition-name: sh-frame; }
  .sh-bar { view-transition-name: sh-bar; }
  ::view-transition-group(sh-shell), ::view-transition-group(sh-frame), ::view-transition-group(sh-bar) { z-index: 100; }
  ::view-transition-old(sh-frame), ::view-transition-new(sh-frame), ::view-transition-old(sh-bar), ::view-transition-new(sh-bar) { animation: none; }
  ::view-transition-old(sh-frame), ::view-transition-old(sh-bar) { display: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
  ::view-transition-group(sh-shell), ::view-transition-old(sh-shell), ::view-transition-new(sh-shell) { animation-duration: 150ms; animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }


  @media (max-height: 786px) {
    .shell { padding-top: 16px; padding-bottom: 16px; gap: 16px; }
    .sh-top, .sh-contact { gap: 0; }
    .sh-id { margin: 4px 0 8px; }
    .sh-collapse { margin-bottom: 8px; }
    .sh-bottom { gap: 8px; }
  }

  @media (prefers-reduced-motion: reduce) {
    ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none; }
    .shell, .sh-frame, html.has-shell body, .sh-ic *, .sh-mail-roll { transition: none; }
  }
}

.hero-empty { position: absolute; right: 20px; bottom: 20px; z-index: 1; width: max-content; max-width: calc(100% - 40px); display: flex; flex-direction: column; align-items: flex-end; text-align: right; }
.he-title { margin: 0 0 16px; max-width: 505px; font-size: 24px; font-weight: 600; line-height: 32px; color: var(--tinta); }
.he-body { margin: 0 0 16px; max-width: 505px; font-size: var(--t-small); line-height: 20px; color: var(--tinta); text-wrap: balance; }
.he-line { margin: 0 0 16px; font-size: var(--t-small); font-weight: 500; line-height: 20px; color: var(--tinta); }
.he-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; margin-bottom: 0; }
.he-link { margin: 0; font-size: var(--t-small); font-weight: 500; line-height: 20px; color: var(--acento, #6449FF); text-decoration: none; transition: color 0.2s; }
.he-link:hover { color: var(--tinta); }

@media (min-width: 961px) {
  .sv-app { min-height: calc(100vh - var(--sh-top) - var(--sh-bar)); }

  html.has-shell main.case { display: block; max-width: none; margin: 0; padding: 32px 56px 100px calc(368px + 64px); }
  html.has-shell main.case .case-fixed { position: fixed; top: calc(var(--sh-top) + var(--sh-bar)); bottom: 0; left: var(--sh-x); z-index: 1; align-self: stretch; width: 368px; padding: 32px 32px 0 56px; border-right: 1px solid var(--sh-line); overflow-x: hidden; overflow-y: auto; scrollbar-width: none; }
  .case--servicio .svc-hero-media { order: -1; }
  .case--servicio .svc-hero-media { align-self: flex-start; }
  .case--servicio .svc-hero-media { width: 190px; height: 143px; }
  .case--servicio .svc-hero-media img { width: 100%; height: 100%; object-fit: contain; }

  main.case { view-transition-name: svc-expand; }
  main.case .case-fixed { view-transition-name: svc-aside; }
  .case--servicio .svc-hero-media { view-transition-name: svc-video; }
  main.case .case-scroll { view-transition-name: svc-content; }
  main.case:not(.case--servicio) .case-scroll > :first-child { view-transition-name: svc-video; }
  ::view-transition-group(svc-expand) { z-index: 1; animation-duration: 450ms; animation-timing-function: cubic-bezier(0.3, 0, 0, 1); background: #fff; }
  ::view-transition-old(svc-expand), ::view-transition-new(svc-expand) { display: none; }
  ::view-transition-group(svc-video) { z-index: 3; animation-duration: 450ms; animation-timing-function: cubic-bezier(0.3, 0, 0, 1); }
  ::view-transition-old(svc-video) { display: none; }
  ::view-transition-new(svc-video) { animation: none; }
  ::view-transition-group(svc-aside), ::view-transition-group(svc-content) { z-index: 2; }
  ::view-transition-group(svc-before-1), ::view-transition-group(svc-before-2), ::view-transition-group(svc-before-3), ::view-transition-group(svc-before-4), ::view-transition-group(svc-after-1), ::view-transition-group(svc-after-2), ::view-transition-group(svc-after-3), ::view-transition-group(svc-after-4) { z-index: 1; }
  ::view-transition-old(svc-old) { animation: svc-fade-out 150ms ease-out both; }
  ::view-transition-old(svc-before-1), ::view-transition-old(svc-before-2), ::view-transition-old(svc-before-3), ::view-transition-old(svc-before-4) { animation: svc-out-left 450ms cubic-bezier(0.3, 0, 0, 1) both; }
  ::view-transition-old(svc-after-1), ::view-transition-old(svc-after-2), ::view-transition-old(svc-after-3), ::view-transition-old(svc-after-4) { animation: svc-out-right 450ms cubic-bezier(0.3, 0, 0, 1) both; }
  ::view-transition-new(svc-aside) { animation: svc-rise 300ms cubic-bezier(0.2, 0, 0, 1) 380ms both; }
  ::view-transition-new(svc-content) { animation: svc-rise 350ms cubic-bezier(0.2, 0, 0, 1) 440ms both; }
  ::view-transition-old(svc-aside), ::view-transition-old(svc-content) { animation: svc-fade-out 150ms ease-out both; }
  @keyframes svc-fade-out { to { opacity: 0; } }
  @keyframes svc-out-left { to { transform: translateX(-120vw); } }
  @keyframes svc-out-right { to { transform: translateX(120vw); } }
  @keyframes svc-rise { from { opacity: 0; transform: translateY(8px); } }
}

@media (min-width: 961px) {
  .sv-app--overview .sv-doc { padding: 0; }
  .sv-app--overview section.container { padding: 0 !important; margin: 0; max-width: none; width: 100%; }
  .sv-app--overview .sm-grid--servicios { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; height: calc(100vh - var(--sh-top) - var(--sh-bar) - var(--sv-foot)); }
  .sv-app--overview .sm-card { grid-column: auto; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; padding: max(24px, calc((100vh - var(--sh-top) - var(--sh-bar) - var(--sv-foot) - 520px) / 2)) 32px 24px; text-align: center; text-decoration: none; color: var(--tinta); }
  .sv-app--overview .sm-card + .sm-card { border-left: 1px solid var(--sh-line); }
  .sv-app--overview .sm-card > svg, .sv-app--overview .card-arrow { display: none; }

  .sv-app--overview .svc-hud, .sv-app--overview .svc-hud.hud-1, .sv-app--overview .svc-hud.hud-3, .sv-app--overview .svc-hud.hud-5 { position: relative; width: 300px; height: 168px; margin: 0; flex: none; }
  .sv-app--overview .svc-hud .hud-svg { display: none; }
  .sv-app--overview .svc-hud .hud-3d, .sv-app--overview .hud-1 .hud-3d, .sv-app--overview .hud-3 .hud-3d, .sv-app--overview .hud-5 .hud-3d { left: 50%; top: auto; bottom: 0; z-index: 2; width: 224px; height: 168px; transform: translateX(-50%); }

  .sv-card-info { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 320px; }
  .sv-app--overview .sv-card-info .hud-num { position: static; font-family: var(--font-mono); font-size: var(--t-meta); line-height: 16px; color: var(--sh-muted); }
  .sv-app--overview .sm-card-title { margin: 0; min-height: 0; max-width: none; font-family: var(--font-ui); font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.01em; }
  .sv-app--overview .sm-card-text { margin: 0; font-size: var(--t-small); line-height: 20px; color: var(--sh-muted); }
  .sv-app--overview .sm-tags { justify-content: center; margin: 8px 0 0; }
  .sv-app--overview .sv-cta { margin-top: 16px; }
  .sv-app--overview .sm-card:hover .sv-cta .roll i { transform: translateY(-100%); }
}

@media (min-width: 961px) {
  .sv-app--overview .hud-1 .hud-3d, .sv-app--overview .hud-3 .hud-3d, .sv-app--overview .hud-5 .hud-3d { width: 190px; height: 143px; }
  .sv-foot { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 12px; height: var(--sv-foot); padding: 16px 32px; text-align: right; border-top: 1px solid var(--sh-line); background: #fff; }
  .sv-foot-txt { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
  .sv-foot-title { margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; color: var(--tinta); }
  .sv-foot-sub { margin: 0; font-size: var(--t-small); line-height: 20px; color: var(--sh-muted); }
}

@media (min-width: 961px) {
  .sh-tabs { position: sticky; top: calc(var(--sh-top) + var(--sh-bar)); z-index: 579; display: flex; align-items: center; height: 48px; padding: 0 8px; background: #fff; border-bottom: 1px solid var(--sh-line); }
  .sh-tabs .work-filter { margin: 0; justify-content: flex-start; gap: 8px; }
  body:has(.sh-tabs) .work-grid { margin-top: 32px; }
}


@media (min-width: 961px) {
  main.case .case-title { font-family: var(--font-ui); font-size: 32px; font-weight: 600; line-height: 40px; letter-spacing: -0.01em; text-transform: none; }
  main.case .case-sub { font-family: var(--font-ui); font-size: 16px; line-height: 24px; color: var(--sh-muted); }
  main.case .case-block h2 { font-family: var(--font-ui); font-size: 24px; font-weight: 600; line-height: 32px; letter-spacing: -0.01em; margin-bottom: 12px; }
  main.case .case-block h3 { font-family: var(--font-ui); font-size: 18px; font-weight: 600; line-height: 28px; }
  main.case .case-block p, main.case .case-block li { font-size: 16px; line-height: 24px; }
}

.case--servicio .case-scroll > .case-block:first-child:not(:has(> .svc-next)) { display: block; }
@media (min-width: 961px) {
  main.case .case-fixed > .svc-next { margin-top: 12px; align-self: flex-start; }
}

main.case .find-card, main.case .find-grid--celeste .find-card {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; align-items: start;
  padding: 16px 20px; border: 1px dashed rgba(13, 13, 14, 0.16); border-radius: 16px; background: transparent; clip-path: none;
}
main.case .find-grid--celeste .find-card::before { display: none; }
main.case .find-card .fn { display: none; }
main.case .find-card .fc-ic, main.case .metric-card .fc-ic { grid-row: 1 / span 2; align-self: center; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #FAFAFA; border: 1px solid rgba(13, 13, 14, 0.12); color: var(--tinta); }
main.case .find-card .fc-ic svg, main.case .metric-card .fc-ic svg { width: 20px; height: 20px; }
main.case .find-card b { grid-column: 2; font-family: var(--font-ui); font-size: 16px; font-weight: 600; line-height: 24px; }
main.case .find-card > span:last-child { grid-column: 2; font-size: var(--t-small); line-height: 20px; color: rgba(13, 13, 14, 0.62); }

@media (min-width: 961px) {
  main.case .case-fixed > .svc-next { margin-top: auto; align-self: stretch; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; width: auto; justify-self: auto; position: sticky; bottom: 0; z-index: 1; padding: 16px 0 24px; background: #fff; }
  main.case .case-fixed > .svc-next .svc-next-media { width: 58px; height: 50px; }
  main.case .case-fixed > .svc-next .svc-next-t { width: auto; max-width: 160px; text-align: left; }
  main.case .case-fixed > .svc-next .svc-next-t .svc-next-arrow { display: inline-block; vertical-align: middle; margin-left: 4px; }
}

.svc-back { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; color: var(--tinta); text-decoration: none; }
.svc-back .svc-next-t { width: auto; text-align: left; }
.svc-back-arrow { display: block; flex: none; transition: transform 0.2s; }
.svc-back:hover .svc-next-t { opacity: 0.6; }
.svc-back:hover .svc-back-arrow { transform: translateX(-3px); }
@media (min-width: 961px) {
  main.case .case-fixed > .svc-back { order: -2; margin-bottom: 4px; }
}

@media (min-width: 961px) {
  body:has(.pj-card) main > section.container, body:has(.pj-card) section.container { min-height: 0 !important; padding: 32px 56px !important; max-width: none; margin: 0; display: block !important; }
  body:has(.pj-card) .work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: start; width: 100%; margin: 0; justify-content: start; }
  body:has(.pj-card) .work-grid > .work-card { flex: none; min-width: 0; }
  .pj-card { display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 4px 4px 12px; text-align: left; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; overflow: clip; text-decoration: none; transition: border-color 0.3s; }
  .pj-card:hover { border-color: rgba(13, 13, 14, 0.24); }
  .pj-svg { display: block; width: 20px; height: 20px; flex: none; }
  .pj-card .media, .pj-card:hover .media { aspect-ratio: 5 / 4; height: auto; margin: 0 0 4px; border-radius: 12px; clip-path: none; transform: none; overflow: hidden; }
  .pj-card .wtitle { margin: 0; padding: 0 8px; min-height: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-ui); font-size: var(--t-small); font-weight: 500; line-height: 20px; letter-spacing: 0; color: var(--tinta); }
  .sh-tabs .nav-pill .pj-svg { width: 16px; height: 16px; margin-right: 8px; }
}

.work-desc { margin: 8px 0 0; font-size: var(--t-meta); line-height: 18px; color: rgba(13, 13, 14, 0.62); }
@media (min-width: 961px) {
  .pj-card .work-tags { display: none; }
  .pj-card .work-desc { margin: 0; padding: 0 8px; font-size: 12px; line-height: 16px; color: rgba(13, 13, 14, 0.62); }
}

@media (min-width: 961px) {
  .sh-tabs .work-filter .nav-pill .n { margin-left: 6px; color: inherit; font-weight: 700; opacity: 1; }
}

main.case .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
main.case .metric-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: start; padding: 16px 20px; border: 1px dashed rgba(13, 13, 14, 0.16); border-radius: 16px; background: transparent; clip-path: none; }
main.case .metric-card::before { display: none; }
main.case .metric-card .m-num { grid-column: 2; font-family: var(--font-ui); font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.01em; }
main.case .metric-card .m-label { grid-column: 2; font-size: var(--t-small); line-height: 20px; color: rgba(13, 13, 14, 0.62); }
@media (max-width: 700px) { main.case .metric-grid { grid-template-columns: 1fr; } }

main.case .deliver.deliver--list { padding: 0; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; clip-path: none; overflow: clip; }
.dl-head { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid var(--sh-line); }
.dl-head-ic { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 8px; background: var(--celeste); color: var(--tinta); }
.dl-head-ic svg, .dl-ic svg { display: block; width: 20px; height: 20px; }
main.case .deliver--list .deliver-eyebrow { margin: 0; font-family: var(--font-ui); font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: 0; text-transform: none; color: var(--tinta); }
main.case .deliver--list .deliver-list { margin: 0; padding: 8px 20px 12px; }
main.case .deliver--list .deliver-list li, main.case .deliver--list .deliver-list li:first-child { display: grid; grid-template-columns: 20px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 10px 0; border-top: 0; font-family: var(--font-ui); font-size: var(--t-small); line-height: 20px; color: rgba(13, 13, 14, 0.62); }
.dl-ic { color: rgba(13, 13, 14, 0.62); }
main.case .deliver--list .deliver-list li b { font-weight: 500; color: var(--tinta); }
.svc-next-t .nw { white-space: nowrap; }
@media (min-width: 961px) {
  html.has-shell main.case .case-fixed, main.case .case-fixed > .svc-next {
    background-color: #fff;
    background-image: linear-gradient(to right, #FAFAFA 1px, transparent 1px), linear-gradient(to bottom, #FAFAFA 1px, transparent 1px);
    background-size: 9px 9px; background-attachment: fixed;
  }
}

.proto-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 120px; padding: 20px 24px; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; overflow: hidden; color: var(--tinta); text-decoration: none; transition: border-color 0.3s; }
.proto-card:hover { border-color: rgba(13, 13, 14, 0.24); }
.proto-card-txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; max-width: 62%; }
main.case .case-block .proto-card-title { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-ui); font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: 0; }
.proto-badge { padding: 2px 8px; border-radius: 8px; background: var(--lila); border: 1px solid rgba(107, 85, 172, 0.2); color: var(--violeta); font-size: 12px; font-weight: 600; line-height: 16px; }
.proto-card-desc { font-size: var(--t-small); line-height: 20px; color: rgba(13, 13, 14, 0.62); }
.proto-card-media { position: relative; flex: none; display: flex; align-items: center; justify-content: center; width: 180px; height: 120px; margin: -20px -24px -20px 0; }
.proto-card-media::before, .proto-card-media::after { content: ""; position: absolute; top: 50%; left: 50%; border: 1px dashed rgba(13, 13, 14, 0.18); border-radius: 50%; transform: translate(-50%, -50%); }
.proto-card-media::before { width: 220px; height: 220px; }
.proto-card-media::after { width: 136px; height: 136px; }
.proto-card-media img { position: relative; z-index: 1; display: block; width: 104px; height: 65px; object-fit: cover; object-position: top; border-radius: 6px; border: 1px solid var(--sh-line); box-shadow: 0 4px 12px rgba(13, 13, 14, 0.08); transition: transform 0.4s cubic-bezier(0.2, 0, 0, 1); }
.proto-card:hover .proto-card-media img { transform: scale(1.06); }
@media (max-width: 600px) { .proto-card-media { display: none; } .proto-card-txt { max-width: none; } }

main.case .award-medalla { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: start; padding: 16px 20px; background: transparent; border: 1px dashed rgba(13, 13, 14, 0.16); border-radius: 16px; clip-path: none; }
main.case .award-medalla .award-fila, main.case .award-medalla .award-textos { display: contents; }
main.case .award-medalla .award-sello { grid-column: 1; grid-row: 1 / span 3; align-self: center; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; margin: 0; border-radius: 50%; background: #FAFAFA; border: 1px solid rgba(13, 13, 14, 0.12); }
main.case .award-medalla .award-rama { display: none; }
main.case .award-medalla .award-iso { display: block; width: 22px; height: auto; margin: 0; }
main.case .award-medalla .award-anio { grid-column: 2; grid-row: 1; margin: 0; font-family: var(--font-ui); font-size: 12px; line-height: 16px; letter-spacing: 0; color: rgba(13, 13, 14, 0.62); }
main.case .award-medalla .award-titulo { grid-column: 2; grid-row: 2; margin: 0; font-family: var(--font-ui); font-size: var(--t-small); font-weight: 600; line-height: 20px; color: var(--tinta); }
main.case .award-medalla .award-otorgante { grid-column: 2; grid-row: 3; margin: 0; font-family: var(--font-ui); font-size: 13px; line-height: 18px; color: rgba(13, 13, 14, 0.62); }

@media (min-width: 961px) {
  .sh-avail { display: flex; flex-direction: column; gap: 2px; padding: 8px; border: 1px dashed rgba(13, 13, 14, 0.16); border-radius: 16px; transition: opacity 0.1s; }
  .sh-avail-title { padding: 0 4px; font-size: var(--t-small); font-weight: 500; line-height: 20px; white-space: nowrap; }
  .sh-avail-time { margin: 0; padding: 0 4px; font-size: 13px; line-height: 18px; color: var(--sh-muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
  .sh-avail .sh-mail { width: auto; margin: 8px 0 0; padding: 4px; gap: 6px; font-size: 12px; }
  .sh-avail .sh-mail .sh-ic { width: 20px; height: 20px; }
  .shell-collapsed .sh-avail { opacity: 0; pointer-events: none; }
}

@media (min-width: 961px) {
  .sv-app--overview .sm-card { align-items: stretch; }
  .sv-app--overview .sm-card .svc-hud { align-self: center; }
  .sv-app--overview .sv-card-info { flex: 1 1 auto; width: 100%; max-width: none; align-items: stretch; text-align: center; }
  .sv-tags { display: flex; flex-direction: column; gap: 8px; width: 100%; margin-top: 12px; text-align: left; }
  .sv-tag-row { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border: 1px dashed rgba(13, 13, 14, 0.16); border-radius: 16px; }
  .sv-tag-ic { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #FAFAFA; border: 1px solid rgba(13, 13, 14, 0.12); color: var(--tinta); }
  .sv-tag-ic svg { display: block; width: 18px; height: 18px; }
  .sv-tag-label { font-size: var(--t-small); font-weight: 500; line-height: 20px; color: var(--tinta); }
  .sv-app--overview .sv-cta { margin-top: auto; align-self: flex-end; }
  .sv-app--overview .sv-tags + .sv-cta { margin-top: auto; }
  .sv-app--overview .sv-card-info > .sv-tags { margin-bottom: 16px; }
}

@media (min-width: 961px) {
  .sh-contact { display: block; position: fixed; top: var(--sh-top); bottom: 0; left: var(--sh-w); z-index: 595; width: max(0px, calc(var(--sh-panel) - 8px)); overflow: hidden; background: #fff; border-radius: 16px 16px 0 0; box-shadow: inset 0 0 0 1px var(--sh-line); visibility: hidden; view-transition-name: sh-contact; }
  html.contact-open .sh-contact, html.contact-closing .sh-contact { visibility: visible; }
  html.contact-page .sh-contact { visibility: visible; right: 0; width: auto; border-radius: 16px 0 0 0; view-transition-name: none; }
  html.contact-page .sh-cp { width: 100%; }
  html.contact-page .sh-cp-close { display: none; }
  html.contact-page .sh-cp-body, html.contact-page .sh-cp-chat { padding-inline: max(20px, calc((100% - 560px) / 2)); }
  ::view-transition-group(sh-contact) { z-index: 100; }
  ::view-transition-old(sh-contact) { display: none; }
  ::view-transition-new(sh-contact) { animation: none; }
  html.contact-open .sh-nav a[href="contacto.html"] { background-color: var(--sh-active); }
  .sh-cp { display: flex; flex-direction: column; width: 400px; height: 100%; }
  .sh-cp-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: var(--sh-bar); padding: 0 10px 0 16px; border-bottom: 1px solid var(--sh-line); font-size: var(--t-small); font-weight: 500; line-height: 20px; }
  .sh-cp-close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.4s; }
  .sh-cp-close:hover { background: var(--sh-active); }
  .sh-cp-close .sh-ic { width: 18px; height: 18px; }
  .sh-cp-body { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 20px; }
  .sh-cp-card { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 16px 20px; border: 1px dashed rgba(13, 13, 14, 0.16); border-radius: 16px; color: var(--tinta); text-decoration: none; transition: border-color 0.3s; }
  .sh-cp-card:hover { border-color: rgba(13, 13, 14, 0.32); }
  .sh-cp-cover { position: absolute; inset: 0; border-radius: inherit; }
  .sh-cp-ic { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #FAFAFA; border: 1px solid rgba(13, 13, 14, 0.12); }
  .sh-cp-ic .sh-ic { width: 20px; height: 20px; }
  .sh-cp-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .sh-cp-txt b { font-size: 15px; font-weight: 600; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sh-cp-txt span { font-size: var(--t-small); line-height: 20px; color: rgba(13, 13, 14, 0.62); }
  .sh-cp-copy { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.4s; }
  .sh-cp-copy:hover { background: var(--sh-active); }
  .sh-cp-copy .sh-ic { width: 20px; height: 20px; }
  .sh-cp-chat { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; border-top: 1px solid var(--sh-line); }
  .sh-cp-note { margin: 0; font-size: 13px; line-height: 18px; color: rgba(13, 13, 14, 0.62); }
  .sh-cp-note b { font-weight: 600; color: var(--tinta); }
  .sh-cp-composer { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--sh-line); border-radius: 16px; background: #fff; transition: border-color 0.3s; }
  .sh-cp-composer:focus-within { border-color: rgba(13, 13, 14, 0.4); }
  .sh-cp-msg { width: 100%; min-height: 64px; border: 0; outline: 0; resize: none; font: inherit; font-size: var(--t-small); line-height: 20px; color: var(--tinta); background: transparent; }
  .sh-cp-row { display: flex; align-items: center; gap: 8px; }
  .sh-cp-email { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--sh-line); border-radius: 8px; font: inherit; font-size: 13px; color: var(--tinta); background: #FAFAFA; outline: 0; }
  .sh-cp-email:focus { border-color: rgba(13, 13, 14, 0.4); background: #fff; }
  .sh-cp-email[aria-invalid="true"], .sh-cp-msg[aria-invalid="true"] { border-color: #E5484D; }
  .sh-cp-send { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: var(--tinta); color: #fff; cursor: pointer; }
  .sh-cp-send:disabled { opacity: 0.4; cursor: not-allowed; }
  .sh-cp-send .sh-ic { width: 18px; height: 18px; }
  .sh-cp-err { margin: 0; font-size: 13px; line-height: 18px; color: #E5484D; }
  .sh-cp-sent { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px dashed rgba(13, 13, 14, 0.16); border-radius: 16px; }
  .sh-cp-sent[hidden], .sh-cp-composer[hidden], .sh-cp-note[hidden] { display: none; }
  .sh-cp-sent b { font-size: 15px; line-height: 22px; }
  .sh-cp-sent span { font-size: var(--t-small); line-height: 20px; color: rgba(13, 13, 14, 0.62); }
  .sh-cp-again { align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; text-decoration: underline; color: var(--tinta); cursor: pointer; }
  @media (prefers-reduced-motion: reduce) { html.has-shell { transition: none; } }
}

@media (min-width: 961px) {
  .sv-app--overview .sm-card { min-height: 0; overflow-y: auto; scrollbar-width: none; }
  .sv-app--overview .sm-card::-webkit-scrollbar { display: none; }
  html.contact-open .sv-app--overview .sm-card { padding-top: 24px; }
  .sh-cp-title { display: flex; align-items: center; gap: 8px; }
  .sh-cp-title .sh-ic { width: 20px; height: 20px; }
}

@media (min-width: 961px) {
  .sv-app--overview .sm-card { container-type: inline-size; }
  .sv-app--overview .sm-card .svc-hud { --sv-v: clamp(88px, min(calc(22px + 34.6cqi), calc(100vh - 635px)), 143px); width: 100%; max-width: 300px; height: calc(var(--sv-v) * 168 / 143); }
  .sv-app--overview .sm-card .svc-hud .hud-3d { width: calc(var(--sv-v) * 190 / 143); height: var(--sv-v); }
  .sh-cp-intro { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
  .sh-cp-h { margin: 0; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.01em; color: var(--tinta); }
  .sh-cp-sub { margin: 0; font-size: var(--t-small); line-height: 20px; color: rgba(13, 13, 14, 0.62); }
}
@media (max-width: 960px) {
  .sm-card-title br { display: none; }
}

@media (min-width: 961px) {
  .sh-cp-body {
    background-color: #fff;
    background-image: linear-gradient(to right, #FAFAFA 1px, transparent 1px), linear-gradient(to bottom, #FAFAFA 1px, transparent 1px);
    background-size: 9px 9px; background-attachment: fixed;
  }
  .sh-cp-card, .sv-tag-row { background-color: #fff; }
}

@media (min-width: 961px) {
  .sh-contact::after { content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; box-shadow: inset 0 0 0 1px var(--sh-line); pointer-events: none; }
  .sh-cp-composer { gap: 0; padding: 4px; border: 1px solid var(--sh-line); border-radius: 20px; background: var(--sh-bg); transition: background-color 0.3s, border-color 0.3s; }
  .sh-cp-composer:focus-within { border-color: transparent; background: var(--celeste); }
  .sh-cp-box { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sh-line); border-radius: 16px; background: #fff; transition: border-color 0.3s; }
  .sh-cp-composer:focus-within .sh-cp-box { border-color: var(--acento, #6449FF); }
  .sh-cp-msg { display: block; min-height: 64px; max-height: 160px; padding: 12px 16px; overflow-y: auto; }
  .sh-cp-row { gap: 8px; padding: 8px 8px 8px 16px; border-top: 1px solid var(--sh-line); }
  .sh-cp-field { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; min-width: 0; color: rgba(13, 13, 14, 0.62); cursor: text; }
  .sh-cp-field .sh-ic { flex: none; width: 16px; height: 16px; }
  .sh-cp-email, .sh-cp-email:focus { height: 32px; padding: 0; border: 0; background: transparent; }
  .sh-cp-email[aria-invalid="true"] { color: #E5484D; }
  .sh-cp-send { background: var(--sh-active); color: rgba(13, 13, 14, 0.4); transition: background-color 0.3s, color 0.3s, transform 0.2s; }
  .sh-cp-send.is-ready { background: var(--tinta); color: #fff; }
  .sh-cp-send.is-ready:hover { transform: translateY(-1px); }
  .sh-cp-send.is-ready:active { transform: translateY(0); }
  .sh-cp-composer:has([aria-invalid="true"]) { background: rgba(229, 72, 77, 0.12); }
  .sh-cp-composer .sh-cp-box:has([aria-invalid="true"]) { border-color: #E5484D; }
}

@media (min-width: 961px) {
  .sh-ic .i-smile { transform-origin: 12px 15px; }
  .sh-item:hover .i-smile { transform: scaleX(1.15); }
  .sh-tabs .work-filter { gap: 4px; }
  html .sh-tabs .work-filter .nav-pill { height: 28px; padding: 0 8px; font-size: 13px; line-height: 16px; background: var(--sh-bg); color: var(--tinta); transition: background-color 0.3s; }
  html .sh-tabs .work-filter .nav-pill:hover { background: var(--sh-active); }
  html .sh-tabs .work-filter .nav-pill.sel { background: var(--celeste); }
  .sh-tabs .nav-pill .pj-svg { width: 14px; height: 14px; margin-right: 8px; }
  .sh-tabs .work-filter .nav-pill .n { margin-left: 4px; }
}

@media (min-width: 961px) {
  .sh-bell { position: absolute; top: 20px; left: calc(var(--sh-w) - 52px); z-index: 1; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.4s, top 1s var(--sh-ease); }
  .shell-collapsed .sh-bell { top: 60px; }
  .sh-bell:hover, .sh-bell[aria-expanded="true"] { background: var(--sh-active); }
  .sh-bell:focus-visible { outline: 2px solid var(--violeta); outline-offset: 0; }
  .sh-bell .sh-ic { width: 20px; height: 20px; }
  .sh-bell-dot { position: absolute; top: 6px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--acento, #6449FF); box-shadow: 0 0 0 2px var(--sh-bg); transition: box-shadow 0.4s; }
  .sh-bell:hover .sh-bell-dot, .sh-bell[aria-expanded="true"] .sh-bell-dot { box-shadow: 0 0 0 2px var(--sh-active); }
  .sh-bell-dot[hidden] { display: none; }
  .sh-bell .i-ring { transform-origin: 12px 3px; }
  .sh-bell:hover .i-ring { animation: sh-ring 0.6s ease-in-out; }
  @keyframes sh-ring { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(14deg); } 40% { transform: rotate(-12deg); } 60% { transform: rotate(8deg); } 80% { transform: rotate(-4deg); } }

  .sh-notis { position: fixed; z-index: 700; display: flex; flex-direction: column; width: 480px; overflow: hidden; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; box-shadow: 0 12px 32px rgba(13, 13, 14, 0.12), 0 2px 8px rgba(13, 13, 14, 0.06); font-family: var(--font-ui); color: var(--tinta); opacity: 0; transform: translateY(-4px); transition: opacity 0.2s, transform 0.2s; }
  .sh-notis.in { opacity: 1; transform: none; }
  .sh-notis[hidden] { display: none; }
  .sh-notis-head { flex: none; display: flex; align-items: center; justify-content: space-between; height: var(--sh-bar); padding: 0 10px 0 16px; border-bottom: 1px solid var(--sh-line); font-size: var(--t-small); font-weight: 500; line-height: 20px; }
  .sh-notis-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 28px 32px 24px; background-color: #fff; background-image: linear-gradient(to right, #FAFAFA 1px, transparent 1px), linear-gradient(to bottom, #FAFAFA 1px, transparent 1px); background-size: 9px 9px; background-attachment: fixed; }
  .sh-carta-hi { margin: 0 0 16px; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.01em; }
  .sh-carta-txt { display: flex; flex-direction: column; gap: 12px; }
  .sh-carta-txt p { margin: 0; font-size: var(--t-small); line-height: 22px; color: var(--tinta); }
  .sh-carta-firma { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
  .sh-carta-foto { flex: none; display: block; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
  .sh-carta-sign { display: flex; flex-direction: column; gap: 2px; margin: 0; }
  .sh-carta-sign b { font-size: var(--t-small); font-weight: 600; line-height: 20px; }
  .sh-carta-sign span, .sh-carta-connect span { font-size: 12px; line-height: 16px; color: var(--sh-muted); }
  .sh-carta-connect { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; margin: 0 0 0 auto; }
  .sh-carta-connect a { font-size: var(--t-small); font-weight: 500; line-height: 20px; color: var(--acento, #6449FF); text-decoration: none; transition: color 0.2s; }
  .sh-carta-connect a:hover { color: var(--tinta); }
}
@media (min-width: 961px) and (max-height: 786px) {
  .sh-bell { top: 16px; }
  .shell-collapsed .sh-bell { top: 56px; }
}
@media (min-width: 961px) and (prefers-reduced-motion: reduce) {
  .sh-bell:hover .i-ring { animation: none; }
}
@media (max-width: 960px) {
  .sh-notis { display: none; }
}

.he-left { display: none; }
@media (min-width: 961px) {
  .he-left { --he-f: clamp(28px, calc((100vw - var(--sh-x, 0px)) * 0.0375), 46px); display: flex; align-items: flex-start; gap: 24px; position: absolute; left: 20px; bottom: 20px; z-index: 1; transition: opacity 0.3s, visibility 0.3s; }
  .he-left-txt { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
  .he-headline { margin: 0; font-size: var(--he-f); white-space: nowrap; color: var(--tinta); text-align: left; }
}
@media (min-width: 961px) and (max-width: 1460px) {
  html.contact-open .he-left { opacity: 0; visibility: hidden; }
}
@media (min-width: 961px) and (max-width: 1040px) {
  .he-left { display: none; }
}

.about-panel[hidden] { display: none !important; }
@media (min-width: 961px) {
}

.pr-flow { list-style: none; margin: 0; padding: 0; }
@media (min-width: 961px) {
  .about-proceso { position: relative; display: flex; flex-direction: column; height: calc(100vh - var(--sh-top) - var(--sh-bar) - 48px); padding: 32px 36px; }
  .about-proceso .procflow { flex: 1 1 auto; min-height: 0; height: auto; margin: 0; }
  .about-proceso .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pr-flow { flex: none; display: grid; grid-template-columns: minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr) 12px minmax(0, 1fr); align-items: stretch; margin-top: 24px; }
  .pr-card { position: relative; z-index: 1; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; color: var(--tinta); }
  .pr-title { margin: 0; padding: 16px; font-family: var(--font-ui); font-size: var(--t-small); font-weight: 600; line-height: 20px; letter-spacing: 0; }
  .pr-items { flex: 1 1 auto; display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--sh-bg); border-top: 1px solid var(--sh-line); }
  .pr-items .sv-tag-row { background: #fff; }
  .pr-link { align-self: start; margin-top: 26px; height: 0; border-top: 1px dashed rgba(13, 13, 14, 0.24); }

  .pr-flow .pr-card { opacity: 0; transform: translateY(8px); }
  .pr-flow .pr-link { clip-path: inset(0 100% 0 0); }
  .pr-flow .pr-items .sv-tag-row { opacity: 0; transform: translateY(6px); }
  .pr-flow.is-on .pr-card { animation: pr-in 0.4s cubic-bezier(0.2, 0, 0, 1) forwards; animation-delay: calc(var(--i) * 1.25s); }
  .pr-flow.is-on .pr-items .sv-tag-row { animation: pr-in 0.3s cubic-bezier(0.2, 0, 0, 1) forwards; animation-delay: calc(var(--i) * 1.25s + 0.3s + var(--j) * 0.2s); }
  .pr-flow.is-on .pr-link { animation: pr-draw 0.3s linear forwards; animation-delay: calc(var(--i) * 1.25s + 0.95s); }
  @keyframes pr-in { to { opacity: 1; transform: none; } }
  @keyframes pr-draw { to { clip-path: inset(0 0 0 0); } }
  #px-cursor { position: fixed; top: 0; left: 0; z-index: -1; pointer-events: none; }
}
@media (min-width: 961px) and (prefers-reduced-motion: reduce) {
  .pr-flow .pr-card, .pr-flow.is-on .pr-card, .pr-flow .pr-items .sv-tag-row, .pr-flow.is-on .pr-items .sv-tag-row { opacity: 1; transform: none; animation: none; }
  .pr-flow .pr-link, .pr-flow.is-on .pr-link { clip-path: none; animation: none; }
}
@media (min-width: 961px) {
  .about-legacy { display: none !important; }
  .about-yo { display: flex; align-items: center; justify-content: center; height: calc(100vh - var(--sh-top) - var(--sh-bar) - 48px); }
}

@media (min-width: 961px) {
  .sh-cp { height: 100%; }
  .sh-cp-body { flex: 0 1 auto; }
  .sh-cp-chat { flex: 1 1 auto; min-height: 280px; }
  .sh-cp-composer:not([hidden]) { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
  .sh-cp-box { flex: 1 1 auto; min-height: 0; }
  .sh-cp-msg { flex: 1 1 auto; min-height: 64px; max-height: none; height: auto; }
  .sh-cp-msg[hidden], .sh-cp-draw[hidden], .sh-cp-tools[hidden], .sh-cp-menu[hidden] { display: none; }
  .sh-cp-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 0; }
  .sh-cp-mode { position: relative; display: inline-flex; border-radius: 8px; background: var(--celeste); }
  .sh-cp-mode-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 8px; border: 0; border-radius: 8px 0 0 8px; background: transparent; color: var(--tinta); font: inherit; font-size: 13px; font-weight: 500; line-height: 16px; cursor: pointer; transition: background-color 0.3s; }
  .sh-cp-mode-more { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-left: 0; border-radius: 0 8px 8px 0; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.3s; }
  .sh-cp-mode-btn:hover, .sh-cp-mode-more:hover, .sh-cp-mode-btn[aria-expanded="true"], .sh-cp-mode-more[aria-expanded="true"] { background: rgba(23, 163, 214, 0.14); }
  .sh-cp-mode-btn:focus-visible, .sh-cp-mode-more:focus-visible { outline: 2px solid var(--violeta); outline-offset: 0; }
  .sh-cp-mode-ic { display: inline-flex; }
  .sh-cp-mode .sh-ic { width: 16px; height: 16px; }
  .sh-cp-menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 3; display: flex; flex-direction: column; gap: 2px; min-width: 160px; padding: 4px; background: #fff; border: 1px solid var(--sh-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(13, 13, 14, 0.12); }
  .sh-cp-menu button { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
  .sh-cp-menu button:hover, .sh-cp-menu button:focus-visible { background: var(--sh-bg); outline: 0; }
  .sh-cp-menu button[aria-checked="true"] { font-weight: 600; background: var(--celeste); }
  .sh-cp-tools { display: flex; align-items: center; gap: 8px; }
  .sh-cp-sw { width: 20px; height: 20px; padding: 0; border: 1px solid rgba(13, 13, 14, 0.12); border-radius: 50%; background: var(--sw); cursor: pointer; }
  .sh-cp-sw.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--acento, #6449FF); }
  .sh-cp-clear { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.3s; }
  .sh-cp-clear:hover { background: var(--sh-bg); }
  .sh-cp-clear .sh-ic { width: 18px; height: 18px; }
  .sh-cp-draw { position: relative; flex: 1 1 auto; min-height: 120px; margin: 8px 8px 0; }
  .sh-cp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
}
@media (min-width: 961px) {
  html.has-shell:has(.hero-spec) { overflow: hidden; }
  html.has-shell #presentacion, html.has-shell .no-click, html.has-shell #servicios, html.has-shell .proc-screen, html.has-shell .proc-final { display: none; }
}
@media (min-width: 961px) {
  .sh-cp-mic { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.3s, color 0.3s; }
  .sh-cp-mic:hover { background: var(--sh-bg); }
  .sh-cp-mic[hidden] { display: none; }
  .sh-cp-mic .sh-ic { width: 18px; height: 18px; }
  .sh-cp-mic.is-rec { background: #E5484D; color: #fff; animation: micPulse 1.1s ease-in-out infinite; }
}
@media (min-width: 961px) {
  .pr-card { container-type: inline-size; }
  @container (max-width: 190px) {
    .pr-items .sv-tag-row { justify-content: center; padding: 8px; }
    .pr-items .sv-tag-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  }
}
@media (min-width: 961px) {
  .sh-bell-dot { top: 2px; right: 2px; width: auto; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: #EF3B22; color: #fff; font-family: var(--font-ui); font-size: 10px; font-weight: 700; line-height: 16px; text-align: center; font-variant-numeric: tabular-nums; }
  .sh-bell.is-ring .i-ring { animation: sh-ring 0.6s ease-in-out; }
  .sh-notis-body { position: relative; }
}
@media (min-width: 961px) and (prefers-reduced-motion: reduce) {
  .sh-bell.is-ring .i-ring { animation: none; }
}


:root { --ty-page: 32px; --ty-page-lh: 40px; --ty-section: 24px; --ty-section-lh: 32px; --ty-card: 20px; --ty-card-lh: 28px; --ty-lead: 16px; --ty-lead-lh: 24px; --ty-body: 14px; --ty-body-lh: 20px; --ty-small: 12px; --ty-small-lh: 16px; --ty-mini: 10px; --ty-mini-lh: 12px; }
@media (min-width: 961px) {
  .sh-bar { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 500; }
  .shell { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-item { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 500; }
  .sh-id-role { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-collapse { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-count { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; font-weight: 500; }
  .sh-card-title { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 500; }
  .sh-card-sub { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-mail { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-time { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .he-title { font-size: var(--ty-section); line-height: var(--ty-section-lh); letter-spacing: 0; font-weight: 600; }
  .he-body { font-size: var(--ty-lead); line-height: var(--ty-lead-lh); letter-spacing: 0; }
  .he-line { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 500; }
  .he-link { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 500; }
  .sv-app--overview .sv-card-info .hud-num { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sv-app--overview .sm-card-title { font-size: var(--ty-card); line-height: var(--ty-card-lh); letter-spacing: 0; font-weight: 600; }
  .sv-app--overview .sm-card-text { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sv-foot-title { font-size: var(--ty-lead); line-height: var(--ty-lead-lh); letter-spacing: 0; font-weight: 600; }
  .sv-foot-sub { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  main.case .case-title { font-size: var(--ty-page); line-height: var(--ty-page-lh); letter-spacing: 0; font-weight: 600; }
  main.case .case-sub { font-size: var(--ty-lead); line-height: var(--ty-lead-lh); letter-spacing: 0; }
  main.case .case-block h2 { font-size: var(--ty-section); line-height: var(--ty-section-lh); letter-spacing: 0; font-weight: 600; }
  main.case .case-block h3 { font-size: var(--ty-lead); line-height: var(--ty-lead-lh); letter-spacing: 0; font-weight: 600; }
  main.case .case-block p, main.case .case-block li { font-size: var(--ty-lead); line-height: var(--ty-lead-lh); letter-spacing: 0; }
  main.case .find-card b { font-size: var(--ty-lead); line-height: var(--ty-lead-lh); letter-spacing: 0; font-weight: 600; }
  main.case .find-card > span:last-child { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .pj-card .wtitle { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 500; }
  .pj-card .work-desc { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  main.case .metric-card .m-num { font-size: var(--ty-card); line-height: var(--ty-card-lh); letter-spacing: 0; font-weight: 600; }
  main.case .metric-card .m-label { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  main.case .deliver--list .deliver-eyebrow { font-size: var(--ty-lead); line-height: var(--ty-lead-lh); letter-spacing: 0; font-weight: 600; }
  main.case .deliver--list .deliver-list li, main.case .deliver--list .deliver-list li:first-child { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  main.case .case-block .proto-card-title { font-size: var(--ty-lead); line-height: var(--ty-lead-lh); letter-spacing: 0; font-weight: 600; }
  .proto-badge { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; font-weight: 500; }
  .proto-card-desc { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  main.case .award-medalla .award-anio { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  main.case .award-medalla .award-titulo { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 600; }
  main.case .award-medalla .award-otorgante { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-avail-title { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 600; }
  .sh-avail-time { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-avail .sh-mail { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sv-tag-label { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 500; }
  .sh-cp-head { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 500; }
  .sh-cp-txt b { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 600; }
  .sh-cp-txt span { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-cp-note { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-cp-msg { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-cp-email { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-cp-err { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-cp-sent b { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 600; }
  .sh-cp-sent span { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-cp-again { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-cp-h { font-size: var(--ty-card); line-height: var(--ty-card-lh); letter-spacing: 0; font-weight: 600; }
  .sh-cp-sub { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  html .sh-tabs .work-filter .nav-pill { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; font-weight: 500; }
  .sh-notis-head { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 500; }
  .sh-carta-hi { font-size: var(--ty-card); line-height: var(--ty-card-lh); letter-spacing: 0; font-weight: 600; }
  .sh-carta-txt p { font-size: var(--ty-lead); line-height: var(--ty-lead-lh); letter-spacing: 0; }
  .sh-carta-sign b { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 600; }
  .sh-carta-sign span, .sh-carta-connect span { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-carta-connect a { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 500; }
  .pr-title { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 600; }
  .sh-cp-mode-btn { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; font-weight: 500; }
  .sh-cp-menu button { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-id-name { line-height: 28px; }
  .sh-id-name + .sh-id-role { line-height: 24px; }
  .sh-bell-dot { font-size: var(--ty-mini); font-weight: 600; }
  main.case .case-info dt { font-size: var(--ty-small); line-height: var(--ty-small-lh); }
  main.case .case-info dd { font-size: var(--ty-body); line-height: var(--ty-body-lh); }
  main.case .svc-next-t { font-size: var(--ty-small); line-height: var(--ty-small-lh); font-weight: 500; }
  main.case .link-btn .lb-t { font-size: var(--ty-body); line-height: var(--ty-body-lh); font-weight: 500; }
  .pj-card .award-badge { font-size: var(--ty-small); line-height: var(--ty-small-lh); font-weight: 500; }
  .res-lock-face { font-size: var(--ty-body); line-height: var(--ty-body-lh); }
}

/* Paleta E · opción 1 (aprobada por Vani el 20/11). Navegación «activo claro». */
html.has-shell { --nav-logo-invert: 0; --nav-fg: #0B0C0E; --nav-muted: #5F626A; --nav-card-bg: #FFFFFF; --nav-bg: #F3F0F8; --nav-hover: rgba(41, 27, 57, 0.07); --nav-active-bg: #DCD3F5; --nav-active-fg: #291B39; --nav-chip-bg: #BBFF88; --nav-chip-fg: #0B0C0E; --nav-line: rgba(41, 27, 57, 0.14); --px-1: #291B39; --px-2: #6449FF; --px-3: #A99BFF; --px-4: #BBFF88; --px-5: #E8E4F2; --river-1: #6449FF; --river-2: #A99BFF; --acento: #6449FF; --primario: #6449FF; --primario-fg: #FFFFFF; --celeste: #E8E4F2; --elegido: #E8E4F2; --superficie-2: #F3F0F8; --dt-ic-bg: #E4FFC9; --dt-ic-fg: #1E6B2D; --dt-ic-border: transparent; --dt-line: #3B2A5C; --dt-line-a: 28%; }
@media (min-width: 961px) {
  html.has-shell .sh-logo { filter: invert(var(--nav-logo-invert, 0)); }
  html.has-shell .sh-id-role, html.has-shell .sh-collapse, html.has-shell .sh-avail-time { color: var(--nav-muted); }
  html.has-shell .sh-item:hover, html.has-shell .sh-brand:hover, html.has-shell .sh-collapse:hover, html.has-shell .sh-bell:hover, html.has-shell .sh-bell[aria-expanded="true"] { background-color: var(--nav-hover); }
  html.has-shell .sh-item[aria-current="page"], html.has-shell.contact-open .sh-nav a[href="contacto.html"] { background-color: var(--nav-active-bg); color: var(--nav-active-fg); }
  html.has-shell .sh-count { background: var(--nav-chip-bg); color: var(--nav-chip-fg); }
  html.has-shell .sh-avail { border: 1px dashed #B9ADE6; background: transparent; }
  html.has-shell .sh-avail .sh-mail:hover { background-color: var(--nav-hover); }
  html.has-shell .sh-bell { color: var(--nav-fg); }
  html.has-shell .sh-bell-dot, html.has-shell .sh-bell:hover .sh-bell-dot, html.has-shell .sh-bell[aria-expanded="true"] .sh-bell-dot { box-shadow: 0 0 0 2px var(--nav-bg); }

  /* color en toda la interfaz */
  html.has-shell { --sh-bg: var(--superficie-2); }
  html.has-shell .nav-pill.primary, html.has-shell .nav-pill.active, html.has-shell .sh-cp-send.is-ready { background: var(--primario); color: var(--primario-fg); }
  html.has-shell .sh-cp-send.is-ready .sh-ic { color: var(--primario-fg); }
  html.has-shell .pj-card:hover, html.has-shell .pr-card:hover, html.has-shell .sh-cp-card:hover { background: var(--elegido); border-color: var(--elegido); }
  html.has-shell .pr-card:hover .pr-items { background: transparent; border-top-color: rgba(11, 12, 14, 0.08); }
  html.has-shell .sv-app--overview .sm-card:hover { background: var(--elegido); }
  html.has-shell .sv-app--overview .sm-card:hover .sv-tag-row { background: #fff; }
  html.has-shell .sh-tabs .work-filter .nav-pill.sel, html.has-shell .sh-cp-mode { background: var(--celeste); }
    html.has-shell .sh-notis-close:hover, html.has-shell .sh-cp-close:hover, html.has-shell .sh-cp-copy:hover { background: var(--superficie-2); }

  /* detalle «bajo»: bordes sólidos finos violeta oscuro, íconos verde oscuro sobre verde claro */
  html.has-shell .sv-tag-row, html.has-shell .sh-cp-card, html.has-shell .sh-cp-sent, html.has-shell main.case .find-card, html.has-shell main.case .metric-card, html.has-shell main.case .award-medalla { border: 1px dashed color-mix(in srgb, var(--dt-line) calc(var(--dt-line-a, 28%) + 12%), transparent); }
  html.has-shell .sv-tag-ic, html.has-shell .sh-cp-ic, html.has-shell main.case .fc-ic { background: var(--dt-ic-bg); border: 1.5px solid var(--dt-ic-border, transparent); color: var(--dt-ic-fg); }
  html.has-shell .sh-cp-ic .sh-ic, html.has-shell .sv-tag-ic svg, html.has-shell .fc-ic svg { color: inherit; }
  html.has-shell .dl-ic { color: var(--dt-ic-fg); }
  html.has-shell .pr-link { border-top-color: color-mix(in srgb, var(--dt-line) 45%, transparent); }
  html.has-shell .pr-card, html.has-shell .pj-card { border-color: color-mix(in srgb, var(--dt-line) var(--dt-line-a, 28%), transparent); }

  /* foto de la carta sobre el color del chip; globo de notificación chico y del color del chip */
  .sh-carta-foto { background: var(--nav-chip-bg, var(--celeste)); object-fit: cover; object-position: center top; }
  .sh-bell-dot, html.has-shell .sh-bell-dot { top: 3px; right: 3px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; background: var(--nav-chip-bg, var(--celeste)); color: var(--nav-chip-fg, var(--tinta)); font-size: 9px; line-height: 14px; font-weight: 700; }
}

/* Pestaña Yo: guía (esfera de puntos) + texto, con los estilos del bloque del hero */
@media (min-width: 961px) {
  .about-yo { flex-direction: column; gap: 0; }
  .yo-guide { display: flex; flex-direction: column; align-items: center; text-align: center; max-width: 560px; }
  .yo-avatar { display: block; width: 80px; height: 80px; margin-bottom: 24px; object-fit: contain; background: transparent; }
  .yo-title { text-align: center; margin-bottom: 12px; }
  .yo-body { text-align: center; max-width: 480px; margin-bottom: 24px; color: var(--sh-muted); }
}

/* Apariencia 1·2·3 (abajo de la sidebar, discreto). 1 = paleta base; 2 y 3 cambian solo colores internos. */
html.has-shell[data-color="o2"] { --primario: #BBFF88; --primario-fg: #0B0C0E; --celeste: #E8E4F2; --elegido: #DCD3F5; --superficie-2: #F3F0F8; --dt-ic-bg: #E8E4F2; --dt-ic-fg: #3B2A5C; --dt-ic-border: transparent; --dt-line: #3B2A5C; --dt-line-a: 28%; }
html.has-shell[data-color="o3"] { --primario: #6449FF; --primario-fg: #FFFFFF; --celeste: #E4FFC9; --elegido: #DCD3F5; --superficie-2: #EFE9FA; --dt-ic-bg: #6449FF; --dt-ic-fg: #FFFFFF; --dt-ic-border: transparent; --dt-line: #6449FF; --dt-line-a: 40%; }
@media (min-width: 961px) {
  .sh-theme { display: flex; width: 100%; align-items: stretch; height: 32px; margin-top: 8px; border: 1px solid var(--nav-line); border-radius: 8px; overflow: hidden; background: transparent; transition: opacity 0.1s; }
  .sh-theme button { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0; border: 0; border-left: 1px solid var(--nav-line); background: transparent; color: var(--nav-fg); cursor: pointer; transition: background-color 0.3s; }
  .sh-theme button:first-child { border-left: 0; }
  .sh-theme button .sh-ic { width: 20px; height: 20px; }
  .sh-theme button:hover { background: var(--nav-hover); }
  .sh-theme button[aria-pressed="true"] { background: var(--nav-active-bg); color: var(--nav-active-fg); }
  .sh-theme button:focus-visible { outline: 2px solid var(--acento); outline-offset: -2px; }
  .shell-collapsed .sh-theme { opacity: 0; pointer-events: none; }
}
@media (min-width: 961px) {
  .yo-title { margin-bottom: 4px; }
  .yo-state { margin-bottom: 16px; color: rgba(11, 12, 14, 0.78); }
  .yo-cta { gap: 8px; }
  .yo-cta .sh-ic { width: 18px; height: 18px; }
}
@media (min-width: 961px) {
  .he-line { color: var(--acento, #6449FF); }
}
@media (min-width: 961px) {
  .hero-empty .he-body { max-width: 344px; }
}

/* ===== Móvil (≤ 960): barra superior + tab bar inferior, misma paleta ===== */
@media (max-width: 960px) {
  html.has-shell { --mb: 52px; --tb: calc(64px + env(safe-area-inset-bottom, 0px)); }
  html.has-shell body { padding-top: var(--mb); padding-bottom: var(--tb); }
  html.has-shell .spec-nav, html.has-shell .site-footer, html.has-shell .about-legacy, html.has-shell #presentacion, html.has-shell .no-click, html.has-shell #servicios, html.has-shell .proc-screen, html.has-shell .proc-final, html.has-shell .sh-loader, html.has-shell .carta-toast { display: none !important; }
  /* panel de contacto: mismas reglas que en escritorio */
  .sh-cp { display: flex; flex-direction: column; width: 400px; height: 100%; }
  .sh-cp-close { display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.4s; }
  .sh-cp-close:hover { background: var(--sh-active); }
  .sh-cp-close .sh-ic { width: 18px; height: 18px; }
  .sh-cp-body { flex: 1 1 auto; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; padding: 20px; }
  .sh-cp-card { position: relative; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; padding: 16px 20px; border: 1px dashed rgba(13, 13, 14, 0.16); border-radius: 16px; color: var(--tinta); text-decoration: none; transition: border-color 0.3s; }
  .sh-cp-card:hover { border-color: rgba(13, 13, 14, 0.32); }
  .sh-cp-cover { position: absolute; inset: 0; border-radius: inherit; }
  .sh-cp-ic { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #FAFAFA; border: 1px solid rgba(13, 13, 14, 0.12); }
  .sh-cp-ic .sh-ic { width: 20px; height: 20px; }
  .sh-cp-txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .sh-cp-txt b { font-size: 15px; font-weight: 600; line-height: 22px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sh-cp-txt span { font-size: var(--t-small); line-height: 20px; color: rgba(13, 13, 14, 0.62); }
  .sh-cp-copy { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.4s; }
  .sh-cp-copy:hover { background: var(--sh-active); }
  .sh-cp-copy .sh-ic { width: 20px; height: 20px; }
  .sh-cp-chat { flex: none; display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; border-top: 1px solid var(--sh-line); }
  .sh-cp-note { margin: 0; font-size: 13px; line-height: 18px; color: rgba(13, 13, 14, 0.62); }
  .sh-cp-note b { font-weight: 600; color: var(--tinta); }
  .sh-cp-composer { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--sh-line); border-radius: 16px; background: #fff; transition: border-color 0.3s; }
  .sh-cp-composer:focus-within { border-color: rgba(13, 13, 14, 0.4); }
  .sh-cp-msg { width: 100%; min-height: 64px; border: 0; outline: 0; resize: none; font: inherit; font-size: var(--t-small); line-height: 20px; color: var(--tinta); background: transparent; }
  .sh-cp-row { display: flex; align-items: center; gap: 8px; }
  .sh-cp-email { flex: 1 1 auto; min-width: 0; height: 32px; padding: 0 10px; border: 1px solid var(--sh-line); border-radius: 8px; font: inherit; font-size: 13px; color: var(--tinta); background: #FAFAFA; outline: 0; }
  .sh-cp-email:focus { border-color: rgba(13, 13, 14, 0.4); background: #fff; }
  .sh-cp-email[aria-invalid="true"], .sh-cp-msg[aria-invalid="true"] { border-color: #E5484D; }
  .sh-cp-send { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: var(--tinta); color: #fff; cursor: pointer; }
  .sh-cp-send:disabled { opacity: 0.4; cursor: not-allowed; }
  .sh-cp-send .sh-ic { width: 18px; height: 18px; }
  .sh-cp-err { margin: 0; font-size: 13px; line-height: 18px; color: #E5484D; }
  .sh-cp-sent { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px dashed rgba(13, 13, 14, 0.16); border-radius: 16px; }
  .sh-cp-sent[hidden], .sh-cp-composer[hidden], .sh-cp-note[hidden] { display: none; }
  .sh-cp-sent b { font-size: 15px; line-height: 22px; }
  .sh-cp-sent span { font-size: var(--t-small); line-height: 20px; color: rgba(13, 13, 14, 0.62); }
  .sh-cp-again { align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: none; font: inherit; font-size: 13px; text-decoration: underline; color: var(--tinta); cursor: pointer; }
  .sh-cp-title { display: flex; align-items: center; gap: 8px; }
  .sh-cp-title .sh-ic { width: 20px; height: 20px; }
  .sh-cp-intro { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
  .sh-cp-h { margin: 0; font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: -0.01em; color: var(--tinta); }
  .sh-cp-sub { margin: 0; font-size: var(--t-small); line-height: 20px; color: rgba(13, 13, 14, 0.62); }
  .sh-cp-card, .sv-tag-row { background-color: #fff; }
  .sh-cp-composer { gap: 0; padding: 4px; border: 1px solid var(--sh-line); border-radius: 20px; background: var(--sh-bg); transition: background-color 0.3s, border-color 0.3s; }
  .sh-cp-composer:focus-within { border-color: transparent; background: var(--celeste); }
  .sh-cp-box { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--sh-line); border-radius: 16px; background: #fff; transition: border-color 0.3s; }
  .sh-cp-composer:focus-within .sh-cp-box { border-color: var(--acento, #6449FF); }
  .sh-cp-msg { display: block; min-height: 64px; max-height: 160px; padding: 12px 16px; overflow-y: auto; }
  .sh-cp-row { gap: 8px; padding: 8px 8px 8px 16px; border-top: 1px solid var(--sh-line); }
  .sh-cp-field { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; min-width: 0; color: rgba(13, 13, 14, 0.62); cursor: text; }
  .sh-cp-field .sh-ic { flex: none; width: 16px; height: 16px; }
  .sh-cp-email, .sh-cp-email:focus { height: 32px; padding: 0; border: 0; background: transparent; }
  .sh-cp-email[aria-invalid="true"] { color: #E5484D; }
  .sh-cp-send { background: var(--sh-active); color: rgba(13, 13, 14, 0.4); transition: background-color 0.3s, color 0.3s, transform 0.2s; }
  .sh-cp-send.is-ready { background: var(--tinta); color: #fff; }
  .sh-cp-send.is-ready:hover { transform: translateY(-1px); }
  .sh-cp-send.is-ready:active { transform: translateY(0); }
  .sh-cp-composer:has([aria-invalid="true"]) { background: rgba(229, 72, 77, 0.12); }
  .sh-cp-composer .sh-cp-box:has([aria-invalid="true"]) { border-color: #E5484D; }
  .sh-cp { height: 100%; }
  .sh-cp-body { flex: 0 1 auto; }
  .sh-cp-chat { flex: 1 1 auto; min-height: 280px; }
  .sh-cp-composer:not([hidden]) { flex: 1 1 auto; display: flex; flex-direction: column; min-height: 0; }
  .sh-cp-box { flex: 1 1 auto; min-height: 0; }
  .sh-cp-msg { flex: 1 1 auto; min-height: 64px; max-height: none; height: auto; }
  .sh-cp-msg[hidden], .sh-cp-draw[hidden], .sh-cp-tools[hidden], .sh-cp-menu[hidden] { display: none; }
  .sh-cp-top { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 8px 0; }
  .sh-cp-mode { position: relative; display: inline-flex; border-radius: 8px; background: var(--celeste); }
  .sh-cp-mode-btn { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px 0 8px; border: 0; border-radius: 8px 0 0 8px; background: transparent; color: var(--tinta); font: inherit; font-size: 13px; font-weight: 500; line-height: 16px; cursor: pointer; transition: background-color 0.3s; }
  .sh-cp-mode-more { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-left: 0; border-radius: 0 8px 8px 0; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.3s; }
  .sh-cp-mode-btn:hover, .sh-cp-mode-more:hover, .sh-cp-mode-btn[aria-expanded="true"], .sh-cp-mode-more[aria-expanded="true"] { background: rgba(23, 163, 214, 0.14); }
  .sh-cp-mode-btn:focus-visible, .sh-cp-mode-more:focus-visible { outline: 2px solid var(--violeta); outline-offset: 0; }
  .sh-cp-mode-ic { display: inline-flex; }
  .sh-cp-mode .sh-ic { width: 16px; height: 16px; }
  .sh-cp-menu { position: absolute; top: calc(100% + 4px); left: 0; z-index: 3; display: flex; flex-direction: column; gap: 2px; min-width: 160px; padding: 4px; background: #fff; border: 1px solid var(--sh-line); border-radius: 12px; box-shadow: 0 8px 24px rgba(13, 13, 14, 0.12); }
  .sh-cp-menu button { display: flex; align-items: center; gap: 8px; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
  .sh-cp-menu button:hover, .sh-cp-menu button:focus-visible { background: var(--sh-bg); outline: 0; }
  .sh-cp-menu button[aria-checked="true"] { font-weight: 600; background: var(--celeste); }
  .sh-cp-tools { display: flex; align-items: center; gap: 8px; }
  .sh-cp-sw { width: 20px; height: 20px; padding: 0; border: 1px solid rgba(13, 13, 14, 0.12); border-radius: 50%; background: var(--sw); cursor: pointer; }
  .sh-cp-sw.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--acento, #6449FF); }
  .sh-cp-clear { display: flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.3s; }
  .sh-cp-clear:hover { background: var(--sh-bg); }
  .sh-cp-clear .sh-ic { width: 18px; height: 18px; }
  .sh-cp-draw { position: relative; flex: 1 1 auto; min-height: 120px; margin: 8px 8px 0; }
  .sh-cp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; cursor: crosshair; }
  .sh-cp-mic { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); cursor: pointer; transition: background-color 0.3s, color 0.3s; }
  .sh-cp-mic:hover { background: var(--sh-bg); }
  .sh-cp-mic[hidden] { display: none; }
  .sh-cp-mic .sh-ic { width: 18px; height: 18px; }
  .sh-cp-mic.is-rec { background: #E5484D; color: #fff; animation: micPulse 1.1s ease-in-out infinite; }
  .sh-cp-txt b { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 600; }
  .sh-cp-txt span { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-cp-note { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-cp-msg { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-cp-email { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-cp-err { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-cp-sent b { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; font-weight: 600; }
  .sh-cp-sent span { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-cp-again { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; }
  .sh-cp-h { font-size: var(--ty-card); line-height: var(--ty-card-lh); letter-spacing: 0; font-weight: 600; }
  .sh-cp-sub { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-cp-mode-btn { font-size: var(--ty-small); line-height: var(--ty-small-lh); letter-spacing: 0; font-weight: 500; }
  .sh-cp-menu button { font-size: var(--ty-body); line-height: var(--ty-body-lh); letter-spacing: 0; }
  .sh-mbar { display: flex; position: fixed; top: 0; left: 0; right: 0; z-index: 600; align-items: center; gap: 12px; height: var(--mb); padding: 0 8px 0 16px; background: #fff; border-bottom: 1px solid var(--sh-line); font-family: var(--font-ui); font-size: 14px; font-weight: 500; line-height: 20px; color: var(--tinta); }
  .sh-mbrand { display: flex; flex: none; }
  .sh-mbrand img { display: block; width: 22px; height: 22px; }
  .sh-mtitle { display: flex; flex: 1 1 auto; align-items: center; gap: 8px; min-width: 0; }
  .sh-mtitle .sh-ic { width: 20px; height: 20px; }
  .sh-mtitle span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .sh-bell-m { position: relative; display: flex; flex: none; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--tinta); }
  .sh-bell-m .sh-ic { width: 22px; height: 22px; }
  .sh-bell-m .sh-bell-dot { position: absolute; top: 4px; right: 4px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 7px; background: var(--nav-chip-bg, var(--celeste)); color: var(--nav-chip-fg, var(--tinta)); font-family: var(--font-ui); font-size: 9px; font-weight: 700; line-height: 14px; text-align: center; box-shadow: 0 0 0 2px #fff; }
  .sh-bell-m .sh-bell-dot[hidden] { display: none; }
  .sh-tabbar { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 600; height: var(--tb); padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); background: var(--nav-bg, #FAFAFA); border-top: 1px solid var(--nav-line, var(--sh-line)); font-family: var(--font-ui); }
  .sh-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-width: 0; border-radius: 8px; color: var(--nav-fg, var(--tinta)); text-decoration: none; font-size: 11px; line-height: 14px; font-weight: 500; transition: background-color 0.3s; }
  .sh-tab .sh-ic { width: 22px; height: 22px; }
  .sh-tab[aria-current="page"], html.contact-open .sh-tab[data-open-contact] { background: var(--nav-active-bg, var(--sh-active)); color: var(--nav-active-fg, var(--tinta)); }
  .sh-tab span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  /* pestañas secundarias (proyectos, sobre mí) */
  .sh-tabs { position: sticky; top: var(--mb); z-index: 579; display: flex; align-items: center; gap: 4px; height: 48px; padding: 0 12px; background: #fff; border-bottom: 1px solid var(--sh-line); overflow-x: auto; scrollbar-width: none; }
  .sh-tabs .work-filter, .sh-tabs .about-tabs { display: flex; flex-wrap: nowrap; gap: 4px; margin: 0; }
  .sh-tabs .nav-pill { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; font-size: 13px; line-height: 16px; background: var(--sh-bg); color: var(--tinta); white-space: nowrap; }
  .sh-tabs .nav-pill.sel, .work-filter .nav-pill.sel { background: var(--celeste); color: var(--tinta); border-radius: 8px; }
  .sh-tabs .nav-pill .pj-svg { width: 14px; height: 14px; margin-right: 6px; }
  .sh-tabs .work-filter .nav-pill .n { margin-left: 4px; color: inherit; font-weight: 700; opacity: 1; }
  /* paleta en móvil */
  .nav-pill.primary, .nav-pill.active { background: var(--primario, var(--tinta)); color: var(--primario-fg, #fff); }
  .nav-pill { background: var(--celeste); }
  /* panel de contacto = hoja a pantalla completa */
  .sh-contact { display: block; position: fixed; top: var(--mb); left: 0; right: 0; bottom: var(--tb); z-index: 598; overflow: hidden; background: #fff; visibility: hidden; transform: translateY(12px); opacity: 0; transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
  html.contact-open .sh-contact { visibility: visible; transform: none; opacity: 1; }
  .sh-contact { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .sh-contact .sh-cp { width: 100%; height: auto; min-height: 100%; }
  .sh-cp-body { flex: none; overflow: visible; }
  .sh-cp-chat { flex: 1 1 auto; min-height: 320px; }
  .sh-cp-card { border: 1px dashed color-mix(in srgb, var(--dt-line, #0D0D0E) 40%, transparent); }
  .sh-cp-ic { background: var(--dt-ic-bg, #FAFAFA); border-color: transparent; color: var(--dt-ic-fg, var(--tinta)); }
  .sh-cp-ic .sh-ic { color: inherit; }
  .sh-contact .sh-cp-head { display: none; }
  .sh-cp-body { padding: 16px; }
  .sh-cp-intro { margin-bottom: 12px; }
  .sh-cp-h { margin: 0 0 4px; font-size: 20px; font-weight: 600; line-height: 28px; }
  .sh-cp-sub { margin: 0; font-size: 14px; line-height: 20px; color: var(--sh-muted); }
  .sh-cp-chat { padding: 12px 16px 16px; }
  .sh-cp-note { margin: 0 0 8px; font-size: 12px; line-height: 16px; color: var(--sh-muted); }
  .sh-cp-tools[hidden], .sh-cp-menu[hidden], .sh-cp-msg[hidden], .sh-cp-draw[hidden], .sh-cp-mic[hidden], .sh-cp-sent[hidden], .sh-cp-composer[hidden], .sh-cp-err[hidden] { display: none; }
  .sh-cp-draw { position: relative; min-height: 160px; }
  .sh-cp-canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: none; }
  .sh-notis { position: fixed; z-index: 700; right: 8px; display: flex; flex-direction: column; width: auto; overflow: hidden; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; box-shadow: 0 12px 32px rgba(13, 13, 14, 0.12); font-family: var(--font-ui); color: var(--tinta); }
  .sh-notis[hidden] { display: none; }
  .sh-notis-head { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 8px 0 16px; border-bottom: 1px solid var(--sh-line); font-size: 14px; font-weight: 500; }
  .sh-notis-body { overflow-y: auto; padding: 20px 16px; }
  .sh-carta-hi { margin: 0 0 12px; font-size: 20px; font-weight: 600; line-height: 28px; }
  .sh-carta-txt p { margin: 0 0 10px; font-size: 14px; line-height: 20px; }
  .sh-carta-firma { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
  .sh-carta-foto { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
  .sh-carta-sign { display: flex; flex-direction: column; margin: 0; }
  .sh-carta-connect { display: flex; flex-direction: column; align-items: flex-end; margin: 0 0 0 auto; }
  .sh-carta-connect a { color: var(--acento); text-decoration: none; font-weight: 500; }
  /* home */
  html.has-shell .hero-spec { min-height: calc(100vh - var(--mb) - var(--tb)); display: flex; flex-direction: column; justify-content: flex-end; }
  .he-left { display: block; position: static; padding: 0 16px; margin-bottom: 16px; }
  .he-headline { font-size: 32px; line-height: 1.04; white-space: normal; }
  .he-headline br { display: none; }
  .hero-empty { position: static; width: auto; max-width: none; padding: 0 16px 16px; align-items: flex-start; text-align: left; }
  .he-title { font-size: 22px; line-height: 28px; }
  .he-title br { display: none; }
  .hero-empty .he-body { max-width: none; }
  .he-actions { justify-content: flex-start; }
  /* servicios */
  .sv-app--overview .sv-doc, .sv-app--overview section.container { padding: 0 !important; margin: 0; max-width: none; }
  .sv-app--overview .sm-grid--servicios { display: flex; flex-direction: column; gap: 0; height: auto; }
  .sv-app--overview .sm-card { display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding: 24px 16px; border-bottom: 1px solid var(--sh-line); text-decoration: none; color: var(--tinta); text-align: center; }
  .sv-app--overview .sm-card > svg, .sv-app--overview .card-arrow, .sv-app--overview .svc-hud .hud-svg { display: none; }
  .sv-app--overview .svc-hud { position: relative; width: 200px; height: 150px; margin: 0 auto; flex: none; }
  .sv-app--overview .svc-hud .hud-3d { left: 0; top: 0; width: 200px; height: 150px; transform: none; }
  .sv-app--overview .sv-card-info .hud-num { position: static; font-size: 12px; color: var(--sh-muted); }
  .sv-app--overview .sm-card-title { margin: 0; font-family: var(--font-ui); font-size: 20px; font-weight: 600; line-height: 28px; letter-spacing: 0; }
  .sv-app--overview .sm-card-text { margin: 0; font-size: 14px; line-height: 20px; color: var(--sh-muted); }
  .sv-tags { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; text-align: left; }
  .sv-tag-row { display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border: 1px dashed color-mix(in srgb, var(--dt-line, #0D0D0E) 40%, transparent); border-radius: 16px; background: #fff; }
  .sv-tag-ic { flex: none; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--dt-ic-bg, #FAFAFA); color: var(--dt-ic-fg, var(--tinta)); }
  .sv-tag-ic svg { display: block; width: 18px; height: 18px; }
  .sv-tag-label { font-size: 14px; font-weight: 500; line-height: 20px; }
  .sv-app--overview .sv-cta { display: inline-flex; align-items: center; height: 32px; margin-top: 16px; padding: 0 12px; align-self: flex-end; background: var(--celeste); font-size: 14px; }
  .sv-app--overview .sm-tags { display: none; }
  .sv-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 16px; background: #fff; }
  .sv-foot-txt { display: flex; flex-direction: column; gap: 4px; }
  .sv-foot-title { margin: 0; font-size: 16px; font-weight: 600; line-height: 24px; }
  .sv-foot-sub { margin: 0; font-size: 14px; line-height: 20px; color: var(--sh-muted); }
  /* proyectos */
  .work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; margin: 0; }
  .pj-card { display: flex; flex-direction: column; gap: 4px; padding: 4px 4px 12px; background: #fff; border: 1px solid var(--sh-line); border-radius: 16px; overflow: clip; text-decoration: none; }
  .pj-svg { display: block; width: 18px; height: 18px; }
  .pj-card .media, .pj-card:hover .media { aspect-ratio: 5 / 4; height: auto; margin: 0 0 4px; border-radius: 12px; clip-path: none; transform: none; overflow: hidden; }
  .pj-card .wtitle { margin: 0; padding: 0 8px; min-height: 0; font-family: var(--font-ui); font-size: 14px; font-weight: 500; line-height: 20px; letter-spacing: 0; color: var(--tinta); }
  .pj-card .work-desc { margin: 0; padding: 0 8px; font-size: 12px; line-height: 16px; color: var(--sh-muted); }
  .pj-card .work-tags, .pj-head .pj-ic, .pj-foot .pj-cta { display: none; }
  /* sobre mí */
  .about-proceso { display: flex; flex-direction: column; padding: 16px; }
  .about-proceso .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .about-proceso .procflow { height: 200px; margin: 0; }
  .pr-flow { display: flex; flex-direction: column; margin-top: 16px; }
  .pr-card { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid color-mix(in srgb, var(--dt-line, #0D0D0E) 28%, transparent); border-radius: 16px; }
  .pr-title { margin: 0; padding: 16px; font-family: var(--font-ui); font-size: 14px; font-weight: 600; line-height: 20px; }
  .pr-items { display: flex; flex-direction: column; gap: 8px; padding: 12px; background: var(--sh-bg); border-top: 1px solid var(--sh-line); }
  .pr-items .sv-tag-row { background: #fff; }
  .pr-link { width: 0; height: 24px; margin: 0 auto; border-left: 1px dashed color-mix(in srgb, var(--dt-line, #0D0D0E) 45%, transparent); }
  .about-yo { display: flex; align-items: center; justify-content: center; min-height: calc(100vh - var(--mb) - var(--tb) - 48px); padding: 24px 16px; }
  .yo-guide { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .yo-avatar { display: block; width: 80px; height: 80px; margin-bottom: 24px; }
  .yo-title { font-size: 22px; line-height: 28px; margin: 0 0 4px; text-align: center; }
  .yo-state { margin: 0 0 16px; font-size: 16px; line-height: 24px; color: rgba(11, 12, 14, 0.78); }
  .yo-body { margin: 0 0 24px; font-size: 16px; line-height: 24px; color: var(--sh-muted); text-align: center; }
}
.sh-cp-txt span:empty { display: none; }
.sh-cp-chat .sh-cp-intro { margin: 4px 0 12px; }

/* grilla detrás del bloque de mensaje del panel de contacto (el compositor sigue blanco) */
.sh-cp-chat { background-color: #fff; background-image: linear-gradient(to right, #FAFAFA 1px, transparent 1px), linear-gradient(to bottom, #FAFAFA 1px, transparent 1px); background-size: 9px 9px; background-attachment: fixed; }
@media (max-width: 960px) { .sh-cp-chat { background-attachment: scroll; } }

@media (max-width: 960px) {
  html.has-shell .nav-pill, html.has-shell .sh-tabs .work-filter .nav-pill, html.has-shell .about-tabs .nav-pill { min-height: 44px; }
  html.has-shell .sh-mbrand { position: relative; }
  html.has-shell .sh-mbrand::after, html.has-shell .svc-back::after, html.has-shell .sh-cp-copy::after, html.has-shell .sh-cp-mode-btn::after, html.has-shell .sh-cp-mode-more::after, html.has-shell .sh-cp-mic::after, html.has-shell .sh-cp-send::after, html.has-shell .link-btn.after::after { content: ""; position: absolute; top: 50%; left: 50%; width: max(100%, 44px); height: max(100%, 44px); transform: translate(-50%, -50%); }
  html.has-shell .svc-back, html.has-shell .sh-cp-copy, html.has-shell .sh-cp-mode-btn, html.has-shell .sh-cp-mode-more, html.has-shell .sh-cp-mic, html.has-shell .sh-cp-send, html.has-shell .link-btn.after { position: relative; }
  html.has-shell .sh-bell-m { width: 44px; height: 44px; }
  html.has-shell .sh-cp-email { min-height: 44px; }
}

@media (max-width: 960px) {
  html.has-shell { --tb: calc(52px + env(safe-area-inset-bottom, 0px)); }
  html.has-shell .sh-tabbar { gap: 0; padding: 0 0 env(safe-area-inset-bottom, 0px); background: var(--nav-bg, #FAFAFA); border-top: 1px solid var(--nav-line, var(--sh-line)); }
  html.has-shell .sh-tab { height: 52px; gap: 0; border-radius: 0; background: none; color: var(--tinta); -webkit-tap-highlight-color: transparent; transition: transform 0.15s; }
  html.has-shell .sh-tab:active { transform: scale(0.88); }
  html.has-shell .sh-tab .sh-ic { width: 24px; height: 24px; }
  html.has-shell .sh-tab span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  html.has-shell .sh-tab[aria-current="page"], html.has-shell.contact-open .sh-tab[data-open-contact] { background: none; color: var(--acento, #6449FF); }
  html.has-shell .sh-tab[aria-current="page"] .sh-ic *, html.has-shell.contact-open .sh-tab[data-open-contact] .sh-ic * { stroke-width: 2.2; }
  html.has-shell.contact-open .sh-tab[aria-current="page"]:not([data-open-contact]) { color: var(--tinta); }
  html.has-shell.contact-open .sh-tab[aria-current="page"]:not([data-open-contact]) .sh-ic * { stroke-width: 1.5; }
}

@media (max-width: 960px) {
  html.has-shell { --tb: calc(56px + 24px + env(safe-area-inset-bottom, 0px)); }
  html.has-shell .sh-tabbar { left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); height: 56px; padding: 4px; gap: 0; border: 1px solid var(--nav-line, rgba(41, 27, 57, 0.14)); border-radius: 28px; background: color-mix(in srgb, var(--nav-bg, #F3F0F8) 72%, transparent); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); box-shadow: 0 8px 24px rgba(41, 27, 57, 0.14), 0 1px 2px rgba(41, 27, 57, 0.08); }
  html.has-shell .sh-tab { height: 48px; border-radius: 24px; transition: transform 0.15s, background-color 0.3s; }
  html.has-shell .sh-tab[aria-current="page"], html.has-shell.contact-open .sh-tab[data-open-contact] { background: var(--nav-active-bg, #DCD3F5); }
  html.has-shell.contact-open .sh-tab[aria-current="page"]:not([data-open-contact]) { background: none; }
  html.has-shell .sh-contact { bottom: 0; padding-bottom: var(--tb); }
}

@media (max-width: 960px) {
  html.has-shell .sh-tabbar { height: 60px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 30px; background: color-mix(in srgb, var(--nav-bg, #F3F0F8) 55%, transparent); -webkit-backdrop-filter: blur(24px) saturate(190%); backdrop-filter: blur(24px) saturate(190%); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 -1px 0 rgba(41, 27, 57, 0.06), 0 12px 32px rgba(41, 27, 57, 0.16), 0 2px 6px rgba(41, 27, 57, 0.08); }
  html.has-shell .sh-tab { height: 52px; border-radius: 26px; }
  html.has-shell .sh-tab[aria-current="page"], html.has-shell.contact-open .sh-tab[data-open-contact] { background: color-mix(in srgb, var(--nav-active-bg, #DCD3F5) 85%, transparent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6); }
  html.has-shell.contact-open .sh-tab[aria-current="page"]:not([data-open-contact]) { box-shadow: none; }
}

@media (max-width: 960px) {
  html.has-shell { --tb: calc(60px + 32px + env(safe-area-inset-bottom, 0px)); }
  html.has-shell .sh-tabbar { bottom: max(16px, env(safe-area-inset-bottom, 0px)); }
}

.yo-flor { display: block; margin: 0 auto 24px; }

html.has-shell .yo-title { margin-bottom: 8px; }
html.has-shell .yo-state { display: inline-block; margin: 0 0 16px; padding: 2px 8px; border-radius: 8px; background: var(--nav-chip-bg, #BBFF88); color: var(--nav-chip-fg, var(--tinta)); font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0; }
html.has-shell .yo-body { margin: 0 0 24px; }
