/* ServiHogar V6: navegación directa y decisiones profesionales visibles. */
.top-scroll-nav{display:none}

.requests-heading{margin-bottom:18px}
.professional-request-list{gap:14px}
.request-row-action{
  display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:20px;
  padding:20px;border:1px solid #ccdcef;text-decoration:none;
}
.request-row-action:hover{border-color:#8fb5e4;transform:translateY(-2px);box-shadow:0 15px 34px rgba(4,43,94,.11)}
.request-row-new{border-left:5px solid var(--brand);background:linear-gradient(105deg,#edf5ff 0,#fff 46%)}
.request-row-main{min-width:0}
.request-row-labels{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
.request-row-main h2{margin:10px 0 8px;font-size:clamp(1.15rem,3vw,1.45rem)}
.request-row-facts{display:flex;flex-wrap:wrap;gap:8px 16px;color:var(--ink-soft)}
.request-row-facts span{display:inline-flex;align-items:center;gap:6px}
.request-row-facts .icon{width:18px;height:18px;color:var(--brand)}
.request-row-decision{display:flex;min-width:150px;flex-direction:column;align-items:flex-end;gap:9px}
.request-row-decision small{color:var(--muted);font-weight:700}
.request-row-cta{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:48px;padding:11px 15px;border-radius:14px;background:#e9f2ff;color:var(--brand-dark);font-size:.88rem;font-weight:900}
.request-row-new .request-row-cta{background:linear-gradient(135deg,#1264c7,#06439b);color:#fff;box-shadow:0 8px 18px rgba(6,74,168,.2)}
.request-row-cta .icon{width:18px;height:18px}

.professional-request-detail-page{padding-top:24px;background:linear-gradient(180deg,#f4f8ff 0,#fff 540px)}
.request-detail-simple{padding:clamp(20px,4vw,34px)}
.request-detail-simple .request-detail-head{align-items:flex-start;margin-bottom:20px}
.request-detail-simple .request-detail-head p{margin:4px 0 0}
.request-data-primary{grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 18px}
.request-data-primary>div{min-height:84px;display:flex;flex-direction:column;justify-content:center;padding:15px;border:1px solid #d5e1f0;background:#f7faff}
.request-data-primary dt{text-transform:uppercase;letter-spacing:.07em;font-weight:800}
.request-data-primary dd{font-size:1.03rem}
.request-accept-panel{
  position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr);gap:5px 15px;
  margin-top:20px;padding:24px;border-radius:22px;background:linear-gradient(135deg,#073f91,#062556);color:#fff;
  box-shadow:0 20px 42px rgba(4,45,102,.22)
}
.request-accept-panel::after{content:"";position:absolute;right:-45px;bottom:-70px;width:170px;height:170px;border:28px solid rgba(255,255,255,.08);border-radius:50%;pointer-events:none}
.request-accept-panel>*{position:relative;z-index:1}
.request-accept-icon{width:52px;height:52px;display:grid;place-items:center;grid-row:1/3;border-radius:17px;background:rgba(255,255,255,.13)}
.request-accept-icon .icon{width:28px;height:28px}
.request-accept-panel .eyebrow{color:#cfe4ff}
.request-accept-panel h2{margin:2px 0 4px;color:#fff;font-size:clamp(1.4rem,4vw,2rem)}
.request-accept-panel p{margin:0;color:#e6f1ff}
.request-accept-panel form,.request-accept-panel>small{grid-column:1/-1}
.request-accept-panel form{margin-top:17px}
.request-accept-panel>small{margin-top:7px;color:#cfe0f6;text-align:center}
.accept-request-button{gap:8px;border-color:#fff;background:#fff;color:#06459e;box-shadow:0 10px 24px rgba(1,21,49,.24)}
.accept-request-button:hover{background:#eef6ff;color:#04377e}
.accept-request-button .icon{width:21px;height:21px}
.request-back-link{display:block;margin:14px auto 0;text-align:center;font-weight:750}
.request-help-card{position:sticky;top:142px}

.pending-request-callout{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;
  margin:18px 0 24px;padding:20px;border:1px solid #9ebfe8;border-radius:22px;
  background:linear-gradient(125deg,#e8f3ff,#fff 58%,#fff5ec);box-shadow:var(--shadow)
}
.pending-request-callout>span{width:52px;height:52px;display:grid;place-items:center;border-radius:16px;background:var(--brand);color:#fff}
.pending-request-callout>span .icon{width:25px;height:25px}
.pending-request-callout h2,.pending-request-callout p{margin:2px 0}
.request-preview-action{justify-self:end;color:var(--brand);font-weight:900}
.request-preview-new{border-left:5px solid var(--brand);background:linear-gradient(100deg,#edf5ff,#fff 48%)}

@media (max-width:859px){
  html{scroll-padding-top:126px}
  body.has-mobile-nav,body:has(.mobile-nav){padding-bottom:0}
  .site-header{box-shadow:0 8px 24px rgba(5,38,83,.08)}
  .header-inner{height:62px}
  .brand-logo-header{width:96px;height:54px}
  .nav-toggle,.main-nav,.nav-backdrop,.mobile-nav{display:none!important}
  .top-scroll-nav{display:block;border-top:1px solid #e2eaf4;background:rgba(255,255,255,.98)}
  .top-scroll-track{
    display:flex;gap:7px;width:100%;overflow-x:auto;padding:8px max(12px,env(safe-area-inset-left)) 9px;
    overscroll-behavior-inline:contain;scroll-snap-type:x proximity;scroll-padding-inline:12px;
    scrollbar-width:none;-webkit-overflow-scrolling:touch
  }
  .top-scroll-track::-webkit-scrollbar{display:none}
  .top-scroll-track>form{display:flex;flex:0 0 auto;margin:0}
  .top-scroll-link{
    position:relative;flex:0 0 auto;min-height:44px;display:inline-flex;align-items:center;gap:7px;
    padding:9px 13px;border:1px solid #d9e4f1;border-radius:999px;background:#fff;color:#3f5673;
    font-size:.78rem;font-weight:820;line-height:1;text-decoration:none;white-space:nowrap;scroll-snap-align:center
  }
  button.top-scroll-link{appearance:none;cursor:pointer}
  .top-scroll-link .icon{width:17px;height:17px}
  .top-scroll-link.is-active{border-color:#0a55b6;background:linear-gradient(135deg,#1265c8,#06439b);color:#fff;box-shadow:0 7px 17px rgba(6,74,168,.2)}
  .top-scroll-link b{min-width:19px;height:19px;display:grid;place-items:center;margin-left:1px;padding:0 5px;border-radius:999px;background:#c83b44;color:#fff;font-size:.65rem}
  .top-scroll-link.is-active b{background:#fff;color:#a5242f}
  .dashboard-page,.form-page{scroll-margin-top:124px}
  .request-row-action{grid-template-columns:1fr;gap:14px;padding:17px}
  .request-row-decision{min-width:0;align-items:stretch}
  .request-row-decision small{text-align:left}
  .request-row-cta{width:100%}
  .request-data-primary{grid-template-columns:1fr 1fr}
  .request-data-primary>div:last-child:nth-child(3){grid-column:1/-1}
  .request-accept-panel{grid-template-columns:1fr;padding:20px;text-align:left}
  .request-accept-icon{grid-row:auto}
  .request-accept-panel form,.request-accept-panel>small{grid-column:1}
  .request-accept-panel>small{text-align:left}
  .request-help-card{position:static}
  .pending-request-callout{grid-template-columns:auto 1fr;padding:17px}
  .pending-request-callout .button{grid-column:1/-1;width:100%}
  .request-preview{align-items:flex-start;flex-wrap:wrap}
  .request-preview-action{width:100%;padding-top:8px;border-top:1px solid var(--line)}
  .profile-wizard-navigation{bottom:calc(10px + env(safe-area-inset-bottom))}
}

@media (min-width:860px){
  .main-nav{max-width:min(72vw,920px);overflow-x:auto;scrollbar-width:thin;white-space:nowrap}
}

@media (prefers-reduced-motion:reduce){
  .request-row-action{transition:none!important}
}
