/* SurveyAll Phase 2E-4: independent building work, condition and evidence pathways.
   Adds evidence-specific visuals and hub components while preserving the Phase 2E specialist system. */

.sa2e-evidence-hub-hero { overflow:hidden; position:relative; color:#fff; background:linear-gradient(115deg,#032a45 0%,#064663 100%); }
.sa2e-evidence-hub-hero::after { content:""; position:absolute; width:680px; height:680px; border-radius:50%; right:-190px; top:-320px; background:radial-gradient(circle,rgba(121,96,210,.25),rgba(41,186,173,0) 70%); pointer-events:none; }
.sa2e-evidence-hub-grid { position:relative; z-index:1; min-height:520px; display:grid; grid-template-columns:minmax(0,1fr) minmax(390px,.78fr); align-items:center; gap:64px; padding-block:68px; }
.sa2e-evidence-hub-copy .sa2e-kicker { color:#79ddd4; }
.sa2e-evidence-hub-copy h1 { max-width:760px; margin:0; color:#fff; font:650 clamp(43px,5vw,70px)/1.03 Inter,Arial,sans-serif; letter-spacing:-.045em; }
.sa2e-evidence-hub-copy > p:last-of-type { max-width:760px; margin:20px 0 0; color:#e7f0f5; font:400 18px/1.62 Inter,Arial,sans-serif; }
.sa2e-evidence-hub-actions { margin-top:27px; display:flex; flex-wrap:wrap; gap:11px; }

.sa2e-evidence-visual { min-height:330px; padding:28px; border-radius:22px; background:rgba(255,255,255,.97); color:#17394f; box-shadow:0 24px 60px rgba(0,0,0,.2); }
.sa2e-evidence-stack { min-height:210px; position:relative; display:grid; place-items:center; border-radius:16px; overflow:hidden; background:linear-gradient(145deg,#eef5f8,#e6f0ee); }
.sa2e-evidence-paper { position:absolute; width:62%; height:68%; border-radius:12px; background:#fff; border:1px solid #dce6ea; box-shadow:0 16px 34px rgba(25,61,79,.12); }
.sa2e-evidence-paper.p1 { transform:translate(-42px,15px) rotate(-7deg); opacity:.78; }
.sa2e-evidence-paper.p2 { transform:translate(35px,-8px) rotate(6deg); opacity:.9; }
.sa2e-evidence-paper.p3 { position:relative; z-index:2; display:flex; flex-direction:column; gap:13px; padding:26px; transform:none; }
.sa2e-evidence-paper .line { height:8px; border-radius:999px; background:#d7e5e8; }
.sa2e-evidence-paper .line.short { width:56%; }
.sa2e-evidence-paper .line.teal { width:42%; background:#75d7cb; }
.sa2e-evidence-paper .stamp { margin-top:auto; width:58px; height:58px; display:grid; place-items:center; align-self:flex-end; border-radius:50%; color:#fff; background:#0b8c71; font-size:24px; }
.sa2e-evidence-visual h2 { margin:20px 0 8px; color:#15344e; font:700 24px/1.22 'Libre Baskerville',Georgia,serif; }
.sa2e-evidence-visual p { margin:0; color:#607487; font:400 13px/1.6 Inter,Arial,sans-serif; }

.sa2e-evidence-routes { padding:68px 0; background:#f6f8fa; border-bottom:1px solid #e3e9ed; }
.sa2e-evidence-route-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.sa2e-evidence-route { min-height:185px; display:grid; grid-template-columns:auto 1fr auto; align-items:start; gap:18px; padding:27px; border-radius:18px; border:1px solid #dce6ea; background:#fff; color:#17394f; text-decoration:none; box-shadow:0 10px 30px rgba(15,47,67,.05); }
.sa2e-evidence-route:hover { color:#17394f; transform:translateY(-2px); box-shadow:0 16px 34px rgba(15,47,67,.09); }
.sa2e-evidence-route-icon { width:54px; height:54px; display:grid; place-items:center; border-radius:15px; background:#e8f5f2; color:#087e67; font-size:23px; }
.sa2e-evidence-route strong { display:block; margin:2px 0 7px; color:#15344e; font:700 21px/1.28 'Libre Baskerville',Georgia,serif; }
.sa2e-evidence-route small { display:block; color:#607487; font:400 13px/1.58 Inter,Arial,sans-serif; }
.sa2e-evidence-route > i { margin-top:16px; color:#0a8c72; }
.sa2e-evidence-route.expert { border-color:#d6dbe8; background:linear-gradient(145deg,#fff,#f6f4fb); }
.sa2e-evidence-route.expert .sa2e-evidence-route-icon { background:#eee9fb; color:#6750b8; }
.sa2e-evidence-route.expert > i { color:#6750b8; }

.sa2e-evidence-distinction { padding:68px 0; background:#fff; }
.sa2e-evidence-distinction-grid { display:grid; grid-template-columns:minmax(300px,.7fr) minmax(0,1fr); gap:56px; align-items:start; }
.sa2e-evidence-distinction h2 { margin:0; color:#15344e; font:700 clamp(31px,3.4vw,48px)/1.14 'Libre Baskerville',Georgia,serif; letter-spacing:-.03em; }
.sa2e-evidence-distinction-copy { display:grid; gap:12px; }
.sa2e-evidence-distinction-card { padding:22px 24px; border-radius:15px; border:1px solid #dce6ea; background:#fbfcfd; }
.sa2e-evidence-distinction-card h3 { margin:0 0 7px; color:#17394f; font:700 17px/1.3 Inter,Arial,sans-serif; }
.sa2e-evidence-distinction-card p { margin:0; color:#607487; font:400 13px/1.62 Inter,Arial,sans-serif; }
.sa2e-evidence-distinction-card.formal { background:#f5f2fb; border-color:#ded7ef; }

/* Specialist visual: building work assessment */
.sa2e-building-stage { position:relative; display:grid; place-items:center; background:linear-gradient(145deg,#f4eee5,#e7f0ef); }
.sa2e-building-frame { width:min(78%,330px); height:175px; position:relative; border-radius:8px 8px 4px 4px; background:#efcfad; border:3px solid #a96846; box-shadow:0 17px 36px rgba(45,66,75,.12); }
.sa2e-building-frame::before { content:""; position:absolute; left:-18px; right:-18px; top:-53px; height:76px; background:#85503b; clip-path:polygon(50% 0,100% 72%,92% 100%,8% 100%,0 72%); }
.sa2e-building-frame .opening { position:absolute; width:58px; height:68px; bottom:0; left:50%; transform:translateX(-50%); border:4px solid #fff; background:#3a7190; box-shadow:0 0 0 2px #98644b; }
.sa2e-building-frame .steel { position:absolute; left:14%; right:14%; top:50px; height:12px; background:#485761; box-shadow:0 3px 0 #2c3740; }
.sa2e-building-frame .brace { position:absolute; left:13%; top:7px; width:7px; height:147px; background:#64727c; transform:rotate(9deg); }
.sa2e-building-frame .brace.b2 { left:auto; right:13%; transform:rotate(-9deg); }
.sa2e-building-check { position:absolute; right:7%; bottom:8%; width:88px; height:88px; display:grid; place-items:center; border-radius:50%; background:#fff; color:#0a8d77; font-size:38px; border:6px solid #0a8d77; box-shadow:0 0 0 7px rgba(255,255,255,.75); }

/* Specialist visual: condition schedule */
.sa2e-condition-stage { padding:22px; display:grid; grid-template-columns:1fr 1fr; gap:14px; background:linear-gradient(145deg,#edf5f7,#e9efed); }
.sa2e-condition-photo { position:relative; min-height:178px; border-radius:14px; border:1px solid #d6e3e6; background:#fff; overflow:hidden; }
.sa2e-condition-photo::before { content:""; position:absolute; inset:24px 18px 42px; border-radius:7px; background:linear-gradient(135deg,#eac8a6 0 48%,#cf9b73 48% 52%,#f3e6d9 52%); }
.sa2e-condition-photo .crack { position:absolute; left:49%; top:51px; width:4px; height:63px; background:#774f42; transform:rotate(8deg); box-shadow:6px 19px 0 -1px #774f42; }
.sa2e-condition-photo strong { position:absolute; left:16px; bottom:13px; color:#17394f; font:700 11px/1.2 Inter,Arial,sans-serif; }
.sa2e-condition-photo i { position:absolute; right:14px; top:14px; width:34px; height:34px; display:grid; place-items:center; border-radius:50%; color:#fff; background:#0a8d77; }

/* Specialist visual: property evidence report */
.sa2e-report-source-stage { padding:22px; display:grid; gap:11px; background:linear-gradient(145deg,#eaf4f6,#edf1ee); }
.sa2e-report-source { min-height:55px; display:grid; grid-template-columns:44px 1fr auto; align-items:center; gap:12px; padding:10px 13px; border-radius:11px; background:#fff; border:1px solid #d9e5e8; }
.sa2e-report-source > i:first-child { width:38px; height:38px; display:grid; place-items:center; border-radius:10px; background:#e7f5f2; color:#087e67; }
.sa2e-report-source strong { color:#17394f; font:700 11px/1.25 Inter,Arial,sans-serif; }
.sa2e-report-source span { color:#697d8c; font:500 10px/1.25 Inter,Arial,sans-serif; }
.sa2e-report-source > i:last-child { color:#0a8c72; }

/* Specialist visual: Part 35 / expert witness */
.sa2e-expert-stage { display:grid; place-items:center; background:linear-gradient(145deg,#eceef7,#edf4f3); }
.sa2e-expert-card { width:min(82%,350px); padding:25px; border-radius:16px; background:#fff; border:1px solid #daddea; box-shadow:0 18px 38px rgba(42,48,78,.12); }
.sa2e-expert-card-head { display:flex; align-items:center; gap:13px; margin-bottom:18px; }
.sa2e-expert-card-head i { width:48px; height:48px; display:grid; place-items:center; border-radius:50%; background:#eee9fb; color:#6850b7; font-size:20px; }
.sa2e-expert-card-head strong { color:#15344e; font:700 15px/1.3 Inter,Arial,sans-serif; }
.sa2e-expert-rule { display:flex; align-items:center; gap:10px; padding:10px 0; border-top:1px solid #e4e8ed; color:#607487; font:500 11px/1.4 Inter,Arial,sans-serif; }
.sa2e-expert-rule i { color:#0a8c72; }

.sa2e-evidence-caution { margin-top:20px; padding:18px 20px; border-radius:12px; background:#f7f5fb; border:1px solid #e0daef; color:#514f64; font:500 12.5px/1.6 Inter,Arial,sans-serif; }
.sa2e-evidence-caution strong { color:#3f365f; }

@media (max-width:1080px) {
  .sa2e-evidence-hub-grid { grid-template-columns:minmax(0,1fr) minmax(340px,.72fr); gap:34px; }
}

@media (max-width:760px) {
  .sa2e-evidence-hub-grid { min-height:auto; grid-template-columns:1fr; gap:30px; padding-block:46px; }
  .sa2e-evidence-hub-copy h1 { font-size:clamp(37px,10.8vw,50px); }
  .sa2e-evidence-hub-copy > p:last-of-type { font-size:15px; line-height:1.58; }
  .sa2e-evidence-hub-actions { display:grid; grid-template-columns:1fr; }
  .sa2e-evidence-route-grid,.sa2e-evidence-distinction-grid { grid-template-columns:1fr; }
  .sa2e-evidence-route { min-height:0; padding:21px; }
  .sa2e-evidence-routes,.sa2e-evidence-distinction { padding:50px 0; }
  .sa2e-condition-stage { grid-template-columns:1fr; }
  .sa2e-condition-photo { min-height:145px; }
}

@media (max-width:420px) {
  .sa2e-evidence-hub-copy h1 { font-size:36px; }
  .sa2e-evidence-route { grid-template-columns:auto 1fr; }
  .sa2e-evidence-route > i { display:none; }
}
