:root {
  --hp-bg: #f3f6fb;
  --hp-surface: #ffffff;
  --hp-surface-strong: #f8fbff;
  --hp-text: #0d1628;
  --hp-muted: #4a5b76;
  --hp-primary: #103b6d;
  --hp-primary-hover: #164b87;
  --hp-accent: #d4a939;
  --hp-border: #d5e0ef;
  --hp-shadow-sm: 0 8px 22px rgba(13, 22, 40, 0.07);
  --hp-shadow: 0 18px 45px rgba(13, 22, 40, 0.12);
  --hp-radius-sm: 12px;
  --hp-radius: 18px;
  --hp-radius-lg: 26px;
  --hp-shell: min(1160px, calc(100% - 2.4rem));
  --hp-mouse-x: 0px;
  --hp-mouse-y: 0px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.human-premium-page {
  background:
    radial-gradient(circle at 0 0, rgba(16, 59, 109, 0.08), transparent 35%),
    radial-gradient(circle at 100% 0, rgba(22, 75, 135, 0.08), transparent 35%),
    var(--hp-bg);
  color: var(--hp-text);
  font-family: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.68;
  margin: 0;
  overflow-x: hidden;
}

/* Animated ambient background layers */
.human-ambient {
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  position: fixed;
  z-index: -2;
}

.human-ambient::after {
  background: radial-gradient(
    circle at calc(50% + var(--hp-mouse-x) * 0.8)
      calc(50% + var(--hp-mouse-y) * 0.8),
    rgba(255, 255, 255, 0.32),
    rgba(255, 255, 255, 0) 42%
  );
  content: "";
  inset: 0;
  position: absolute;
  transition: background-position 0.2s ease-out;
}

.human-ambient__orb {
  border-radius: 999px;
  filter: blur(40px);
  position: absolute;
}

.human-ambient__orb--one {
  animation: humanOrbOne 7s ease-in-out infinite;
  background: rgba(35, 101, 171, 0.22);
  height: 340px;
  left: -120px;
  top: 90px;
  transform: translate3d(
    calc(var(--hp-mouse-x) * 0.45),
    calc(var(--hp-mouse-y) * 0.45),
    0
  );
  transition: transform 0.22s ease-out;
  width: 340px;
}

.human-ambient__orb--two {
  animation: humanOrbTwo 9s ease-in-out infinite;
  background: rgba(212, 169, 57, 0.18);
  bottom: 70px;
  height: 300px;
  right: -120px;
  transform: translate3d(
    calc(var(--hp-mouse-x) * -0.42),
    calc(var(--hp-mouse-y) * -0.42),
    0
  );
  transition: transform 0.24s ease-out;
  width: 300px;
}

.human-ambient__orb--three {
  animation: humanOrbThree 8s ease-in-out infinite;
  background: rgba(19, 165, 127, 0.14);
  height: 240px;
  left: 40%;
  top: 55%;
  transform: translate3d(
    calc(var(--hp-mouse-x) * 0.55),
    calc(var(--hp-mouse-y) * -0.55),
    0
  );
  transition: transform 0.28s ease-out;
  width: 240px;
}

.human-ambient__grid {
  animation: humanGridMove 12s linear infinite;
  background-image:
    linear-gradient(rgba(16, 59, 109, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 59, 109, 0.06) 1px, transparent 1px);
  background-position: center;
  background-size: 34px 34px;
  inset: -20px;
  opacity: 0.28;
  position: absolute;
  transform: translate3d(
    calc(var(--hp-mouse-x) * 0.08),
    calc(var(--hp-mouse-y) * 0.08),
    0
  );
  transition: transform 0.35s ease-out;
}

body.human-premium-page::before,
body.human-premium-page::after {
  border-radius: 999px;
  content: "";
  filter: blur(55px);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

body.human-premium-page::before {
  animation: humanFloatA 13s ease-in-out infinite;
  background: rgba(35, 101, 171, 0.2);
  height: 240px;
  left: -90px;
  top: 70px;
  width: 240px;
}

body.human-premium-page::after {
  animation: humanFloatB 15s ease-in-out infinite;
  background: rgba(212, 169, 57, 0.2);
  bottom: 80px;
  height: 280px;
  right: -100px;
  width: 280px;
}

.human-shell {
  margin-inline: auto;
  width: var(--hp-shell);
}

.human-skip-link {
  left: 1rem;
  position: absolute;
  top: -100px;
  z-index: 100;
}

.human-skip-link:focus {
  background: #fff;
  border-radius: 8px;
  box-shadow: var(--hp-shadow-sm);
  color: var(--hp-primary);
  padding: 0.5rem 0.75rem;
  top: 1rem;
}

.human-header {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(16, 59, 109, 0.08);
  position: sticky;
  top: 0;
  z-index: 60;
}

.human-header__inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 82px;
}

.human-brand {
  align-items: center;
  color: var(--hp-text);
  display: inline-flex;
  gap: 0.65rem;
  text-decoration: none;
}

.human-brand__mark {
  background: linear-gradient(140deg, var(--hp-primary), #4e87c6);
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  display: inline-block;
  height: 28px;
  position: relative;
  width: 28px;
}

.human-brand__mark::after {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 9px;
  position: absolute;
  top: 9px;
  width: 8px;
}

.human-brand__text {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.human-brand__logo .custom-logo-link {
  align-items: center;
  display: inline-flex;
}

.human-brand__logo .custom-logo {
  height: 26px !important;
  max-width: 400px !important;
  object-fit: contain;
  width: auto !important;
}

.human-nav {
  align-items: center;
  display: flex;
  gap: 0.35rem;
}

.human-nav a {
  border-radius: 999px;
  color: var(--hp-text);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.human-nav a:hover {
  background: linear-gradient(
    135deg,
    rgba(16, 59, 109, 0.14),
    rgba(35, 101, 171, 0.2)
  );
  color: #0f3d72;
}

.human-nav a.human-nav__cta,
.human-nav a.human-nav__cta:hover {
  color: #fff !important;
}

.human-nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  padding: 0;
}

.human-nav-toggle__line {
  background: var(--hp-text);
  border-radius: 20px;
  display: block;
  height: 2px;
  margin: 5px 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
  width: 24px;
}

.human-hero {
  padding: clamp(2.8rem, 7vw, 6.6rem) 0 clamp(2.5rem, 6vw, 5.2rem);
  position: relative;
}

.human-hero::after {
  background: linear-gradient(
    135deg,
    rgba(16, 59, 109, 0.08) 0%,
    rgba(212, 169, 57, 0.06) 45%,
    rgba(19, 165, 127, 0.06) 100%
  );
  border-radius: 20px;
  content: "";
  height: 72%;
  position: absolute;
  right: 0;
  top: 10%;
  width: 44%;
  z-index: -1;
}

.human-hero__grid {
  align-items: center;
  display: grid;
  gap: clamp(1.4rem, 2.3vw, 2.3rem);
  grid-template-columns: 1.18fr 0.82fr;
}

.human-eyebrow {
  color: var(--hp-primary);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  margin: 0 0 0.7rem;
}

.human-hero h1 {
  color: var(--hp-text);
  font-size: clamp(2.1rem, 3.9vw, 4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

.human-hero__lead {
  color: var(--hp-muted);
  font-size: clamp(1rem, 1.4vw, 1.17rem);
  margin: 1.15rem 0 0;
  max-width: 63ch;
}

.human-hero__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.human-trust {
  border-left: 4px solid var(--hp-accent);
  margin-top: 1.35rem;
  padding-left: 0.8rem;
}

.human-trust span {
  color: var(--hp-muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.human-trust-card {
  background: linear-gradient(165deg, #ffffff, #f7fbff);
  border: 1px solid rgba(16, 59, 109, 0.12);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow-sm);
  margin-top: 1rem;
  max-width: 560px;
  padding: 1rem 1.1rem;
}

.human-trust-card__title {
  color: var(--hp-primary);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem;
}

.human-trust-card__text {
  color: var(--hp-muted);
  margin: 0;
}

.human-btn {
  background: linear-gradient(
    150deg,
    var(--hp-primary),
    var(--hp-primary-hover)
  );
  border: 1px solid transparent;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(16, 59, 109, 0.28);
  color: #fff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 700;
  gap: 0.45rem;
  justify-content: center;
  letter-spacing: 0.01em;
  min-height: 44px;
  padding: 0.7rem 1.3rem;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  animation: humanButtonPulse 3.8s ease-in-out infinite;
}

.human-btn:hover {
  box-shadow: 0 15px 34px rgba(16, 59, 109, 0.33);
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.human-btn--small {
  min-height: 40px;
  padding: 0.58rem 1rem;
}

.human-btn--ghost {
  background: linear-gradient(
    135deg,
    rgba(16, 59, 109, 0.1),
    rgba(35, 101, 171, 0.14)
  );
  border-color: rgba(16, 59, 109, 0.18);
  box-shadow: none;
  color: var(--hp-primary);
}

.human-btn--ghost:hover {
  background: rgba(16, 59, 109, 0.11);
  color: var(--hp-primary);
}

.human-btn--ghost-dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.32);
  color: #fff;
}

.human-btn--ghost-dark:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.human-hero__panel {
  display: grid;
  gap: 0.95rem;
}

.human-hero-media {
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow-sm);
  margin: 0;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.human-hero-media img {
  display: block;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  width: 100%;
}

.human-metric-card {
  background: linear-gradient(170deg, #fff, #f7fbff);
  border: 1px solid rgba(16, 59, 109, 0.09);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow-sm);
  padding: 1.2rem 1.25rem;
}

.human-metric-card__label {
  color: var(--hp-muted);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
}

.human-metric-card__value {
  color: var(--hp-primary);
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.45rem 0;
}

.human-metric-card__description {
  color: var(--hp-muted);
  margin: 0;
}

.human-section {
  padding: clamp(3rem, 5vw, 4.8rem) 0;
  scroll-margin-top: 16vh;
}

.human-section--light {
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.96),
      rgba(248, 251, 255, 0.98)
    ),
    var(--hp-surface);
  border-top: 1px solid rgba(16, 59, 109, 0.08);
  border-bottom: 1px solid rgba(16, 59, 109, 0.08);
}

.human-section--visual-band {
  padding-top: 0;
}

.human-visual-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.human-visual-strip figure {
  border-radius: 16px;
  box-shadow: var(--hp-shadow-sm);
  margin: 0;
  min-height: 220px;
  overflow: hidden;
  position: relative;
}

.human-visual-strip figure::after {
  background: linear-gradient(
    180deg,
    rgba(16, 59, 109, 0.08),
    rgba(16, 59, 109, 0.3)
  );
  content: "";
  inset: 0;
  position: absolute;
}

.human-visual-strip img {
  animation: humanSlowZoom 9s ease-in-out infinite alternate;
  display: block;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  width: 100%;
}

.human-section__heading {
  margin-bottom: 1.4rem;
  max-width: 70ch;
}

.human-section__heading h2 {
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
}

#servicios .human-card-grid {
  grid-template-columns: repeat(2, minmax(260px, 380px));
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
}

.human-about-grid {
  align-items: center;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr 0.9fr;
}

.human-about-banner {
  align-items: center;
  background-position: center;
  background-size: cover;
  border-radius: var(--hp-radius);
  display: grid;
  min-height: 340px;
  overflow: hidden;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  position: relative;
}

.human-about-banner::before {
  background: rgba(8, 21, 40, 0.5);
  content: "";
  inset: 0;
  position: absolute;
}

.human-about-banner__content {
  margin: 0 auto;
  max-width: 820px;
  position: relative;
  text-align: center;
  z-index: 2;
}

.human-about-banner__content .human-eyebrow,
.human-about-banner__content h2,
.human-about-banner__content p {
  color: #fff;
}

.human-about-media {
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow);
  margin: 0;
  overflow: hidden;
  position: relative;
}

.human-about-media::after {
  background: linear-gradient(
    180deg,
    rgba(16, 59, 109, 0.06),
    rgba(16, 59, 109, 0.3)
  );
  content: "";
  inset: 0;
  position: absolute;
}

.human-about-media img {
  display: block;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
  transform: scale(1.03);
  transition: transform 0.5s ease;
  width: 100%;
}

.human-about-media:hover img {
  transform: scale(1.09);
}

.human-card-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.human-card {
  background: linear-gradient(180deg, #fff, var(--hp-surface-strong));
  border: 0;
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow-sm);
  min-height: 100%;
  padding: 1.3rem;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    filter 0.22s ease;
  overflow: hidden;
  position: relative;
}

.human-card:hover {
  box-shadow: var(--hp-shadow);
  filter: saturate(1.03);
  transform: translateY(-4px);
}

.human-card::before {
  animation: humanCardAuraSpin 6s linear infinite;
  background: conic-gradient(
    from 0deg,
    rgba(22, 75, 135, 0.14),
    rgba(35, 101, 171, 0.52),
    rgba(59, 130, 246, 0.4),
    rgba(22, 75, 135, 0.14)
  );
  content: "";
  filter: blur(26px);
  height: 170%;
  left: 25%;
  opacity: 0.9;
  pointer-events: none;
  position: absolute;
  top: -35%;
  width: 50%;
  z-index: 0;
}

.human-card::after {
  background:
    linear-gradient(
        110deg,
        transparent 35%,
        rgba(255, 255, 255, 0.65) 50%,
        transparent 65%
      )
      no-repeat,
    linear-gradient(180deg, #ffffff, var(--hp-surface-strong));
  background-position:
    220% 0,
    0 0;
  background-size:
    220% 100%,
    100% 100%;
  border: 1px solid var(--hp-border);
  border-radius: calc(var(--hp-radius) - 2px);
  content: "";
  inset: 2px;
  position: absolute;
  z-index: 1;
}

.human-card:hover::after {
  animation: humanCardShineSweep 0.95s ease;
}

.human-card > * {
  position: relative;
  z-index: 2;
}

.human-metric-card,
.human-step,
.human-result,
.human-testimonial {
  border: 0;
  overflow: hidden;
  position: relative;
}

.human-metric-card::before,
.human-step::before,
.human-result::before,
.human-testimonial::before {
  animation: humanCardAuraSpin 6.5s linear infinite;
  background: conic-gradient(
    from 0deg,
    rgba(22, 75, 135, 0.1),
    rgba(35, 101, 171, 0.45),
    rgba(59, 130, 246, 0.28),
    rgba(22, 75, 135, 0.1)
  );
  content: "";
  filter: blur(24px);
  height: 170%;
  left: 25%;
  pointer-events: none;
  position: absolute;
  top: -35%;
  width: 50%;
  z-index: 0;
}

.human-metric-card::after,
.human-step::after,
.human-result::after,
.human-testimonial::after {
  background: inherit;
  border: 1px solid var(--hp-border);
  border-radius: calc(var(--hp-radius) - 2px);
  content: "";
  inset: 2px;
  position: absolute;
  z-index: 1;
}

.human-metric-card > *,
.human-step > *,
.human-result > *,
.human-testimonial > * {
  position: relative;
  z-index: 2;
}

/* Keep results cards with same animated aura as other cards */
.human-result::before {
  animation-duration: 5.2s;
  filter: blur(26px);
  opacity: 0.95;
}

.human-card h3 {
  font-size: 1.13rem;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.human-card img {
  border-radius: 12px;
  display: block;
  height: 160px;
  margin-bottom: 0.85rem;
  object-fit: cover;
  width: 100%;
}

.human-card p {
  color: var(--hp-muted);
  margin: 0;
}

.human-steps {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.human-work-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.human-work-card {
  align-items: flex-end;
  background-position: center;
  background-size: cover;
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow-sm);
  display: flex;
  min-height: 240px;
  overflow: hidden;
  padding: 1rem;
  position: relative;
}

.human-work-card::before {
  background: linear-gradient(
    180deg,
    rgba(11, 18, 33, 0.14),
    rgba(11, 18, 33, 0.72)
  );
  content: "";
  inset: 0;
  position: absolute;
}

.human-work-card span {
  color: #fff;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  position: relative;
  z-index: 1;
}

.human-work-card--one {
  background-image: url("http://human.test/wp-content/uploads/2019/11/poligrafia_1.jpg");
}

.human-work-card--two {
  background-image: url("http://human.test/wp-content/uploads/2019/11/business-3152586_1280zzz-2.jpg");
}

.human-work-card--three {
  background-image: url("http://human.test/wp-content/uploads/2019/11/1-1.jpg");
}

.human-step {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow-sm);
  padding: 1.2rem;
}

.human-step__number {
  color: var(--hp-accent);
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.human-step h3 {
  margin: 0;
}

.human-step p {
  color: var(--hp-muted);
  margin: 0.45rem 0 0;
}

.human-results {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.human-result {
  background: #fff;
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow-sm);
  padding: 1.3rem 1.1rem;
  text-align: center;
}

.human-result__value {
  color: var(--hp-primary);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0;
}

.human-result__label {
  color: var(--hp-muted);
  font-weight: 600;
  margin: 0.35rem 0 0;
}

.human-testimonials {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.human-testimonial {
  background: linear-gradient(165deg, #fff, #f8fbff);
  border: 1px solid var(--hp-border);
  border-radius: var(--hp-radius);
  box-shadow: var(--hp-shadow-sm);
  margin: 0;
  padding: 1.3rem 1.3rem 1.2rem;
}

.human-testimonial blockquote {
  color: #1f3554;
  font-size: 1.04rem;
  font-style: normal;
  margin: 0;
}

.human-testimonial figcaption {
  color: var(--hp-muted);
  font-size: 0.91rem;
  font-weight: 600;
  margin-top: 0.8rem;
}

.human-section--cta {
  padding-top: 0;
}

.human-cta {
  align-items: center;
  background: linear-gradient(150deg, #0d2c52, #17487f 55%, #2365ab);
  border-radius: var(--hp-radius-lg);
  box-shadow: var(--hp-shadow);
  color: #fff;
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1.2fr 0.8fr;
  padding: clamp(1.35rem, 3vw, 2.3rem);
}

.human-cta .human-eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.human-cta h2 {
  color: #fff;
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0;
}

.human-cta p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0.65rem 0 0;
}

.human-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  justify-content: flex-end;
}

.human-contact-form-wrap {
  width: 100%;
}

.human-contact-form {
  display: grid;
  gap: 0.55rem;
}

.human-contact-form label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 600;
}

.human-contact-form input,
.human-contact-form textarea {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  color: #0d1628;
  font: inherit;
  padding: 0.62rem 0.72rem;
  width: 100%;
}

.human-contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.human-contact-form .human-btn {
  margin-top: 0.35rem;
}

.human-form-alert {
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  margin: 0 0 0.8rem;
  padding: 0.55rem 0.7rem;
}

.human-form-alert--success {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.45);
  color: #d8ffe7;
}

.human-form-alert--error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.45);
  color: #ffe0e0;
}

.human-map {
  margin-top: 1rem;
}

.human-map--section {
  margin-top: 0.25rem;
}

.human-map iframe {
  border: 0;
  border-radius: 12px;
  display: block;
  height: 320px;
  width: 100%;
}

.human-map__link {
  color: rgba(255, 255, 255, 0.92);
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: 0.5rem;
  text-decoration: underline;
}

.human-footer {
  background: #0b1221;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2.1rem;
  padding: 1.7rem 0;
}

.human-footer__inner {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.human-footer p {
  margin: 0.3rem 0 0;
}

.human-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.human-footer__links a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 0.45rem 0.7rem;
  text-decoration: none;
}

.human-footer__links a:hover {
  background: rgba(255, 255, 255, 0.12);
}

.human-reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.97);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

.human-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.human-hero__copy.human-reveal {
  transform: translateX(-44px) translateY(16px) scale(0.96);
}

.human-hero__panel.human-reveal {
  transform: translateX(44px) translateY(16px) scale(0.96);
}

.human-section__heading.human-reveal {
  transform: translateY(-28px) scale(0.97);
}

#servicios .human-card-grid .human-card.human-reveal:nth-child(odd) {
  transform: translateX(-90px) translateY(24px) rotate(-2deg) scale(0.9);
}

#servicios .human-card-grid .human-card.human-reveal:nth-child(even) {
  transform: translateX(90px) translateY(24px) rotate(2deg) scale(0.9);
}

#servicios .human-card-grid .human-card.human-reveal.is-visible {
  animation:
    humanCardSlideInLeft 0.85s cubic-bezier(0.15, 0.88, 0.22, 1) both,
    humanShakeAttention 1.35s ease-in-out 1.1s infinite both;
}

#servicios
  .human-card-grid
  .human-card.human-reveal:nth-child(even).is-visible {
  animation:
    humanCardSlideInRight 0.85s cubic-bezier(0.15, 0.88, 0.22, 1) both,
    humanShakeAttention 1.35s ease-in-out 1.1s infinite both;
}

.human-about-banner.human-reveal.is-visible {
  animation:
    humanCardSlideInLeft 0.9s cubic-bezier(0.15, 0.88, 0.22, 1) both,
    humanShakeAttentionSoft 1.8s ease-in-out 1.2s infinite both;
}

.human-cta.human-reveal.is-visible {
  animation:
    humanCardSlideInRight 0.95s cubic-bezier(0.15, 0.88, 0.22, 1) both,
    humanShakeAttentionSoft 1.8s ease-in-out 1.2s infinite both;
}

.human-result.human-reveal.is-visible,
.human-testimonial.human-reveal.is-visible,
.human-step.human-reveal.is-visible {
  animation: humanPopIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.human-reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.human-reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.human-reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

@keyframes humanShine {
  100% {
    transform: translateX(120%);
  }
}

@keyframes humanCardBounceIn {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.88);
  }
  58% {
    opacity: 1;
    transform: translateY(-10px) scale(1.03);
  }
  78% {
    transform: translateY(4px) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes humanCardSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-110px) translateY(22px) rotate(-3deg) scale(0.88);
  }
  75% {
    opacity: 1;
    transform: translateX(8px) translateY(-2px) rotate(0.6deg) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes humanCardSlideInRight {
  0% {
    opacity: 0;
    transform: translateX(110px) translateY(22px) rotate(3deg) scale(0.88);
  }
  75% {
    opacity: 1;
    transform: translateX(-8px) translateY(-2px) rotate(-0.6deg) scale(1.01);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes humanShakeAttention {
  0%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
  20% {
    transform: translateX(-3px) rotate(-0.35deg);
  }
  40% {
    transform: translateX(3px) rotate(0.35deg);
  }
  60% {
    transform: translateX(-2px) rotate(-0.2deg);
  }
  80% {
    transform: translateX(2px) rotate(0.2deg);
  }
}

@keyframes humanShakeAttentionSoft {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  50% {
    transform: translateX(2px);
  }
  75% {
    transform: translateX(-1px);
  }
}

@keyframes humanPopIn {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.92);
  }
  70% {
    opacity: 1;
    transform: translateY(-3px) scale(1.015);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes humanCardFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes humanButtonPulse {
  0%,
  100% {
    box-shadow: 0 12px 28px rgba(16, 59, 109, 0.28);
  }
  50% {
    box-shadow: 0 17px 34px rgba(16, 59, 109, 0.36);
  }
}

@keyframes humanCardAuraSpin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes humanCardShineSweep {
  0% {
    background-position:
      220% 0,
      0 0;
  }
  100% {
    background-position:
      -140% 0,
      0 0;
  }
}

@keyframes humanFloatA {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -16px);
  }
}

@keyframes humanFloatB {
  0%,
  100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-18px, 16px);
  }
}

@keyframes humanOrbOne {
  0%,
  100% {
    opacity: 0.92;
    scale: 1;
  }
  50% {
    opacity: 1;
    scale: 1.06;
  }
}

@keyframes humanOrbTwo {
  0%,
  100% {
    opacity: 0.82;
    scale: 1;
  }
  50% {
    opacity: 1;
    scale: 0.94;
  }
}

@keyframes humanOrbThree {
  0%,
  100% {
    opacity: 0.78;
    scale: 1;
  }
  50% {
    opacity: 1;
    scale: 1.09;
  }
}

@keyframes humanGridMove {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(34px, 34px, 0);
  }
}

@keyframes humanSlowZoom {
  0% {
    transform: scale(1.02);
  }
  100% {
    transform: scale(1.08);
  }
}

@media (max-width: 980px) {
  .human-nav-toggle {
    display: inline-block;
  }

  .human-nav {
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(16, 59, 109, 0.12);
    border-radius: 16px;
    box-shadow: var(--hp-shadow-sm);
    display: grid;
    gap: 0.25rem;
    left: 1rem;
    opacity: 0;
    padding: 0.55rem;
    pointer-events: none;
    position: absolute;
    right: 1rem;
    top: 76px;
    transform: translateY(-8px);
    transition:
      opacity 0.24s ease,
      transform 0.24s ease;
  }

  .human-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .human-hero__grid,
  .human-about-grid,
  .human-card-grid,
  .human-visual-strip,
  .human-work-grid,
  .human-steps,
  .human-results,
  .human-testimonials,
  .human-cta {
    grid-template-columns: 1fr;
  }

  .human-cta__actions {
    justify-content: flex-start;
  }

  .human-hero::after {
    left: 0;
    top: 6%;
    width: 100%;
  }

  .human-hero__copy,
  .human-hero__panel {
    margin-inline: auto;
    max-width: 680px;
    width: 100%;
  }

  .human-hero__copy {
    text-align: center;
  }

  .human-hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .human-trust {
    border-left: 0;
    border-top: 4px solid var(--hp-accent);
    margin-left: auto;
    margin-right: auto;
    max-width: 520px;
    padding-left: 0;
    padding-top: 0.65rem;
    text-align: center;
  }

  .human-trust-card {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  /* Avoid side-offset reveal transforms in mobile hero */
  .human-hero__copy.human-reveal,
  .human-hero__panel.human-reveal {
    transform: translateY(20px) scale(0.98);
  }

  #servicios .human-card-grid .human-card.human-reveal:nth-child(odd),
  #servicios .human-card-grid .human-card.human-reveal:nth-child(even) {
    transform: translateY(20px) scale(0.98);
  }

  #servicios .human-card-grid .human-card.human-reveal.is-visible,
  #servicios
    .human-card-grid
    .human-card.human-reveal:nth-child(even).is-visible {
    animation:
      humanCardBounceIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) both,
      humanShakeAttentionSoft 1.9s ease-in-out 1s infinite both;
  }

  .human-metric-card {
    text-align: center;
  }

  /* Stack service cards in a single column on mobile/tablet */
  #servicios .human-card-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (max-width: 640px) {
  :root {
    --hp-shell: min(1160px, calc(100% - 1.2rem));
  }

  .human-header__inner {
    min-height: 70px;
  }

  .human-hero {
    padding-top: 2.1rem;
  }

  .human-btn {
    width: 100%;
  }

  .human-hero__actions {
    align-items: stretch;
  }

  .human-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .human-ambient__orb,
  .human-ambient__grid,
  .human-btn,
  .human-card,
  .human-step,
  .human-result,
  .human-testimonial {
    animation: none !important;
    transform: none !important;
    transition: none !important;
  }
}
