
/* Ubak request funnel v4.7 — isolated component, no legacy request selectors */
body.ubak-request-route{overflow-x:hidden}
body.ubak-request-route #main-content,
body.ubak-request-route .page-hero,
body.ubak-request-route .page-wrap{width:100%;max-width:100%;min-width:0}
body.ubak-request-route .ubak-container{min-width:0}

.ubak-project-request{width:100%;max-width:1120px;min-width:0;margin:0}
.ubak-request-heading{max-width:760px;margin:0 0 26px}
.ubak-request-heading h2{margin:0 0 8px;font-size:clamp(1.9rem,3.4vw,3.1rem);line-height:1.05;letter-spacing:-.035em}
.ubak-request-heading p{margin:0;color:#66615a}

.ubak-request-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;width:100%;min-width:0}
.ubak-request-card{position:relative;display:block;width:100%;min-width:0;aspect-ratio:1.45/1;padding:0;margin:0;border:0;border-radius:16px;overflow:hidden;background:#222;color:#fff;text-align:left;appearance:none;cursor:pointer;isolation:isolate;transition:transform .16s ease,box-shadow .16s ease}
.ubak-request-card img{position:absolute;z-index:0;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}
.ubak-request-card::after{content:"";position:absolute;z-index:1;inset:0;background:linear-gradient(180deg,transparent 34%,rgba(10,10,9,.84))}
.ubak-request-card>span{position:absolute;z-index:2;left:18px;right:18px;bottom:15px;font-size:1.02rem;font-weight:800;line-height:1.15}
.ubak-request-card:hover{transform:translateY(-1px)}
.ubak-request-card.is-selected{box-shadow:inset 0 0 0 3px var(--gold)}
.ubak-request-card.is-selected::before{content:"✓";position:absolute;z-index:3;top:12px;right:12px;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--gold);color:#11110f;font-weight:900}
.ubak-request-card:focus-visible{outline:3px solid rgba(180,135,67,.38);outline-offset:3px}

.ubak-request-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:rgba(18,18,17,.13);border:1px solid rgba(18,18,17,.13);border-radius:16px;overflow:hidden;margin:28px 0 46px}
.ubak-request-trust>div{background:#f7f4ee;padding:22px}
.ubak-request-trust strong{display:block;margin-bottom:6px}
.ubak-request-trust span{color:#66625c;font-size:.92rem}
.ubak-request-direct{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin:24px 0 0;padding-top:22px;border-top:1px solid rgba(18,18,17,.14)}
.ubak-request-direct a{font-weight:750;text-decoration:underline;text-decoration-color:#b8893f;text-underline-offset:4px}

/* Form service chips: same state as cards */
.ubak-request-chips{display:flex;flex-wrap:wrap;gap:9px}
.ubak-request-chips label{display:block;cursor:pointer}
.ubak-request-chips input{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;max-width:1px!important;margin:0!important;padding:0!important;opacity:0;pointer-events:none;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.ubak-request-chips label>span{display:inline-flex;align-items:center;min-height:42px;padding:9px 13px;border:1px solid #d8d1c5;border-radius:999px;background:#faf8f3;color:#37342f;font-size:.86rem;font-weight:700;transition:border-color .15s,background .15s,color .15s,box-shadow .15s}
.ubak-request-chips input:checked+span{background:#11110f;color:#fff;border-color:#11110f;box-shadow:inset 0 0 0 1px #11110f}
.ubak-request-chips input:focus-visible+span{outline:3px solid rgba(180,135,67,.28);outline-offset:2px}

/* Compact request hero */
body.ubak-request-route .request-page-hero{padding:58px 0}
body.ubak-request-route .request-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(360px,470px);gap:54px;align-items:center}
body.ubak-request-route .request-hero-copy .ubak-lead{max-width:690px}
body.ubak-request-route .request-hero-media{margin:0;height:300px;border-radius:18px;overflow:hidden;border:1px solid rgba(255,255,255,.12)}
body.ubak-request-route .request-hero-media img{display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center}

@media(max-width:900px){
  body.ubak-request-route .request-hero-grid{grid-template-columns:1fr;gap:28px}
  body.ubak-request-route .request-hero-media{height:auto;aspect-ratio:16/10}
  .ubak-request-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .ubak-request-trust{grid-template-columns:1fr}
}
@media(max-width:520px){
  body.ubak-request-route .ubak-container{width:calc(100% - 28px);margin-left:14px;margin-right:14px}
  .ubak-request-cards{grid-template-columns:1fr}
  .ubak-request-card{aspect-ratio:16/9}
  .ubak-request-card>span{font-size:.98rem}
  body.ubak-request-route .request-page-hero{padding:50px 0}
}
