.site-home .el-hero-row { display: grid; align-items: center; grid-template-columns: minmax(0, 1.3fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 84px); }
.site-home .el-hero-row .hero-copy { text-align: left; }
.site-home .el-hero-row .hero-copy h1 { font-size: clamp(3.2rem, 4.9vw, 5.35rem); line-height: 1.015; text-wrap: balance; text-shadow: none; }
.site-home .el-hero-row .hero-copy h1 > span { display: inline; }
.site-home .el-hero-row .hero-copy .hero-summary, .site-home .el-hero-row .diagnostic-expectation { margin-left: 0; text-shadow: none; }
.site-home .el-hero-row .hero-summary { max-width: 51ch; }
.site-home .el-hero-row .hero-actions { justify-content: flex-start; }
.el-motion { min-width: 0; width: 100%; max-width: 570px; margin: 0 auto; position: relative; text-align: center; color: #172b52; isolation: isolate; }
.el-motion-stage { position: relative; width: 100%; aspect-ratio: 1.22; display: grid; place-items: center; }
.el-motion-net { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.el-motion-ribbon { position: relative; width: auto; height: 88%; aspect-ratio: 252 / 440; max-width: 57%; display: block; object-fit: contain; transform: translateY(-1%); }
.el-motion-ribbon img, .el-motion-ribbon canvas { display: block; width: 100%; height: 100%; object-fit: contain; }
.el-motion-ribbon canvas { position: absolute; inset: 0; }
.el-motion-ribbon canvas[hidden], .el-motion-ribbon img[hidden] { display: none; }
.el-motion-shadow { position: absolute; left: 31%; right: 31%; bottom: 0; height: 5.3%; background: radial-gradient(ellipse at center, #243d715c 0%, #4566ad24 32%, transparent 71%); filter: blur(3px); }
/* Display only the original wordmark within the full horizontal brand asset. */
.el-motion-name { position: relative; overflow: hidden; width: clamp(146px, 13vw, 190px); aspect-ratio: 1656 / 214; margin: 16px auto 0; animation: el-motion-name-in .9s .35s ease-out both; }
.el-motion-name img { position: absolute; display: block; max-width: none; width: 126.872%; height: auto; right: 0; top: 50%; transform: translateY(-50%); }
@keyframes el-motion-name-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (max-width: 800px) {
  .site-home .el-hero-row {
    --mobile-mark-width: clamp(76px, 26%, 165px);
    --mobile-mark-height: clamp(104px, 29vw, 160px);
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .site-home .el-hero-row .hero-copy { display: contents; }
  .site-home .el-hero-row .hero-copy h1 {
    grid-area: 1 / 1;
    font-size: clamp(2.1rem, 9.2vw, 4.25rem);
    line-height: 1.06;
    text-align: left;
    text-wrap: wrap;
  }
  .site-home .el-hero-row .hero-copy h1 > span { display: block; }
  .site-home .el-hero-row .hero-copy .hero-line-strong {
    max-width: calc(100% - var(--mobile-mark-width) - 12px);
    min-height: var(--mobile-mark-height);
  }
  .site-home .el-hero-row .hero-copy .hero-summary,
  .site-home .el-hero-row .diagnostic-expectation { margin-inline: auto; text-align: center; }
  .site-home .el-hero-row .hero-actions { justify-content: center; }
  .el-motion {
    grid-area: 1 / 1;
    justify-self: end;
    align-self: end;
    width: var(--mobile-mark-width);
    margin: 0;
    display: grid;
    justify-items: center;
  }
  .el-motion-stage {
    height: var(--mobile-mark-height);
    aspect-ratio: auto;
    display: block;
  }
  .el-motion-ribbon {
    position: absolute;
    inset: 4% 0;
    width: 100%;
    height: auto;
    max-width: none;
    aspect-ratio: auto;
    transform: none;
  }
  .el-motion-name { display: none; }
}
@media (prefers-reduced-motion: reduce) { .el-motion-name { animation: none; } }

.el-site-brand { display: inline-block; position: relative; line-height: 0; flex-shrink: 0; }
.el-site-brand > img { display: block; clip-path: inset(0 0 0 17%); }
.el-site-brand::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 17%;
  background: url("marca-pequena.webp") 0 50% / 9000% 100% no-repeat;
}
.nav-pill .el-site-brand::before { animation: el-brand-turn 3s steps(90, jump-none) infinite; }
@keyframes el-brand-turn { to { background-position-x: 100%; } }
@media (prefers-reduced-motion: reduce) { .nav-pill .el-site-brand::before { animation: none; } }

/* A moving beam from the upper-right, behind the ribbon and over the network. */
.el-motion-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: conic-gradient(from 205deg at 93% 5%, transparent, #77a6ff35 15deg, #ffffffc9 29deg, #edfaff85 37deg, transparent 53deg);
  mask-image: radial-gradient(ellipse at 76% 20%, #000 10%, #000a 45%, transparent 77%);
  filter: blur(5px);
  transform-origin: 93% 5%;
  animation: el-light-sweep 9s ease-in-out infinite;
}
@keyframes el-light-sweep {
  0%, 100% { opacity: .35; transform: rotate(-7deg); }
  48% { opacity: .86; transform: rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) { .el-motion-stage::before { animation: none; opacity: .55; } }
