#principal>.home-cut{margin:0;padding:clamp(40px,6vw,96px) 6vw;background:#111b2a;color:white;width:100%;max-width:none;box-sizing:border-box}
#proyecto .project-photo{display:block;width:100%;height:clamp(180px,22vw,340px);object-fit:cover;border-radius:12px;margin-top:28px}
.home-case{background:#150d20;color:white;padding:0 7vw 40px;text-align:center;margin-top:-1px}.home-case summary{cursor:pointer;text-decoration:underline;text-underline-offset:4px}.home-case p{max-width:60ch;margin:16px auto;text-align:left}
.home-footer{display:grid;grid-template-columns:1fr 2fr;align-items:start;gap:6vw;background:#151020;color:white;padding:52px 6vw}.home-footer>div,.home-footer details div{display:grid;gap:10px}.home-footer details div{grid-template-columns:1fr 1fr;margin-top:18px}.home-footer summary{cursor:pointer;font-weight:600}.home-footer a{font-size:14px;text-decoration:underline;text-underline-offset:3px}.home-footer strong{font-size:23px}@media(max-width:700px){.home-footer{grid-template-columns:1fr}.home-footer details div{grid-template-columns:1fr}#proyecto .project-photo{height:145px}}

.faq-kiwi{background:#f4eff3}.faq-kiwi h3{margin:2rem 0 .8rem;font-size:1.45rem}.faq-kiwi details{border-bottom:1px solid #cebfca}.faq-kiwi summary{cursor:pointer;padding:1rem 0;font-weight:600}.faq-kiwi summary::marker{color:#b31160}.faq-kiwi details p{max-width:70ch;margin:0 0 1rem}

#continuidad {
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.42fr);
  align-items: center;
  gap: clamp(24px, 4vw, 72px);
}
#continuidad .kiwi-routes { grid-column: auto; min-width: 0; }
#continuidad h2 { font-size: clamp(38px, 4vw, 70px); text-wrap: balance; }
@media (max-width: 900px) {
  #continuidad { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  #continuidad p { max-width: 64ch; }
}

#continuidad > div:first-child { grid-column: 1 / -1; }
#continuidad h2 { max-width: none; margin-bottom: 0; }
#continuidad > .continuidad-intro { margin: 0; align-self: start; }
#continuidad { row-gap: clamp(18px, 2vw, 32px); }

#continuidad {background:radial-gradient(ellipse at 80% 70%,#251937,transparent 55%),#111b2a}
#continuidad .continuidad-intro {margin:0}
.route-console {align-self:center}
.route-readout {margin:1.5rem 0;border-top:1px solid #545367}
.route-readout div {display:flex;align-items:center;justify-content:space-between;gap:.75rem;padding:.9rem 0;border-bottom:1px solid #545367}
.route-readout dt {font-weight:700}
.route-readout dt::before {content:"";display:inline-block;width:1.5rem;height:3px;margin-right:.6rem;vertical-align:middle;background:#ff72b7}
.route-readout div+div dt::before {background:repeating-linear-gradient(90deg,#cec0ff 0 4px,transparent 4px 7px)}
.route-readout dd {margin:0;color:#b3efd7;font-size:.86rem;text-align:right}
#continuidad:has(.fault) #fiber-status {color:#ff9dcb}
.route-actions {display:flex;flex-wrap:wrap;gap:.6rem}
.route-actions button {border:1px solid #8c849a;border-radius:8px;background:transparent;color:white;padding:.8rem 1rem;font:inherit;cursor:pointer}
.route-actions #sim {background:#ff91cb;color:#201021;border-color:transparent;font-weight:700}
#continuidad .kiwi-routes {align-self:center}
#continuidad #estado {margin-bottom:0}

@media (prefers-reduced-motion: no-preference) {
  .home-cut li { --beat: 0s; --signal: #e31c79; }
  .home-cut li:nth-child(2) { --beat: 2s; }
  .home-cut li:nth-child(3) { --beat: 4s; }
  .home-cut li:nth-child(4) { --beat: 6s; --signal: #149967; }
  .home-cut .story-running li {
    animation: story-lift 8s ease-in-out var(--beat) infinite;
  }
  .home-cut .story-running li::after {
    content: ''; position: absolute; top: 0; left: 8%; width: 84%; height: 3px;
    background: var(--signal); box-shadow: 0 0 12px var(--signal);
    transform: scaleX(0); transform-origin: left; pointer-events: none;
    animation: story-trace 8s ease-out var(--beat) infinite;
  }
  .home-cut .story-running li + li::before {
    animation: story-arrow 8s ease-out calc(var(--beat) - .45s) infinite;
  }
}
@keyframes story-lift {
  0%, 25%, 100% { transform: translateY(0); }
  6%, 18% { transform: translateY(-5px); box-shadow: 0 0 0 2px var(--signal); }
}
@keyframes story-trace {
  0%, 25%, 100% { transform: scaleX(0); opacity: 0; }
  3% { opacity: 1; }
  19% { transform: scaleX(1); opacity: 1; }
  24% { transform: scaleX(1); opacity: 0; }
}
@keyframes story-arrow {
  0%, 15%, 100% { opacity: .65; }
  6% { color: #ff9fce; opacity: 1; text-shadow: 0 0 8px #e31c79; }
}

.home-cut .stage-heading {display:flex;align-items:center;gap:.75rem}
.home-cut .stage-heading svg {width:36px;height:36px;padding:7px;box-sizing:border-box;flex:none;border:1px solid currentColor;border-radius:10px;color:#ff97c7;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.home-cut li:last-child .stage-heading svg {color:#096845}
.home-cut .route-status {display:flex;align-items:center;gap:.5rem;font-size:.85rem;font-weight:650;padding-top:.65rem;border-top:1px solid #ffffff30;margin-top:auto}
.home-cut .route-status::before {content:"";width:.5rem;height:.5rem;border-radius:50%;background:#55dbac}
.home-cut li:first-child .route-status::before {background:#ff87bc}
.home-cut li:last-child .route-status {color:#086541;border-color:#18152626}
.home-cut li:last-child .route-status::before {background:currentColor}
.home-cut.cut-story li p {margin-bottom:1rem}

.home-cut.cut-story li h3 {margin-bottom:1.25rem}
.home-cut.cut-story li:first-child dl dd {color:#ff99c8}
.home-cut.cut-story li:nth-child(3) dl dd {color:inherit}

#soluciones .row {gap:clamp(12px,1.5vw,20px)}
#soluciones .row .icon {
  --icon-size:clamp(42px,4vw,54px);
  width:var(--icon-size);
  height:var(--icon-size);
  color:#E31C79;
  flex-shrink:0;
}

@media (prefers-reduced-motion: no-preference) {
  #soluciones .row:is(:hover,:focus-visible,:active) .icon > * {
    transform-box:fill-box;
    transform-origin:center;
    animation:kiwi-service-pulse .58s ease-out backwards;
  }
  #soluciones .row .icon > :nth-child(2) {animation-delay:60ms}
  #soluciones .row .icon > :nth-child(n+3) {animation-delay:120ms}
  @keyframes kiwi-service-pulse {
    0%,100% {transform:translateY(0) scale(1)}
    45% {transform:translateY(-1px) scale(1.07)}
  }
}
