

.horbath-home .hh-nav-links .hh-submenu a:hover,
.horbath-home .hh-nav-links .hh-submenu a:focus-visible {
  border-color: rgba(48, 211, 255, 0.52);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(48, 211, 255, 0.08), 0 12px 28px rgba(48, 211, 255, 0.12);
}

.horbath-home .hh-nav-links .hh-submenu a:hover::before,
.horbath-home .hh-nav-links .hh-submenu a:focus-visible::before {
  animation: hh-submenu-flash 0.95s cubic-bezier(0.4, 0, 0.2, 1) 1 both;
}

@keyframes hh-submenu-flash {
  0% { opacity: 0; transform: skewX(-22deg) translate3d(0, 0, 0); }
  8% { opacity: 0.9; }
  100% { opacity: 0; transform: skewX(-22deg) translate3d(420%, 0, 0); }
}

@media (max-width: 1080px) {
  .horbath-home .hh-nav-check:checked ~ .hh-nav-links {
    max-height: 720px;
  }

  .horbath-home .hh-nav-item {
    display: block;
    width: 100%;
  }

  .horbath-home .hh-nav-main-link {
    display: flex;
    width: 100%;
    min-height: 46px;
    justify-content: space-between;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .horbath-home .hh-nav-solutions .hh-submenu {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    max-height: 0;
    margin-top: 0;
    padding: 0;
    border-width: 0;
    border-radius: 12px;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    overflow: hidden;
    transform: none;
    transition: max-height 0.42s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.42s ease, padding 0.42s ease, opacity 0.3s ease, visibility 0.42s ease;
  }

  .horbath-home .hh-nav-solutions.is-open .hh-submenu {
    max-height: 260px;
    margin-top: 8px;
    padding: 8px;
    border-width: 1px;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .horbath-home .hh-nav-links .hh-submenu a {
    min-height: 38px;
    padding: 0 12px;
    font-size: 13px;
  }
}

@media (max-width: 767px) {
  .horbath-home .hh-submenu {
    grid-template-columns: 1fr;
  }

  .horbath-home .hh-nav-solutions,
  .horbath-home .hh-nav-solutions .hh-submenu {
    width: 100%;
    min-width: 0;
    max-width: none;
    left: auto;
    right: auto;
    transform: none;
    box-sizing: border-box;
    justify-self: stretch;
  }

  .horbath-home .hh-nav-links .hh-submenu a {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .horbath-home .hh-nav-links .hh-submenu a > span {
    display: block;
    width: 100%;
    color: inherit;
    text-align: left;
  }
}

body.has-reveal .talenthub-page .th-section :is(h2, h3, p, summary, small, label, strong),
body.has-reveal .talenthub-page :is(.th-stats-band > .th-container, .th-metric, .th-capability-head, .th-capability-card, .th-service-copy, .th-service-detail, .th-profiles-head, .th-profile-row, .th-stack-area, .th-process-head, .th-process-step, .th-difference-head, .th-difference-card, .th-golden-rule, .th-usecase-head, .th-faq-head, .th-faq-item, .th-contact-copy, .th-contact-card),
.horbath-home .th-reveal {
  animation: none;
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: blur(2px);
  transition: opacity 0.68s ease var(--th-reveal-delay, 0ms), transform 0.68s cubic-bezier(0.16, 1, 0.3, 1) var(--th-reveal-delay, 0ms), filter 0.58s ease var(--th-reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

body.has-reveal .talenthub-page .th-section :is(h2, h3, p, summary, small, label, strong).is-visible,
body.has-reveal .talenthub-page :is(.th-stats-band > .th-container, .th-metric, .th-capability-head, .th-capability-card, .th-service-copy, .th-service-detail, .th-profiles-head, .th-profile-row, .th-stack-area, .th-process-head, .th-process-step, .th-difference-head, .th-difference-card, .th-golden-rule, .th-usecase-head, .th-faq-head, .th-faq-item, .th-contact-copy, .th-contact-card).is-visible,
.horbath-home .th-reveal.is-visible {
  animation: th-scroll-fade-up 0.78s cubic-bezier(0.16, 1, 0.3, 1) var(--th-reveal-delay, 0ms) backwards;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0);
}

/* El cambio de estado ya usa la transición de reveal; no repetir una
   animación adicional al entrar en vista. */
body.has-reveal .talenthub-page .th-section :is(h2, h3, p, summary, small, label, strong).is-visible,
body.has-reveal .talenthub-page :is(.th-stats-band > .th-container, .th-metric, .th-capability-head, .th-capability-card, .th-service-copy, .th-service-detail, .th-profiles-head, .th-profile-row, .th-stack-area, .th-process-head, .th-process-step, .th-difference-head, .th-difference-card, .th-golden-rule, .th-usecase-head, .th-faq-head, .th-faq-item, .th-contact-copy, .th-contact-card).is-visible,
.horbath-home .th-reveal.is-visible { animation: none; }

/* Conserva el movimiento de hover después de la animación de entrada */
@media (hover: hover) and (pointer: fine) {
  .horbath-home .th-capability-card.th-reveal.is-visible:hover,
  .horbath-home .th-card.th-reveal.is-visible:hover,
  .horbath-home .th-dark-card.th-reveal.is-visible:hover {
    transform: translateY(-14px) scale(1.008);
  }

  .horbath-home .th-capability-card.th-reveal.is-visible:hover {
    border-color: rgba(11, 72, 232, 0.34);
    box-shadow: 0 34px 72px rgba(7, 21, 69, 0.18);
  }

  .horbath-home .th-capability-card:hover .th-capability-icon.th-reveal.is-visible {
    transform: rotate(-4deg) translateY(-2px);
  }

  .horbath-home .th-service-check.th-reveal.is-visible:hover,
  .horbath-home .th-profile-row.th-reveal.is-visible:hover {
    transform: translateX(8px);
  }

  .horbath-home .th-service-tags span.th-reveal.is-visible:hover {
    transform: translateY(-2px);
  }

  .horbath-home .th-tech-card.th-reveal.is-visible:hover {
    transform: translateY(-7px);
  }

  .horbath-home .th-difference-card.th-reveal.is-visible:hover {
    transform: translate3d(0, -18px, 0);
  }

  .horbath-home .th-usecase-tab.th-reveal.is-visible:hover {
    transform: translateX(5px);
  }

  .horbath-home :is(.th-service-detail, .th-golden-rule, .th-usecase-stage, .th-contact-card).th-reveal.is-visible:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(7, 21, 69, 0.14);
  }
}
