
.talenthub-page :is(.th-service-detail, .th-golden-rule, .th-usecase-stage, .th-contact-card) {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}

/* El hover responde sin heredar el retraso del reveal */
.horbath-home :is(
  .th-capability-card,
  .th-capability-icon,
  .th-service-check,
  .th-service-tags span,
  .th-profile-row,
  .th-tech-card,
  .th-process-step,
  .th-difference-card,
  .th-usecase-tab,
  .th-service-detail,
  .th-golden-rule,
  .th-usecase-stage,
  .th-contact-card
).th-reveal.is-visible {
  transition-delay: 0ms;
  transition-duration: 0.2s;
  transition-timing-function: cubic-bezier(0.2, 0.75, 0.25, 1);
}

.horbath-home .th-tech-card.th-reveal.is-visible {
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
  transition-delay: 0ms;
}

.horbath-home .th-tech-card.th-reveal.is-visible:hover {
  transform: translateY(-7px);
  border-color: rgba(11, 72, 232, 0.24);
  box-shadow: 0 24px 58px rgba(7, 21, 69, 0.14);
}

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

.horbath-home .th-process-step h3.th-reveal.is-visible {
  transition: color 0.28s ease, transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: 0ms;
}

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

.horbath-home .th-capability-card.th-reveal.is-visible {
  transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.34s ease, border-color 0.28s ease;
  transition-delay: 0ms;
}

.horbath-home .hh-footer-brand {
  display: inline-flex;
  border-radius: 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.horbath-home .hh-footer-brand:hover,
.horbath-home .hh-footer-brand:focus-visible {
  transform: translateY(-3px);
  filter: drop-shadow(0 8px 16px rgba(46, 118, 255, 0.26));
}

@media (prefers-reduced-motion: reduce) {
  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-usecase-grid, .th-faq-head, .th-faq-item, .th-contact-copy, .th-contact-card),
  .horbath-home .th-reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@media (max-width: 767px) {
  .talenthub-page .th-hero.th-dark {
    background:
      linear-gradient(180deg, rgba(6, 21, 69, 0.84) 0%, rgba(6, 21, 69, 0.72) 48%, rgba(6, 21, 69, 0.9) 100%),
      url("../talenthub/talenthub-office-mobile.jpg") 68% center / cover no-repeat,
      linear-gradient(135deg, var(--th-navy), var(--th-navy-2));
  }

  .horbath-home .th-reveal.is-visible {
    animation: th-mobile-fade-up 0.62s cubic-bezier(0.16, 1, 0.3, 1) var(--th-reveal-delay, 0ms) backwards;
  }

  .talenthub-page .th-section :is(h2, h3, p, summary, small, label, strong).th-reveal,
  .talenthub-page :is(.th-chip, .th-service-tags span).th-reveal {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .horbath-home .th-capability-card.th-reveal.is-visible {
    transition: transform 0.56s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease, border-color 0.38s ease;
  }

  .horbath-home .th-capability-card.th-reveal.is-visible:hover {
    transform: translateY(-5px) scale(1.006);
    box-shadow: 0 22px 48px rgba(7, 21, 69, 0.11);
  }

  .horbath-home .th-service-check.th-reveal.is-visible {
    transition: transform 0.34s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background-color 0.3s ease, box-shadow 0.34s ease;
  }

  .horbath-home .th-service-check.th-reveal.is-visible:active {
    transform: translateX(6px) scale(1.004);
    border-color: rgba(46, 202, 255, 0.58);
    background: rgba(255, 255, 255, 0.105);
    box-shadow: 0 16px 34px rgba(2, 12, 44, 0.16);
  }

  .talenthub-page .th-service-check:active > span {
    transform: scale(1.12);
    color: #ffffff;
    background: rgba(46, 202, 255, 0.3);
    box-shadow: 0 0 0 6px rgba(46, 202, 255, 0.1);
  }
}

/* Misma distribución del menú del Home en tablet */
@media (min-width: 768px) and (max-width: 1080px) {
  .horbath-home .hh-nav-links > a[href="./index.html#nosotros-horbath"] {
    grid-column: 1;
    grid-row: 1;
  }

  .horbath-home .hh-nav-links > a[href="./index.html#promesas-horbath"] {
    grid-column: 2;
    grid-row: 1;
  }

  .horbath-home .hh-nav-links > a[href="./index.html#clientes-horbath"] {
    grid-column: 1;
    grid-row: 2;
  }

  .horbath-home .hh-nav-links > a[href="./index.html#tecnologias-horbath"] {
    grid-column: 2;
    grid-row: 2;
  }

  .horbath-home .hh-nav-solutions {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .horbath-home .hh-lang-switch {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

/* Desplazamiento interno discreto para el menú móvil desplegado */
@media (max-width: 767px) {
  .horbath-home .hh-nav-check:checked ~ .hh-nav-links {
    max-height: calc(100vh - 112px);
    max-height: calc(100svh - 112px);
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(56, 212, 254, 0.2) transparent;
  }

  .horbath-home .hh-nav-check:checked ~ .hh-nav-links::-webkit-scrollbar {
    width: 3px;
  }

  .horbath-home .hh-nav-check:checked ~ .hh-nav-links::-webkit-scrollbar-track {
    background: transparent;
  }

  .horbath-home .hh-nav-check:checked ~ .hh-nav-links::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(56, 212, 254, 0.24);
  }
}
