/* Three lower Home blocks only. Layout and reveal have separate owners. */
.presencia-home [data-lower-section] > .wrap,
.presencia-home [data-lower-section] :is(.feature,.step,.case-card) {
  transform:none; opacity:1; will-change:auto;
}
.presencia-home [data-lower-section] .lower-layout-item { position:relative; min-width:0; display:grid; }
.presencia-home [data-lower-section] .lower-reveal { min-width:0; display:grid; }
.presencia-home [data-lower-section] .lower-reveal > article { height:100%; }
.presencia-home [data-lower-section] .lower-heading { position:relative; }
.presencia-home [data-lower-section="network"] .lower-connected-grid {
  position:relative; isolation:isolate; grid-template-columns:repeat(3,minmax(0,1fr));
  gap:52px 32px; padding-top:28px;
}
.presencia-home [data-lower-section="network"] .lower-layout-item { z-index:1; }
.presencia-home [data-lower-section="network"] .feature { padding:20px; }
.presencia-home [data-lower-section="network"] .lower-network-svg {
  position:absolute; inset:0; width:100%; height:100%; overflow:visible;
  pointer-events:none; z-index:0;
}
.presencia-home [data-lower-section="network"] .lower-network-line {
  fill:none; stroke:var(--lav); stroke-width:1.35; opacity:.4;
  stroke-linecap:round; vector-effect:non-scaling-stroke;
}
.presencia-home [data-lower-section="network"] .lower-network-node {
  fill:#fff; stroke:var(--lav); stroke-width:1.6; opacity:.8;
  vector-effect:non-scaling-stroke;
}
.presencia-home [data-lower-section="steps"] .lower-rhythm-grid {
  grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; padding-block:16px;
}
.presencia-home [data-lower-section="steps"] .lower-layout-item:nth-child(odd) { top:-14px; }
.presencia-home [data-lower-section="steps"] .lower-layout-item:nth-child(even) { top:14px; }
.presencia-home [data-lower-section="close"] .lower-rhythm-grid {
  grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; padding-block:10px;
}
.presencia-home [data-lower-section="close"] .lower-layout-item:nth-child(odd) { top:-8px; }
.presencia-home [data-lower-section="close"] .lower-layout-item:nth-child(even) { top:8px; }
@media(min-width:761px) and (max-width:1100px) {
  .presencia-home [data-lower-section="network"] .lower-connected-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:40px 24px; }
  .presencia-home [data-lower-section="steps"] .lower-rhythm-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:24px; padding-block:10px; }
  .presencia-home [data-lower-section="steps"] .lower-layout-item:nth-child(odd) { top:-8px; }
  .presencia-home [data-lower-section="steps"] .lower-layout-item:nth-child(even) { top:8px; }
  .presencia-home [data-lower-section="close"] .lower-layout-item:nth-child(odd) { top:-5px; }
  .presencia-home [data-lower-section="close"] .lower-layout-item:nth-child(even) { top:5px; }
}
@media(max-width:760px) {
  .presencia-home [data-lower-section="network"] .lower-connected-grid {
    grid-template-columns:minmax(0,1fr); gap:22px; padding:0 0 0 14px;
  }
  .presencia-home [data-lower-section="network"] .feature { padding:20px; }
  .presencia-home [data-lower-section="steps"] .lower-rhythm-grid,
  .presencia-home [data-lower-section="close"] .lower-rhythm-grid {
    grid-template-columns:minmax(0,1fr); gap:16px; padding-block:0;
  }
  .presencia-home [data-lower-section] .lower-rhythm-grid .lower-layout-item { top:0; }
}
.presencia-home .lower-motion-debug {
  position:fixed; right:12px; bottom:12px; z-index:40; display:flex; flex-wrap:wrap;
  gap:8px; max-width:calc(100vw - 24px); padding:10px; background:#fff;
  color:var(--navy); border:1px solid var(--line); border-radius:12px;
}
.presencia-home .lower-motion-debug button {
  font:inherit; min-height:44px; border:1px solid var(--line); background:var(--soft);
  color:var(--navy); border-radius:8px; padding:8px 12px; cursor:pointer;
}
@media(prefers-reduced-motion:reduce) {
  .presencia-home [data-lower-section] .lower-reveal,
  .presencia-home [data-lower-section] .lower-heading { transform:none; opacity:1; }
}
