/* ============ SURCO — Legaltech theme (ocres rojizos) ============ */
body.theme-tech{
  --white:#fbf6ef;
  --ink:#3a140c;
  --g1:#f3e8da;
  --g2:#e2cdb4;
  --g3:#a07a5c;
  --g4:#5e3a26;
  --neon:#e0782f;
}
.theme-tech,.theme-tech .tp{background:var(--white)}
.theme-tech .divider{background:var(--g2)}
.theme-tech .logo__mark{filter:invert(1) sepia(1) saturate(3) hue-rotate(-25deg) brightness(.35)}
.theme-tech .nav.on-dark .logo__mark{filter:none}
.theme-tech .nav.on-dark .logo{color:#fbf6ef}

/* dark text panels: deep oxide red */
.theme-tech .tp--dark{background:var(--ink);color:#fbf6ef}
.theme-tech .tp--dark p{color:#d9b69a}
.theme-tech .tp--dark .list{border-top-color:#fbf6ef}
.theme-tech .tp--dark .list li{border-bottom-color:#5a2618}
.theme-tech .tp--dark .list small{color:#b58a6a}
.theme-tech .tp--dark .more{color:#d9b69a}
.theme-tech .tp--dark .f input,.theme-tech .tp--dark .f select{border-bottom-color:#6a3020;color:#fbf6ef}
.theme-tech .tp--dark .btn:hover{background:#fbf6ef;border-color:#fbf6ef}
.theme-tech .btn{color:#fbf6ef}
.theme-tech .btn:hover{color:var(--ink)}
.theme-tech .btn--line{color:var(--ink)}
.theme-tech .tp--dark .btn{color:var(--ink)}

/* photos: ochre / rust duotone */
.theme-tech .pp{background:var(--ink)}
.theme-tech .pp img{filter:grayscale(1) contrast(1.15) brightness(.9)}
.theme-tech .pp::before{
  content:"";position:absolute;inset:0;z-index:1;pointer-events:none;
  background:#b4531f;mix-blend-mode:color;
}
.theme-tech .pp::after{
  z-index:1;
  background:linear-gradient(180deg, rgba(58,20,12,.55) 0%, rgba(58,20,12,0) 22%, rgba(58,20,12,0) 58%, rgba(58,20,12,.68) 100%);
}
.theme-tech .pp--ph::before{display:none}
.theme-tech .pp--ph{background:#e6d2bb}
.theme-tech .pp--ph::after{background:linear-gradient(180deg, transparent 55%, rgba(58,20,12,.55) 100%)}
.theme-tech .ph{background:repeating-linear-gradient(135deg, #ecdcc8 0 12px, #e0cbb2 12px 24px)}
.theme-tech .ph .label{background:#fbf6ef}
.theme-tech .pp__info .meta b{color:#fbf6ef}
.theme-tech .counter{background:var(--ink);color:#fbf6ef}
